I wanted to raise the server virtualization on a computer with RHEL7 .

Follow how-to on this link . When attaching a network interface to a network bridge, the computer does not see the network as external and local.

How to fix it?

ifcfg-eno1:

DEVICE=eno1 NAME=eno1 TYPE=Ethernet ONBOOT=yes NM_CONTROLLED=no IPADDR=192.168.0.251 NETMASK=255.255.255.0 GATEWAY=192.168.0.1 BRIDGE=br0 

ifcfg-br0:

 DEVICE=br0 STP=yes TYPE=Bridge BOOTPROTO=none DEFROUTE=yes IFV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no NM_CONTROLLED=no NAME=br0 UUID=8330.... ONBOOT=yes BRIDGING_OPTS=priority=32768 IDADDR=10.0.0.10 GATEWAY=10.0.0.1 NETMASK=255.255.255.0 DNS1=10.0.0.1 IPV6_PEERDNS=yes IPV6_PEERROUTES=yes 
  • 1. IFV4_FAILURE_FATAL - should be: IPV4_FAILURE_FATAL . 2. IDADDR - should be: IPADDR . 3. UUID=8330.... - some very strange uuid , try to comment it out ( # symbol at the beginning of the line). 4. if the computer has two network interfaces, then please show the configuration of the second one. - aleksandr barakin

1 answer 1

When interfaces are merged into a bridge, addressing on the 3 level interface of the iso stops working. Those. the ifcfg-eno1 config is simply not readable. Correct addresses should be tied to the ifcfg-br0 interface. And only one GATEWAY should be present in the system. Everything else needs to be driven through the routing tables.