LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Shorewall firewall/router on FC5 not adding default route at boot (https://www.linuxquestions.org/questions/linux-networking-3/shorewall-firewall-router-on-fc5-not-adding-default-route-at-boot-564675/)

mbradshaw93 06-26-2007 04:28 PM

Shorewall firewall/router on FC5 not adding default route at boot
 
Hello,
I'm hoping someone may have an idea about this situation. I have a server running Fedora Core 5, Kernel 2.6.16 that functions as a router and firewall running shorewall. It has an external static IP address on one network interface, and an internal IP as the gateway on another network interface. The problem we're having is that whenever the server is rebooted, the default route is not added to the routing table. Once that is added manually via the route command, everything works as expected.

ifconfig -a shows (ext. ip's altered):


eth0 Link encap:Ethernet HWaddr 00:0F:EA:7D:A9:F7
inet addr:111.222.333.94 Bcast:111.222.333.95 Mask:255.255.255.252
inet6 addr: fe80::20f:eaff:fe7d:a9f7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4185312 errors:0 dropped:0 overruns:0 frame:0
TX packets:4890469 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:934793380 (891.4 MiB) TX bytes:5870530043 (5.4 GiB)
Interrupt:20

eth1 Link encap:Ethernet HWaddr 00:0F:EA:7D:A9:F6
inet addr:10.10.0.1 Bcast:10.10.0.255 Mask:255.255.255.0
inet6 addr: fe80::20f:eaff:fe7d:a9f6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4872477 errors:0 dropped:0 overruns:0 frame:0
TX packets:3879165 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5839188549 (5.4 GiB) TX bytes:541447709 (516.3 MiB)
Interrupt:18 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:65146 errors:0 dropped:0 overruns:0 frame:0
TX packets:65146 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11243198 (10.7 MiB) TX bytes:11243198 (10.7 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Displaying the routing table shows:

255.255.255.255 * 255.255.255.255 UH 0 0 0 eth1
111.222.333.92 * 255.255.255.252 U 0 0 0 eth0
10.10.0.0 * 255.255.255.0 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default 111.222.333.93 0.0.0.0 UG 0 0 0 eth0

"111.222.333.93" is the IP address of the dsl modem that connects to the external interface of the router and is also static.

We are using Shorewall ver. 3.0.6.

Please let me know if I can provide more information. Any ideas will be greatly appreciated.

Thanks!
Michael


All times are GMT -5. The time now is 03:45 PM.