[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-bridge
Subject:    Re: [Bridge] br0: received packet on eth0 with own address as source	address
From:       "Lentes, Bernd" <bernd.lentes () helmholtz-muenchen ! de>
Date:       2013-09-02 11:16:04
Message-ID: 15785B7E063D464C86DD482FCAE4EBA5018D1B8B7C32 () XCH11 ! scidom ! de
[Download RAW message or body]


Sujata wrote:

> Bernd,

> Can you give more information about how these two hosts are connected with the \
> network? Are they stand alone PC ? Not much idea about KVM guests, but hope they \
> both have different mac addresses configured.

> Some info i could find

> http://pic.dhe.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=%2Fliaat%2Fliaatkvmsecbridge.htm
> 
I will check this out.

> If there is a loop you will observe loss in the connectivity because there are too \
> many packets, and it can even bring your network down. This loop can > be because \
> of actually someone connecting the cable unknowingly to create loop or could be \
> because of mac address misconfiguration.


Hi,

this is host 1:

pc60181:~ # ifconfig
br0       Link encap:Ethernet  HWaddr 54:04:A6:94:F4:93
          inet addr:10.35.23.36  Bcast:10.35.23.0  Mask:255.255.255.0
          inet6 addr: fe80::5604:a6ff:fe94:f493/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:96577377 errors:0 dropped:984324 overruns:0 frame:0
          TX packets:2850316 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4759340379 (4538.8 Mb)  TX bytes:2572455294 (2453.2 Mb)

eth0      Link encap:Ethernet  HWaddr 54:04:A6:94:F4:93
          inet6 addr: fe80::5604:a6ff:fe94:f493/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:679910674 errors:0 dropped:143234 overruns:0 frame:0
          TX packets:21189328 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:95708623626 (91274.8 Mb)  TX bytes:6925373212 (6604.5 Mb)
          Interrupt:58 Base address:0x6000

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:6302223 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6302223 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4358763975 (4156.8 Mb)  TX bytes:4358763975 (4156.8 Mb)

vnet0     Link encap:Ethernet  HWaddr FE:54:00:37:92:A0
          inet6 addr: fe80::fc54:ff:fe37:92a0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:256480 errors:0 dropped:0 overruns:0 frame:0
          TX packets:94996736 errors:0 dropped:0 overruns:76039 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:23357891 (22.2 Mb)  TX bytes:5963949911 (5687.6 Mb)

and this is the guest from host 1:

vm59093-4:~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 52:54:00:37:92:A0
          inet addr:10.35.23.37  Bcast:10.35.23.0  Mask:255.255.255.0
          inet6 addr: fe80::5054:ff:fe37:92a0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:95009948 errors:0 dropped:1035015 overruns:0 frame:0
          TX packets:256503 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5965018596 (5688.6 Mb)  TX bytes:23359469 (22.2 Mb)

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:2173318 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2173318 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:262781653 (250.6 Mb)  TX bytes:262781653 (250.6 Mb)

The bridge on the host connects the network adpater from the vm and eth from the host \
to the network. Using this configuration you can directly access the guest from the \
network.


host 2:

sunhb58820:~ # ifconfig
bond0     Link encap:Ethernet  HWaddr 68:B5:99:C2:4A:36
          inet6 addr: fe80::6ab5:99ff:fec2:4a36/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:905267861 errors:0 dropped:295560887 overruns:0 frame:68
          TX packets:170715934 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:96074047195 (91623.3 Mb)  TX bytes:11282104398 (10759.4 Mb)

br0       Link encap:Ethernet  HWaddr 68:B5:99:C2:4A:36
          inet addr:146.107.235.132  Bcast:146.107.235.255  Mask:255.255.255.0
          inet6 addr: fec0::c:6ab5:99ff:fec2:4a36/64 Scope:Site
          inet6 addr: 2002:926b:eb6d:c:6ab5:99ff:fec2:4a36/64 Scope:Global
          inet6 addr: fe80::6ab5:99ff:fec2:4a36/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:375609426 errors:0 dropped:9802456 overruns:0 frame:0
          TX packets:1339407 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:29593812134 (28222.8 Mb)  TX bytes:404876888 (386.1 Mb)

eth0      Link encap:Ethernet  HWaddr 68:B5:99:C2:4A:36
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:609403504 errors:0 dropped:1341840 overruns:0 frame:64
          TX packets:170679495 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:66365552270 (63291.1 Mb)  TX bytes:11279463931 (10756.9 Mb)
          Interrupt:16

eth1      Link encap:Ethernet  HWaddr 68:B5:99:C2:4A:36
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:295864357 errors:0 dropped:294081414 overruns:0 frame:4
          TX packets:36439 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:29708494925 (28332.2 Mb)  TX bytes:2640467 (2.5 Mb)
          Interrupt:17

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:4909474 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4909474 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1011946434 (965.0 Mb)  TX bytes:1011946434 (965.0 Mb)

vnet0     Link encap:Ethernet  HWaddr FE:54:00:37:92:AA
          inet6 addr: fe80::fc54:ff:fe37:92aa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4244104 errors:0 dropped:0 overruns:0 frame:0
          TX packets:89645671 errors:0 dropped:0 overruns:517 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:285274656 (272.0 Mb)  TX bytes:17771059319 (16947.8 Mb)


and the guest from host 2:

vm58820-1:~ # ifconfig
eth2      Link encap:Ethernet  HWaddr 52:54:00:37:92:AA
          inet addr:10.35.23.45  Bcast:10.35.23.0  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:27714408 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4244063 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:14087082668 (13434.4 Mb)  TX bytes:285283904 (272.0 Mb)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2423627 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2423627 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:657301795 (626.8 Mb)  TX bytes:657301795 (626.8 Mb)

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:C0:00:01
          inet addr:172.16.151.1  Bcast:172.16.151.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vmnet8    Link encap:Ethernet  HWaddr 00:50:56:C0:00:08
          inet addr:192.168.156.1  Bcast:192.168.156.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

All guests and hosts can easily access the network.


Bernd







Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir ´in Bärbel Brumme-Bothe
Geschäftsführer: Prof. Dr. Günther Wess Dr. Nikolaus Blum Dr. Alfons Enhsen
Registergericht: Amtsgericht München HRB 6466
USt-IdNr: DE 129521671


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic