![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Solaris 10 Networking | Phobos | SUN Solaris | 5 | 07-23-2008 03:43 AM |
| Solaris zone routing table | 23patrick | SUN Solaris | 4 | 06-30-2008 03:41 PM |
| solaris networking | Farbegas | SUN Solaris | 3 | 10-04-2007 04:00 AM |
| Routing problem of Solaris | milo | SUN Solaris | 2 | 08-07-2007 04:04 AM |
| routing problem in solaris | kyhah | IP Networking | 3 | 04-09-2006 11:44 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
solaris 8 networking routing
hi all,
how do i make sure that the new routing should take effect on the os memory right away? 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? I can't remember well right now but i've done this before, it's something to do with rc.tcpip and rc.net or rcnet... i forget it already. Thanks in advance. |
| Forum Sponsor | ||
|
|
|
|||
|
Read out manual pages
route add default A.B.C.D should works. As soon as you fire this command, it immediately comes into effect. No need to bother any command for immediate effect as these commands talk directly to kernel over PF_ROUTE socket (rtnetlink in Linux). If you want to preserve this setting on reboot then simply add entry into "/etc/defaultrouter" (Solaris) or "/etc/sysconfig/network" (RedHat) file
|
|||
| Google The UNIX and Linux Forums |