Re: 2 servers, 4 NICs, 1 router/switch
--- Pablo Andreone <pabloandreone@gmail.com> wrote:
> Hi, I have this configuration:
> 2 servers each one with two NICs, all of them connected to a the same
> router with 5 switched ports.
>
> 1st. server:
> eth0 = 10.0.0.24/255.255.255.0
> eth1 = 192.168.0.24/255.255.255.0
>
> 2nd. server:
> eth0 = 10.0.0.25/255.255.255.0
> eth1 = 192.168.0.25/255.255.255.0
>
> Router/Switch:
> address: 192.168.0.1
>
> I can ping (another PC) 192.168.0.3, from 1st, and 2nd. and the ping
> goes through the interface that starts with 192.... but ...
>
> ... when I try to ping from 1st. server to 10.0.0.25 I don't get any
> response, and the same happens when I try to ping from 2nd. server to
> 10.0.0.24
>
This because thay are on diffrent *physical* subnetorks. You must
configure your router to do one of bridging, proxy-arp or you must setup
routing correctly on your servers.
Try connecting both eth0s together using a cross-over cable. :)
> I am pretty sure that I am doing something wrong ... but I'm a newbie
> and can't tell what it is.
>
> route command result in 1st. server:
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 10.0.0.0 * 255.255.255.0 U 0 0 0
> eth0
> localnet * 255.255.255.0 U 0 0 0
> eth1
> default 192.168.0.1 0.0.0.0 UG 0 0 0
> eth1
>
> route command result in 2nd. server:
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 10.0.0.0 * 255.255.255.0 U 0 0 0
> eth0
> 192.168.0.0 * 255.255.255.0 U 0 0 0
> eth1
> default 192.168.0.1 0.0.0.0 UG 0 0 0
> eth1
>
> Thanks,
>
>
> --
> To UNSUBSCRIBE, email to debian-firewall-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
Reply to: