LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-26-2007, 04:28 PM   #1
mbradshaw93
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shorewall - adding a router in the local zone skellert Linux - Networking 2 12-06-2006 10:08 PM
dhcpcd not adding default route cpsully69 Linux - Networking 2 09-07-2004 09:09 PM
Route to subnet exists but I get "Network unreachable" when adding default route fciuffani Linux - Networking 4 08-18-2004 02:11 PM
Problem with adding default route... Grim Reaper Linux - Networking 1 02-22-2003 07:29 AM
Adding default route on startup? WeNdeL Linux - Newbie 2 01-08-2003 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration