Всем доброго времени суток.
В Linux новичок.
Хочу настроить bridge для последующего использования kvm.
Есть сетевой интерфейс enp1s0f0
.
NAME="enp1s0f0"
DEVICE="enp1s0f0"
ONBOOT=yes
NETBOOT=yes
UUID="5fbddac0-788c-4177-9f01-141e77910fb5"
IPV6INIT=yes
BOOTPROTO=none
TYPE=Ethernet
DNS1=XX.XXX.XX.5
DNS2=XX.XXX.XX.4
DNS3=XX.XXX.XX.3
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPADDR=89.XXX.XXX.XX
PREFIX=32
GATEWAY=89.XXX.XXX.1
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
Создаю Bridge
br0
NAME="System br0"
DEVICE="br0"
TYPE=bridge
ONBOOT=yes
BOOTPROTO=static
NM_CONTROLLED=yes
IPADDR=89.XXX.XXX.XX
PREFIX=32
GATEWAY=89.XXX.XXX.1
DNS1=XX.XXX.XXX.5
DNS2=XX.XXX.XXX.4
DNS3=XX.XXX.XXX.3
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
Настройки интерфейса [inlin]enp1s0f0 делаю
NAME="System enp1s0f0"
DEVICE="enp1s0f0"
TYPE=Ethernet
HWADDR=00:25:90:e6:9a:aa
ONBOOT=yes
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
BRIDGE=br0
После перезапуска службы доступ в интернет пропадает.
root(?f640 network-scripts]# ip a
1: lo: <L00PBACK,UP,L0WER_UP> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp1s0f0: <BROADCAST,MULTICAST,UP,L0WER_UP> mtu 1500 qdisc mq master br0 state UP qlen 1000 link/ether 00:25:90:e6:9a:aa brd ff:ff:ff:ff :ff :ff
3: enp1s0f1: <N0-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000 link/ether 00:25:90:e6:9a:ab brd ff :ff :ff :ff :ff :ff
5: virbr0: <N0-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN link/ether 52:54:00:e8:4a:43 brd ff:ff:ff:ff :ff :ff inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0 valid_lft forever preferred_lft forever
6: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 500 link/ether 52:54:00:e8:4a:43 brd ff:ff:ff:ff:ff :ff
9: br0: <BROADCAST,MULTICAST,UP,L0WER_UP> mtu 1500 qdisc noqueue state UP link/ether 00:25:90:e6:9a:aa brd ff :ff :ff :ff :ff:ff inet 89.XXX.XXX.XX/32 brd 89.XXX.XXX.XX scope global br0 valid_lft forever preferred_lft forever inet6 fe80::225:90ff:fee6:9aaa/64 scope link valid_lft forever preferred_lft forever
root(?f640 network-scripts]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.00Z5S0e63aaa no enpls0f0
virbr0 8000.525400e84a43 yes virbr0-nic
Помогите понять в чем проблема
bridge, kvm