[Sunhelp] Adding a route...
Dale Ghent
sunhelp at sunhelp.org
Thu Nov 2 09:54:58 CST 2000
On Thu, 2 Nov 2000, Kalusniak, Jeff wrote:
| I'm having a bit of a problem.....
|
| I have a SUN box with an hme card, ip=10.4.0.20
|
| I installed a qfe card ip=999.999.999.26 and I now want the default route to
| go to 999.999.999.1
|
| I can't seem to get that to work. Can someone give me the correct route add
| statement?
Although I'm sure you're using "999.999.999.26" as an example, you do know
that your octets cant be > 255, right? :)
To change the default route, delete any current one (netstat -rn; route
delete default <ip> )
Then add the new default route:
route add default 999.999.999.1 ; echo '999.999.999.1' >
/etc/defaultrouter
/dale
More information about the SunHELP
mailing list