[geeks] What am I missing?

Thomas Gallaway rescue at port11.net
Sun Apr 25 09:22:08 CDT 2004


Jeff Cole wrote:

>On Sun, Apr 25, 2004 at 05:25:35AM -0500, Jonathan C. Patschke wrote:
>  
>
>>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.
>>    
>>
>
>Makes sense
>  
>
>>>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.
>>    
>>
>
>Ahh.
>  
>
>>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.
>>    
>>
>
>Because it's just my home network and I don't have anything better to do
>with it. Oddly enough, it was working at some point in the recent past.
>
>Could I add a route to 192.168.0.0 going out 192.168.0.200?
>
>Jeff
>  
>
Like jonathan said try to make the netmask 255.255.255.255 on the second 
interface. It might work.

-- Thomas



More information about the geeks mailing list