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-13 8:22 GMT-03:00 Sergio Belkin <sebelk at gmail.com>:> > > 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 >I get an IP via dhcp but cannot ping only at host machine -- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org
On 11/13/2015 03:22 AM, Sergio Belkin wrote:> I'm trying to create virtualized linux bridgeWell, you can't do that by putting two interfaces on the same LAN. A bridge should be used to connect two separate LANs.
2015-11-13 13:52 GMT-03:00 Gordon Messmer <gordon.messmer at gmail.com>:> On 11/13/2015 03:22 AM, Sergio Belkin wrote: > >> I'm trying to create virtualized linux bridge >> > > Well, you can't do that by putting two interfaces on the same LAN. A > bridge should be used to connect two separate LANs. > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >But.... AFAIK, routers divide broadcast domains, and switches (and therefore bridges) divide collision domains. For example: "A bridge is a piece of software used to unite two or more network segments. A bridge behaves like a virtual network switch, working transparently (the other machines do not need to know or care about its existence). Any real devices (e.g. eth0) and virtual devices (e.g. tap0) can be connected to it." https://wiki.archlinux.org/index.php/Network_bridge If I'm wrong please correct me. -- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org