This was easy. Edit the file /etc/defaultrouter to contain the name or
IP address of the gateway. This will set it from boot time on. To reset
immediately use the 'route' command.
# route delete net default <oldgateway>
# route add net default <newgateway>
Please check the 'route' man page for specifics.
Someone mentioned that it might be a good idea to do 'route -f' to flush
the routing table before deleting the old default gateway entry and adding
a new one.
I have succeeded in getting connectivity by applying the second solution
(using route). I have also edited the /etc/defaultrouter file to
contain the correct gateway but have yet to reboot the machine so I
cannot say or certain yet if that will work.
Many thanks to the following:
Eckhard.Rueggeberg@ts.go.dlr.de (Eckhard Rueggeberg)
lmj@fantome.sis.pasteur.fr (Lou Jones)
Markus Storm <storm@uni-paderborn.de>
mauro@rio.esm.vt.edu (Mauro Jorge Atalla)
grevemes@VTC.TACOM.Army.Mil (Steven Grevemeyer)
Ted Nolan SRI Ft Gordon <ted@ags.ga.erg.sri.com>
john@oncology.uthscsa.edu (John Justin Hough)
kumeda@netcom.com (ANDY KUMEDA)
Francis Hsu <francis@red-branch.MIT.EDU>
mgd@bailey.com (Michael G. DeLooze)
*************************************************************************
* Be vague... be very vague. | mcp4@columbia.edu *
* "Carpe Cibum" | Marco Pineda *
*************************************************************************
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:05 CDT