Linux Routing Firewall Help please !!

I am trying to configure a firewall with 2 nics.

eth0      Link encap:Ethernet  HWaddr 00:15:E9:FA:43:6E
          inet addr:209.194.80.82  Bcast:209.194.80.87  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6127 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5583 errors:0 dropped:0 overruns:0 carrier:0
          collisions:44 txqueuelen:100
          RX bytes:3368292 (3.2 Mb)  TX bytes:725801 (708.7 Kb)
          Interrupt:11 Base address:0xd000
 
eth1      Link encap:Ethernet  HWaddr 00:04:5A:7A:E4:48
          inet addr:10.1.1.1  Bcast:10.1.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3408 errors:0 dropped:0 overruns:0 frame:0
          TX packets:737 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:334099 (326.2 Kb)  TX bytes:53127 (51.8 Kb)
          Interrupt:10 Base address:0x5c00
 
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:22347 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22347 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1528193 (1.4 Mb)  TX bytes:1528193 (1.4 Mb)


if I disable eth1 then I can access the internet and ping works all the way around. But when I enable eth1 for the internal network I get the following

[root@firewall root]# ping 209.194.80.82
PING 209.194.80.82 (209.194.80.82) 56(84) bytes of data.
64 bytes from 209.194.80.82: icmp_seq=1 ttl=64 time=0.039 ms
 
[root@firewall root]# ping 209.194.80.81
PING 209.194.80.81 (209.194.80.81) 56(84) bytes of data.
64 bytes from 209.194.80.81: icmp_seq=1 ttl=255 time=0.818 ms
 
[root@firewall root]# ping 209.194.80.61
PING 209.194.80.61 (209.194.80.61) 56(84) bytes of data.
From 10.1.1.1 icmp_seq=1 Destination Host Unreachable
 
[root@firewall root]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
209.194.80.80   0.0.0.0         255.255.255.248 U     0      0        0 eth0
10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         10.1.1.254      0.0.0.0         UG    0      0        0 eth1

According to the documentation I have read this set up should work and I am at a loss for what to do next.
Any idea's?  
LVL 1
MarkWPAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cheesygit182Commented:
"inet addr:10.1.1.1  Bcast:10.1.1.255  Mask:255.255.255.0"
That's your problem. Your usage of the kernels routing tables is perfect, but one of the NICs isn't configured correctly. Test them individually and paste the results of ifconfig here, for each.

~cheesygit182
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MarkWPAuthor Commented:
I had a gateway entered on both nics
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.