How to make the default gateway permanent after restart?

Deepak Seshadri dseshadri at broadbandmaritime.com
Mon Sep 20 17:17:28 CEST 2004


Hello everybody,

 

My Linux firewall (Fedora Core 2 & kernel 2.6.8.1) is configured the
following way:

Eth0 - WAN

Eth1 - LAN

Eth2 - DMZ

 

With the above setup my default gateway is Eth0. For some reason, when the
machine boots up it takes Eth1 for default gateway. This not only messes up
the Internet connection but also my firewall rules. I have to then manually
delete that entry and add Eth0 as the default gateway. Could someone please
let me know how to make Eth0 as the permanent default gateway?

 

Thank you,

Deepak Seshadri

 



More information about the netfilter mailing list