Nov 4, 2005 #1 BIS Technical User Joined Jun 1, 2001 Messages 1,897 Location NL Hallo All, Here is a very silly question probably. If I make changes to the defaultroute as configured in /etc/hosts, does this take effect immediately, or would I need to restart the network services?
Hallo All, Here is a very silly question probably. If I make changes to the defaultroute as configured in /etc/hosts, does this take effect immediately, or would I need to restart the network services?
Nov 4, 2005 1 #2 Annihilannic MIS Joined Jun 22, 2000 Messages 6,317 Location AU /etc/hosts? Did you mean /etc/defaultrourter, as per the subject line? No, it won't take effect immediately. The simplest thing would be to route delete default and then route add default `cat /etc/defaultrouter`. Annihilannic. Upvote 0 Downvote
/etc/hosts? Did you mean /etc/defaultrourter, as per the subject line? No, it won't take effect immediately. The simplest thing would be to route delete default and then route add default `cat /etc/defaultrouter`. Annihilannic.
Nov 4, 2005 Thread starter #3 BIS Technical User Joined Jun 1, 2001 Messages 1,897 Location NL Thanks, /etc/defaultrouter contains an entry 'defaultroute' which is defined in /etc/hosts - don't ask me why, that's how this box was set up. I guess I can just delete it, then route add default x.x.x.x ? but this would not survive a reboot. Upvote 0 Downvote
Thanks, /etc/defaultrouter contains an entry 'defaultroute' which is defined in /etc/hosts - don't ask me why, that's how this box was set up. I guess I can just delete it, then route add default x.x.x.x ? but this would not survive a reboot.
Nov 4, 2005 #4 Annihilannic MIS Joined Jun 22, 2000 Messages 6,317 Location AU Ah, I see. Correct, so just update /etc/hosts with the new IP address, then use the commands I mentioned and the change should be permanent. Annihilannic. Upvote 0 Downvote
Ah, I see. Correct, so just update /etc/hosts with the new IP address, then use the commands I mentioned and the change should be permanent. Annihilannic.
Nov 4, 2005 Thread starter #5 BIS Technical User Joined Jun 1, 2001 Messages 1,897 Location NL Thanks Annihilannic, sometimes it's the simplest of things that get you confused. Your help is very much appreciated. Upvote 0 Downvote
Thanks Annihilannic, sometimes it's the simplest of things that get you confused. Your help is very much appreciated.
Nov 4, 2005 #6 kHz MIS Joined Dec 6, 2004 Messages 1,359 Location US to change the default you can also do: route change default <IP> Upvote 0 Downvote