Re: A PC with two NIC routing problem

From: Jack <ccie.unnumbered_at_gmail.com>
Date: Fri, 01 Oct 2010 14:12:13 -0400

ip routing is enabled on the switch.

a new vlan has been added to the layer 3 switch:
int vlan 20
  ip addr 20.20.20.1 255.255.255.0

host20 has its ethernet IP address 20.20.20.20/24 and default gateway
20.20.20.1
host20 can ping 10.10.10.100 but cannot ping 11.11.11.100

Please explain why and show me the solution that all hosts can ping the
linux PC?

Thanks,
Jack

On 10/01/2010 01:32 PM, Jack wrote:
>
>
> A linux PC has two NIC cards:
> eth0=10.10.10.100/24 belongs to VLAN 10
> eth1=11.11.11.100/24 belongs to VLAN 11
> the default gateway is 10.10.10.1
>
> A layer 3 switch has the following configuration:
> int vlan 10
> ip addr 10.10.10.1 255.255.255.0
> int vlan 11
> ip addr 11.11.11.1 255.255.255.0
>
>
> Host10 on vlan 10 with ip address 10.10.10.10/24 can ping
> 10.10.10.100, but cannot ping 11.11.11.100
>
> Host11 on vlan 11 with ip address 11.11.11.11/24 can ping
> 11.11.11.100, but cannot ping 10.10.10.100
>
>
> How to make the linux PC respond to all pings from both hosts?
>
>
> Thanks,
> Jack

Blogs and organic groups at http://www.ccie.net
Received on Fri Oct 01 2010 - 14:12:13 ART

This archive was generated by hypermail 2.2.0 : Mon Nov 01 2010 - 06:42:05 ART