Adding default gateway breaks networking

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

 




I'm having strange network problems.  When I bring eth0 up with
  ifconfig eth0 x.y.z.1 netmask 255.255.255.240 up
everything works as it should: I can ping my own IP and the only
other machine in the same network (x.y.z.14).

When I try to add the other machine as default gateway with
  route add default gw x.y.z.14
everything breaks down: I can't even ping my own IP.

To be precise I can ping the gateway, the replies just don't get back
to ping in any reasonable time.  tcpdump shows that the packets
actually do get out and I can even see the replies with
  tcpdump -ni eth0
but they don't seem get any further than that.  If I wait long enough
the first packet comes back to ping after 74 seconds and the next ones
after that each 74 seconds after the previous one.

The same behaviour occurs with three different machines all running
2.2.16 kernel (RedHat 6.2/7.0 stock) with different NICs (eepro100 and
3c59x).  All the machines work fine in another network x.y.z'.0/24.

Removing the default gateway restores the normal functionality for the
network x.y.z.0/28, but other traffic is obviously impossible.


Antti
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[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