Re: Unable to ping gateway
Eric Gaumer wrote:
On Mon, 2004-09-20 at 08:47, Jacob Larsen wrote:
I can ping my server, and the gateway from my home pc, but can not
ping the gateway nor another server on the same subnet from the server.
I use bond0 for eth0 and eth1.
When I clear iptables there is no change.
eth0 Link encap:Ethernet HWaddr 00:0F:20:7A:7A:53
inet addr:22.214.171.124 Bcast:126.96.36.199
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:1037 errors:0 dropped:0 overruns:0 frame:6
TX packets:403 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:77395 (75.5 KiB) TX bytes:48278 (47.1 KiB)
11100010 --> .226
11110000 --> mask
This gives you 15 addresses. Why is the broadcast address not one of
these 15? The broadcast should be 188.8.131.52 which is the highest
address you have using that netmask. Not?
I am a novice in this area.
Could this help:
# cat /etc/network/interfaces
iface lo inet loopback
iface eth0 inet static
iface eth1 inet static
iface bond0 inet static
up ifenslave bond0 eth0
up ifenslave bond0 eth1
post-down ifconfig eth1 down
post-down ifconfig eth0 down
I really don't know what bond0 is so I may be missing something.
bond0 is Bonding. If eth0 is down eth1 takes over...