[geeks] What am I missing?

Jonathan C. Patschke jp at celestrion.net
Sun Apr 25 05:25:35 CDT 2004


On Sun, 25 Apr 2004, Jeff Cole wrote:

> hme1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
>         inet 192.168.0.201 netmask ffffff00 broadcast 192.168.0.255
>         ether 8:0:20:8d:19:6f
>
> hme0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
> 	inet 192.168.0.200 netmask ffffff00 broadcast 192.168.0.255
>  	ether 8:0:20:8d:19:6f

Both your network interfaces are on the same subnet.  This will not work
as you expect.

>   192.168.0.0          192.168.0.201         U        1    184  hme1

The system routing table sees hme1 as the -only- path to 192.168.0.0/24.

> I am unable to ping 192.168.0.200 from another box (192.168.0.202) or my
> router (192.168.0.1), however, when I snoop hme0, I see lots of ARP
> traffic, but, pings and connections always timeout.

Right because the system is ignoring packets to that IP address on that
interface because it sees them as "martian" packets.  There's no way
that packets destined for that IP address can arrive on that port
because the other port is (according to the route table)  the only route
to that subnet, and the subnet is directly connected.

Something that -might- work is setting the netmask for hme0 to ffffffff,
but I think I should ask why you'd want two ports on the same IP subnet.

-- 
Jonathan Patschke  ) "Being on the Internet is not the same as being
Elgin, TX         (   famous.  That's like calling Cheetos 'dinner'."
USA                )                                    --Metal Steve



More information about the geeks mailing list