Hi, I've created a bridge using 2 interfaces and have a lot of messages as follows: nov 12 15:30:22 localhost kernel: br0: received packet on enp0s3 with own address as source address nov 12 15:30:22 localhost kernel: br0: received packet on enp0s3 with own address as source address And the operating systems is extremely slow Interfaces files : [root at localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-* DEVICE=br0 TYPE=Bridge BOOTPROTO=dhcp ONBOOT=yes #STP=on #DELAY=0 NM_CONTROLLED=no DEVICE=enp0s3 #HWADDR=08:00:27:AB:1D:E6 BOOTPROTO=none ONBOOT=yes NM_CONTROLLED=no BRIDGE=br0 DEVICE=enp0s8 HWADDR=08:00:27:A3:98:E6 BOOTPROTO=none ONBOOT=yes NM_CONTROLLED=no BRIDGE=br0 DEVICE=lo TYPE=loopback IPADDR=127.0.0.1 NETMASK=255.0.0.0 NETWORK=127.0.0.0 # If you're having problems with gated making 127.0.0.0/8 a martian, # you can change this to something else (255.255.255.255, for example) BROADCAST=127.255.255.255 ONBOOT=yes NAME=loopback I've disabled NetworkManager, but problem persists. System is: [root at localhost ~]# uname -a Linux localhost 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux And is virtualized on VirtualBox Please could you help me to fix it? Thanks in advance! -- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org
On 11/12/2015 07:42 PM, Sergio Belkin wrote:> I've created a bridge using 2 interfaces and have a lot of messages as > follows: > > nov 12 15:30:22 localhost kernel: br0: received packet on enp0s3 with own > address as source address > nov 12 15:30:22 localhost kernel: br0: received packet on enp0s3 with own > address as source addresssounds like a loop. What says 'brctl show'? best regards Ulf
On 11/12/2015 10:42 AM, Sergio Belkin wrote:> DEVICE=enp0s3 > #HWADDR=08:00:27:AB:1D:E6 > BOOTPROTO=none > ONBOOT=yes > NM_CONTROLLED=no > BRIDGE=br0> DEVICE=enp0s8 > HWADDR=08:00:27:A3:98:E6 > BOOTPROTO=none > ONBOOT=yes > NM_CONTROLLED=no > BRIDGE=br0Do you have those two devices connected to the same LAN?> I've disabled NetworkManager, but problem persists.Why would that matter, when all of your interfaces are NM_CONTROLLED=no?
2015-11-12 16:51 GMT-03:00 Gordon Messmer <gordon.messmer at gmail.com>:> On 11/12/2015 10:42 AM, Sergio Belkin wrote: > >> DEVICE=enp0s3 >> #HWADDR=08:00:27:AB:1D:E6 >> BOOTPROTO=none >> ONBOOT=yes >> NM_CONTROLLED=no >> BRIDGE=br0 >> > > DEVICE=enp0s8 >> HWADDR=08:00:27:A3:98:E6 >> BOOTPROTO=none >> ONBOOT=yes >> NM_CONTROLLED=no >> BRIDGE=br0 >> > > Do you have those two devices connected to the same LAN? >Yes I have.> > I've disabled NetworkManager, but problem persists. >> > > Why would that matter, when all of your interfaces are NM_CONTROLLED=no?Only as a last desesperate resource after hours of trying and not working :(> > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >-- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org
----- Original Message ----- | Hi, | | I've created a bridge using 2 interfaces and have a lot of messages as | follows: | | nov 12 15:30:22 localhost kernel: br0: received packet on enp0s3 with own | address as source address | nov 12 15:30:22 localhost kernel: br0: received packet on enp0s3 with own | address as source address | | And the operating systems is extremely slow | | Interfaces files : | | [root at localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-* | DEVICE=br0 | TYPE=Bridge | BOOTPROTO=dhcp | ONBOOT=yes | #STP=on | #DELAY=0 | NM_CONTROLLED=no | DEVICE=enp0s3 | #HWADDR=08:00:27:AB:1D:E6 | BOOTPROTO=none | ONBOOT=yes | NM_CONTROLLED=no | BRIDGE=br0 | | DEVICE=enp0s8 | HWADDR=08:00:27:A3:98:E6 | BOOTPROTO=none | ONBOOT=yes | NM_CONTROLLED=no | BRIDGE=br0 | DEVICE=lo | TYPE=loopback | IPADDR=127.0.0.1 | NETMASK=255.0.0.0 | NETWORK=127.0.0.0 | # If you're having problems with gated making 127.0.0.0/8 a martian, | # you can change this to something else (255.255.255.255, for example) | BROADCAST=127.255.255.255 | ONBOOT=yes | NAME=loopback | | I've disabled NetworkManager, but problem persists. | | System is: | | [root at localhost ~]# uname -a | Linux localhost 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 | x86_64 x86_64 x86_64 GNU/Linux | | And is virtualized on VirtualBox | | Please could you help me to fix it? | | Thanks in advance! | | -- | -- | Sergio Belkin | LPIC-2 Certified - http://www.lpi.org You have a bridge with two interfaces on the same lan? You're likely creating the topology loop with this configuration. What is it that you're attempting to do here? -- James A. Peltier IT Services - Research Computing Group Simon Fraser University - Burnaby Campus Phone : 604-365-6432 Fax : 778-782-3045 E-Mail : jpeltier at sfu.ca Website : http://www.sfu.ca/itservices Twitter : @sfu_rcg Powering Engagement Through Technology
Am 12.11.2015 um 19:42 schrieb Sergio Belkin:> [root at localhost ~]# uname -a > Linux localhost 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 > x86_64 x86_64 x86_64 GNU/LinuxFirst of all: yum update to current! Alexander
On 11/12/2015 10:42 AM, Sergio Belkin wrote:> DEVICE=enp0s8 > HWADDR=08:00:27:A3:98:E6 > BOOTPROTO=none > ONBOOT=yes > NM_CONTROLLED=no > BRIDGE=br0 > DEVICE=lo > TYPE=loopback > IPADDR=127.0.0.1 > NETMASK=255.0.0.0 > NETWORK=127.0.0.0 > ...I hope thats two seperate files, ifcfg-enp0s8 and ifcfg-lo ... otherwise, why is a bridged physical interface configured to be loopback?!? mine looks like... # cat ifcfg-br0 DEVICE=br0 TYPE=Bridge ONBOOT=yes NM_CONTROLLED=no BOOTPROTO=none NETWORK=.... NETMASK=255.255.255.240 IPADDR=..... (its a static IP) GATEWAY=.... # cat ifcfg-eth0 DEVICE=eth0 HWADDR=D8:D3:85:B5:8C:6A TYPE=Ethernet ONBOOT=yes NM_CONTROLLED=no BRIDGE=br0 # cat ifcfg-lo DEVICE=lo IPADDR=127.0.0.1 NETMASK=255.0.0.0 NETWORK=127.0.0.0 # If you're having problems with gated making 127.0.0.0/8 a martian, # you can change this to something else (255.255.255.255, for example) BROADCAST=127.255.255.255 ONBOOT=yes NAME=loopback -- john r pierce, recycling bits in santa cruz
If you really need two bridges on the same LAN you will need to turn on STP and give your interfaces a delay of say 10 seconds on start up. Sorry, cant remember options to do that. Kahlil (Kal) Hodgson GPG: C9A02289 Head of Technology (m) +61 (0) 4 2573 0382 DealMax Pty Ltd GitHub: @tartansandal Suite 1416 401 Docklands Drive Docklands VIC 3008 Australia "All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer." -- IBM maintenance manual, 1925 On 13 November 2015 at 08:09, Alexander Dalloz <ad+lists at uni-x.org> wrote:> Am 12.11.2015 um 19:42 schrieb Sergio Belkin: > >> [root at localhost ~]# uname -a >> Linux localhost 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 >> x86_64 x86_64 x86_64 GNU/Linux >> > > First of all: yum update to current! > > Alexander > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
2015-11-12 18:17 GMT-03:00 John R Pierce <pierce at hogranch.com>:> On 11/12/2015 10:42 AM, Sergio Belkin wrote: > >> DEVICE=enp0s8 >> HWADDR=08:00:27:A3:98:E6 >> BOOTPROTO=none >> ONBOOT=yes >> NM_CONTROLLED=no >> BRIDGE=br0 >> DEVICE=lo >> TYPE=loopback >> IPADDR=127.0.0.1 >> NETMASK=255.0.0.0 >> NETWORK=127.0.0.0 >> ... >> > > I hope thats two seperate files, ifcfg-enp0s8 and ifcfg-lo ... otherwise, > why is a bridged physical interface configured to be loopback?!? >Yes they are separate ones> > mine looks like... > > > # cat ifcfg-br0 > DEVICE=br0 > TYPE=Bridge > ONBOOT=yes > NM_CONTROLLED=no > BOOTPROTO=none > NETWORK=.... > NETMASK=255.255.255.240 > IPADDR=..... (its a static IP) > GATEWAY=.... > > # cat ifcfg-eth0 > DEVICE=eth0 > HWADDR=D8:D3:85:B5:8C:6A > TYPE=Ethernet > ONBOOT=yes > NM_CONTROLLED=no > BRIDGE=br0 > > # cat ifcfg-lo > DEVICE=lo > IPADDR=127.0.0.1 > NETMASK=255.0.0.0 > NETWORK=127.0.0.0 > # If you're having problems with gated making 127.0.0.0/8 a martian, > # you can change this to something else (255.255.255.255, for example) > BROADCAST=127.255.255.255 > ONBOOT=yes > NAME=loopback > > -- > john r pierce, recycling bits in santa cruz > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >-- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org
2015-11-12 18:07 GMT-03:00 James A. Peltier <jpeltier at sfu.ca>:> ----- Original Message ----- > | Hi, > | > | I've created a bridge using 2 interfaces and have a lot of messages as > | follows: > | > | nov 12 15:30:22 localhost kernel: br0: received packet on enp0s3 with own > | address as source address > | nov 12 15:30:22 localhost kernel: br0: received packet on enp0s3 with own > | address as source address > | > | And the operating systems is extremely slow > | > | Interfaces files : > | > | [root at localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-* > | DEVICE=br0 > | TYPE=Bridge > | BOOTPROTO=dhcp > | ONBOOT=yes > | #STP=on > | #DELAY=0 > | NM_CONTROLLED=no > | DEVICE=enp0s3 > | #HWADDR=08:00:27:AB:1D:E6 > | BOOTPROTO=none > | ONBOOT=yes > | NM_CONTROLLED=no > | BRIDGE=br0 > | > | DEVICE=enp0s8 > | HWADDR=08:00:27:A3:98:E6 > | BOOTPROTO=none > | ONBOOT=yes > | NM_CONTROLLED=no > | BRIDGE=br0 > | DEVICE=lo > | TYPE=loopback > | IPADDR=127.0.0.1 > | NETMASK=255.0.0.0 > | NETWORK=127.0.0.0 > | # If you're having problems with gated making 127.0.0.0/8 a martian, > | # you can change this to something else (255.255.255.255, for example) > | BROADCAST=127.255.255.255 > | ONBOOT=yes > | NAME=loopback > | > | I've disabled NetworkManager, but problem persists. > | > | System is: > | > | [root at localhost ~]# uname -a > | Linux localhost 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 > | x86_64 x86_64 x86_64 GNU/Linux > | > | And is virtualized on VirtualBox > | > | Please could you help me to fix it? > | > | Thanks in advance! > | > | -- > | -- > | Sergio Belkin > | LPIC-2 Certified - http://www.lpi.org > > You have a bridge with two interfaces on the same lan? You're likely > creating the topology loop with this configuration. What is it that you're > attempting to do here? > > > -- > James A. Peltier > IT Services - Research Computing Group > Simon Fraser University - Burnaby Campus > Phone : 604-365-6432 > Fax : 778-782-3045 > E-Mail : jpeltier at sfu.ca > Website : http://www.sfu.ca/itservices > Twitter : @sfu_rcg > Powering Engagement Through Technology > _______________________________________________ >I'm trying to create virtualized linux bridge, I've enabled STP and even with a forward delay with 300 but no luck... -- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org
2015-11-12 15:56 GMT-03:00 Ulf Volmer <u.volmer at u-v.de>:> On 11/12/2015 07:42 PM, Sergio Belkin wrote: > > I've created a bridge using 2 interfaces and have a lot of messages as >> follows: >> >> nov 12 15:30:22 localhost kernel: br0: received packet on enp0s3 with own >> address as source address >> nov 12 15:30:22 localhost kernel: br0: received packet on enp0s3 with own >> address as source address >> > > sounds like a loop. > > What says 'brctl show'? >When I enable stp: [root at localhost ~]# brctl show br0 bridge name bridge id STP enabled interfaces br0 8000.080027a398e6 yes enp0s3 enp0s8> > best regards > Ulf > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >-- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org