Default Gateway Modification

All,

Request advice on how to modify a systems default gateway setting.

I've used 'sys-unconfig' to modify the systems IP address and subnet mask but it doesn't cater for changing the systems default gateway.

At the moment I'm using the command "route add net default <IP Address>" but these settings are lost after reboot. Any ideas on how to impliment a permanant change?

Cheers,

Adam...

[444 byte] By [Sysman001] at [2007-11-25 23:36:07]
# 1
use the file /etc/deafultrouter to put the destination ip address.
AlanRice at 2007-7-5 18:20:29 > top of Java-index,General,Talk to the Sysop...
# 2
i have the same problem but does not have that file under etc?do i must create it?i have Solaris 10thanks
netsonicc at 2007-7-5 18:20:29 > top of Java-index,General,Talk to the Sysop...
# 3
> do i must create it?> > i have Solaris 10> yep , vi /etc/defaultrouter and just enter the ip address.alan
alan_pae at 2007-7-5 18:20:29 > top of Java-index,General,Talk to the Sysop...