Can't ping Ip over bridge
Posted
by
tmn29a
on Server Fault
See other posts from Server Fault
or by tmn29a
Published on 2012-06-08T15:38:34Z
Indexed on
2012/06/08
16:42 UTC
Read the original article
Hit count: 221
I'm unable to ping another host over a bridge I created, I can't see the error -.- It's a remote machine running debian stable with some backports for which I want to set up DHCP on the new Subnet 172.30.xxx.xxx to be used for KVM-Guests.
ifconfig :
bond0 Link encap:Ethernet HWaddr e4:11:5b:d4:94:30
inet addr:10.54.2.84 Bcast:10.54.2.127 Mask:255.255.255.192
inet6 addr: fe80::e611:5bff:fed4:9430/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:34277 errors:0 dropped:0 overruns:0 frame:0
TX packets:18379 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2638709 (2.5 MiB) TX bytes:2887894 (2.7 MiB)
br0 Link encap:Ethernet HWaddr f2:fc:4d:7f:15:f0
inet addr:172.30.254.66 Bcast:172.30.254.127 Mask:255.255.255.192
inet6 addr: fe80::f0fc:4dff:fe7f:15f0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:252 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:10800 (10.5 KiB)
Pings :
ping -I br0 172.30.xxx.65
PING 172.30.xxx.65 (172.30.xxx.65) from 172.30.xxx.66 br0: 56(84) bytes of data.
--- 172.30.xxx.65 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2017ms
ping -I bond0 172.30.254.65
PING 172.30.xxx.65 (172.30.xxx.65) from 10.54.2.84 bond0: 56(84) bytes of data.
64 bytes from 172.30.x.65: icmp_req=1 ttl=64 time=0.599 ms
64 bytes from 172.30.x.65: icmp_req=2 ttl=64 time=0.575 ms
64 bytes from 172.30.x.65: icmp_req=3 ttl=64 time=0.565 ms
--- 172.30.x.65 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.565/0.579/0.599/0.031 ms
Route :
Destination Gateway Genmask Flags Metric Ref Use Iface
172.30.x.64 * 255.255.255.192 U 0 0 0 br0
10.54.x.64 * 255.255.255.192 U 0 0 0 bond0
default 10.54.x.65 0.0.0.0 UG 0 0 0 bond0
default 172.30.x.65 0.0.0.0 UG 0 0 0 br0
The Interface :
cat /etc/network/interfaces
auto lo br0
iface lo inet loopback
# Bonding Interface
auto bond0
iface bond0 inet static
address 10.54.x.84
netmask 255.255.255.192
network 10.54.x.64
gateway 10.54.x.65
slaves eth0 eth1
bond_mode active-backup
bond_miimon 100
bond_downdelay 200
bond_updelay 200
iface br0 inet static
bridge_ports bond0
address 172.30.x.66
broadcast 172.30.x.127
netmask 255.255.x.192
gateway 172.30.x.65
bridge_maxwait 0
If you need more info please ask. Thanks for your help !
© Server Fault or respective owner