Re: 3 nics in linux box (iptables)
From: Jeremy (gtg120d_at_mail.gatech.edu)
Date: 04/28/05
- Next message: Michael Heiming: "Re: RedHat Linux - ssh - screen display problem"
- Previous message: Alo: "Re: RedHat Linux - ssh - screen display problem"
- In reply to: Jean-Francois Stenuit: "Re: 3 nics in linux box (iptables)"
- Next in thread: Jean-Francois Stenuit: "Re: 3 nics in linux box (iptables)"
- Reply: Jean-Francois Stenuit: "Re: 3 nics in linux box (iptables)"
- Reply: Allen McIntosh: "Re: 3 nics in linux box (iptables)"
- Reply: Moe Trin: "Re: 3 nics in linux box (iptables)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 28 Apr 2005 01:54:54 -0400
Jean-Francois Stenuit wrote:
> On Tue, 26 Apr 2005, Jeremy wrote:
>
>
>>Hello,
>>
>>I'm sure this has to be easy and I've been looking everywhere but
>>everything I've tried has come to no avail.
>>
>>I have a Fedora core 3 (2.6.11-1.14_FC3) machine with 3 nics (one
>>getting the internet(eth0) and the other two going out to two different
>>machines--a PC(eth1) and an XBOX(eth2)).
>>
>>Only eth1 gets internet--so if I put the PC or XBOX there each works
>>fine. But having either one hooked up to eth1 and the other hooked up
>>to eth2--eth2 does not get internet. The following are my files and
>>setups, hopefully I'm just doing something blantanly stupid.
>
>
> <snip>
>
>>------------------------------------------
>>eth1 config (on linux machine)
>>------------------------------------------
>>Address: 192.168.0.3
>>Subnet mask: 255.255.255.0
>>Default gateway address: $IP_OF_LINUX_BOX
>>
>>------------------------------------------
>>eth2 config (on linux machine)
>>------------------------------------------
>>Address: 192.168.10.3
>>Subnet mask: 255.255.255.0
>>Default gateway address: $IP_OF_LINUX_BOX
>
>
> First thing that come in mind : you don't need default gateway there. In
> any situation, you should only have one default gateway.
>
> Does 'netstat -rn' show only one '0.0.0.0' line ? If it displays more than
> one '0.0.0.0' destination, you're asking for trouble.
>
> It's quite unusual to find two NAT rules in an IPMASQ table. I personnaly
> never tried this. If the above does not solve your problem, drop me a note
> and I'll check the behaviour of the kernel in this particular case.
>
Thanks for responding.
Here's the output of netstat -rn
--------------------------------
Kernel IP routing table
Destination Gateway Genmask Flags MSS W irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
128.61.me.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth2
0.0.0.0 128.61.me.1 0.0.0.0 UG 0 0 0 eth0
I'm not sure where the 4th entry (169.254.0.0) is from--that's the only
wierd looking thing to me. Do I need to remove it?
Thanks,
Jeremy
- Next message: Michael Heiming: "Re: RedHat Linux - ssh - screen display problem"
- Previous message: Alo: "Re: RedHat Linux - ssh - screen display problem"
- In reply to: Jean-Francois Stenuit: "Re: 3 nics in linux box (iptables)"
- Next in thread: Jean-Francois Stenuit: "Re: 3 nics in linux box (iptables)"
- Reply: Jean-Francois Stenuit: "Re: 3 nics in linux box (iptables)"
- Reply: Allen McIntosh: "Re: 3 nics in linux box (iptables)"
- Reply: Moe Trin: "Re: 3 nics in linux box (iptables)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|