Skip to contentSkip to conversation

cannot ping network when i do addif br0 eth0

Bridge Ivan Hernandez 2 participants 2 messages Jan 10, 2008 Ethernet bridge

lore
Share & tools
lore
#0 lore raw

i have a bridge to connect a tap0 interface with openvpn to my eth0 netwotk the openvpn connections goes fine, but when i try to ping from the box it does not work the problem looks this way:

mail:~# brctl addif br0 eth0
mail:~# ping 10.1.27.161
PING 10.1.27.161 (10.1.27.161) 56(84) bytes of data.

--- 10.1.27.161 ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 4999ms

mail:~# brctl delif br0 eth0
mail:~# ping 10.1.27.161
PING 10.1.27.161 (10.1.27.161) 56(84) bytes of data.
64 bytes from 10.1.27.161: icmp_seq=1 ttl=64 time=0.189 ms
64 bytes from 10.1.27.161: icmp_seq=2 ttl=64 time=0.161 ms

some tip to use my eth0 card while it's on the bridge? thanks a lot! ivan

#1 lore raw
Quoted 1 line · Ivan Hernandez

some tip to use my eth0 card while it's on the bridge?

You should add your IP address to the bridge interface (br0) rather than eth0.

Signature · 3 lines
Malcolm Scott
Research Assistant
University of Cambridge Computer Laboratory