Re: arp reply but not routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bobby <bobby@xxxxxxxxxxxxxx> wrote:
> Hi,
> 
> I feel like I'm missing something obvious but cannot think of it.
> 
> There are two NICs, one for each subnet. 10.1.65 and 10.1.61.
> 
> The .65 is the default one which works fine, but occasionally I need access to 
> a device on .61.4 but replies are not quite there.
> 
> When I ping it says:
> 
> who-has 10.1.61.4 tell 10.1.61.3
> arp reply 10.1.61.4 is-at <MAC ADDRESS>
> 
> But apparently it ignores it and keep on asking.
> 
> My routing table currently looks like this:
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 10.1.61.4       10.1.61.3       255.255.255.255 UGH       0 0          0 eth1
> 10.1.65.0       0.0.0.0         255.255.255.0   U         0 0          0 eth0
> 10.1.61.0       0.0.0.0         255.255.255.0   U         0 0          0 eth1
> 169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
> 0.0.0.0         10.1.65.4       0.0.0.0         UG        0 0          0 eth0

If eth1 is a normal network (a typical ethernat LAN, or WLAN), the the first line
in the routing table is nonsense. Even after the this change:

> 10.1.61.4     10.125.61.3     255.255.255.255 UGH       0 0          0 eth1
> to
> 10.1.61.0     10.125.61.4     255.255.255.255 UGH       0 0          0 eth1

Where 61.4 is a WiFi router and 61.3 is the IP on my 2nd NIC (which I'm trying
to configure).

Delete that routing line and it should work.

On the other hand, if it is not a regular network, then the third line :
> 10.1.61.0       0.0.0.0         255.255.255.0   U         0 0          0 eth1
is wrong.

Maybe tell some more about your network.

Regards,
David


--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux