[CLUG] quick question:
Donncha O Caoimh
donncha.ocaoimh at tradesignals.com
Tue Dec 12 13:17:32 GMT 2000
type /sbin/route -n and your default gateway will most likely be on the
last line.
To restart networking..
/etc/rc.d/init.d/network restart
Run the route command again to see if anything changes.
If you want to restart networking on a foreign machine through
telnet/ssh then do
nohup /etc/rc.d/init.d/network restart &
and you won't be logged out :)
take a look in /etc/sysconfig/network-scripts/ I think for where it's
stored. There are appropriately named files in there. (eth0-cfg,
eth1-cfg, ppp0-cfg, etc.)
Donncha.
Ruairi Roddy wrote:
>
> I'm obviously doing something stupid, but if my RH6.2 box can ping
> everything in its subnet, but can't ping anything on the internet, then the
> default gateway is not set.
> However, it does appear to be set in linuxconf. So I don't trust linuxconf
> any more.
> Where is this information normally stored, so I can edit the file manually,
> and what should an entry look like?
> What service should I stop and restart to make sure that the new settings
> are used?
More information about the Cork
mailing list