![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Network Solaris | mass1123 | SUN Solaris | 2 | 06-01-2006 01:47 AM |
| Getting solaris on my network | xtremepancakez | SUN Solaris | 1 | 04-30-2006 11:53 PM |
| Getting a solaris x86 box on my network. | possuman72 | SUN Solaris | 1 | 07-17-2005 04:28 PM |
| network on solaris | csaunders | SUN Solaris | 6 | 07-29-2004 12:51 PM |
| About Sun Solaris Network | q30 | UNIX for Advanced & Expert Users | 2 | 12-02-2002 08:57 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
solaris 8 network 2
hi all,
how do i make sure that the new routing should take effect on the os memory? what should i run after i add all the new "route add ....". I have an example below: bash-2.03# netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- 192.168.2.0 192.168.2.50 U 1 7 hme0 224.0.0.0 192.168.2.50 U 1 0 hme0 127.0.0.1 127.0.0.1 UH 1 12 lo0 I need to add a default route with 192.168.2.167 and it should take effect on the os right away w/o reboot. How do I do that? Thanks in advance. |
|
||||
|
use route add command for the default gateway.
Login as root and fire: #route add default 192.168.2.167 The ouput will be: #add net default: gateway 192.168.2.167 Then do netstat -rn as usual and also try to ping thru the gateway out to some host. Make the changes permanent so that they are available after booting too. #vi /etc/defaultrouter AND append IP address: 192.168.2.167 |
|
||||
|
There is a rc2 script (something like S69route) that will help to keep it consistent across reboots
The only way is to use the routeadd command, edit defaultrouter and add an entry in the rc startup script. Stop/start the network daemon.. (it should not take long) You can do it off peak hours as there will be a lag in the network similarly when you change the speed/duplex settings only. |
![]() |
| Bookmarks |
| Tags |
| solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|