[CentOS] Poor perfmance of bridged interfaces

Thu Nov 12 21:17:47 UTC 2015
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?!?

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