How to persistently remove default gateway

John DeCarlo johndecarlo at gmail.com
Mon Apr 4 14:20:50 UTC 2005


On Apr 4, 2005 6:48 AM, Jaime <re2824 at safe-mail.net> wrote:
> Can anyone point out the recommended way to remove the default gateway
> from my routing table? I'd also like this removal to persist across
> reboots. I've tried using Gnome's "Network settings" application
> ("network-admin") but I can't work out how to use this app to remove the
> default gateway (nor can I work out how to get *any* changes I make
> using network-admin to persist after a reboot).

I think we need a little more information.

If you are using DHCP, you will need to run a script to remove the
default-gateway sent to you by your DCHP server.

If you are using a static IP, you should be able to just blank out the
Gateway field for your interface in System -> Administration ->
Networking

If you have tried all these without luck, more details would be helpful.

-- 
John DeCarlo, My Views Are My Own




More information about the ubuntu-users mailing list