OpenVZ Forum


Home » General » Support » Adding veth101.0 to bridge breaks networking.
Adding veth101.0 to bridge breaks networking. [message #40775] Mon, 04 October 2010 16:32
rconan is currently offline  rconan
Messages: 2
Registered: September 2010
Junior Member
When I add my virtual ethernet device on my host to a bridge I lose network access to the host (but the guest network starts working).

When first added I get the following in dmesg:
Quote:
device veth101.0 entered promiscuous mode
type=1700 audit(1286208967.671:29): dev=veth101.0 prom=256 old_prom=0 auid=4294967295 ses=4294967295
br0: port 2(veth101.0) entering learning state
br0: port 2(veth101.0) entering learning state


At this point the network still works.

After a short while (a few seconds) I get this message:
Quote:
br0: topology change detected, propagating
br0: port 2(veth101.0) entering forwarding state


at which point the network starts working.

ifconfig on the host:
Quote:
br0 Link encap:Ethernet HWaddr 00:18:51:4E:9C:93
inet addr:94.23.156.36 Bcast:94.23.156.36 Mask:255.255.255.255
inet6 addr: fe80::ff:fe76:1e61/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9583 errors:0 dropped:0 overruns:0 frame:0
TX packets:7302 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1459708 (1.3 MiB) TX bytes:2762327 (2.6 MiB)

eth0 Link encap:Ethernet HWaddr 02:00:00:76:1E:61
inet6 addr: fe80::ff:fe76:1e61/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24725 errors:0 dropped:0 overruns:0 frame:0
TX packets:12050 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16737073 (15.9 MiB) TX bytes:3246339 (3.0 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:756 errors:0 dropped:0 overruns:0 frame:0
TX packets:756 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:83246 (81.2 KiB) TX bytes:83246 (81.2 KiB)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.0.0.1 P-t-P:10.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:387 errors:0 dropped:0 overruns:0 frame:0
TX packets:490 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:53561 (52.3 KiB) TX bytes:36115 (35.2 KiB)

veth101.0 Link encap:Ethernet HWaddr 00:18:51:4E:9C:93
inet6 addr: fe80::218:51ff:fe4e:9c93/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1626 errors:0 dropped:0 overruns:0 frame:0
TX packets:2438 errors:0 dropped:374 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:143785 (140.4 KiB) TX bytes:252039 (246.1 KiB)


Routing on the host:
Quote:
10.0.0.101 dev venet0 scope link
188.165.157.168 dev veth101.0 scope link
94.23.33.0/24 dev br0 scope link
default via 94.23.33.254 dev br0


ifconfig on the guest:
Quote:
eth0 Link encap:Ethernet HWaddr 02:00:00:ce:71:4e
inet addr:188.165.157.168 Bcast:188.165.255.255 Mask:255.255.255.255
inet6 addr: fe80::ff:fece:714e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2511 errors:0 dropped:0 overruns:0 frame:0
TX packets:1643 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:255003 (249.0 KiB) TX bytes:144461 (141.0 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:309 errors:0 dropped:0 overruns:0 frame:0
TX packets:309 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:36395 (35.5 KiB) TX bytes:36395 (35.5 KiB)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:345 errors:0 dropped:0 overruns:0 frame:0
TX packets:316 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:25260 (24.6 KiB) TX bytes:45866 (44.7 KiB)

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.0.0.101 P-t-P:10.0.0.101 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1


Routing on the guest:

Quote:
94.23.33.0/24 dev eth0 scope link
10.0.0.0/24 dev venet0 scope link
default via 94.23.33.254 dev eth0
 
Read Message
Previous Topic: How to setup Virtualbox in a openVZ container
Next Topic: Incorrect time in KVM guest when running HN using ovzkernel-2.6.18-194.8.1.el5.028stab070.5 kernel.
Goto Forum:
  


Current Time: Mon Oct 14 03:40:51 GMT 2024

Total time taken to generate the page: 0.05893 seconds