После перезапуска сервера я не могу пинговать и подключаться к своим виртуальным машинам из сети и наоборот.

[[email protected](192.168.0.114) ~]# ping 192.168.0.63
PING 192.168.0.63 (192.168.0.63) 56(84) bytes of data.
From 192.168.0.114 icmp_seq=1 Destination Host Unreachable
From 192.168.0.114 icmp_seq=2 Destination Host Unreachable
From 192.168.0.114 icmp_seq=3 Destination Host Unreachable

Но я могу пинговать их с хост-сервера, на котором расположены виртуальные машины. Этот сервер находится в той же сети.

[[email protected]]# ping 192.168.0.63
PING 192.168.0.63 (192.168.0.63) 56(84) bytes of data.
64 bytes from 192.168.0.63: icmp_seq=1 ttl=64 time=1.19 ms
64 bytes from 192.168.0.63: icmp_seq=2 ttl=64 time=0.242 ms
64 bytes from 192.168.0.63: icmp_seq=3 ttl=64 time=0.154 ms
64 bytes from 192.168.0.63: icmp_seq=4 ttl=64 time=0.230 ms

Сервисы Iptables останавливаются на «vmhost» и на виртуальных машинах.

Команда ifconfig от "vmhost":

[[email protected] network-scripts]# ifconfig

bond0
Link encap:Ethernet HWaddr D4:AE:52:64:86:77
inet6 addr: fe80::d6ae:52ff:fe64:8677/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:1671 errors:0 dropped:0 overruns:0 frame:0
TX packets:569 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:146143 (142.7 KiB) TX bytes:69852 (68.2 KiB)

br0
Link encap:Ethernet HWaddr D4:AE:52:64:86:77
inet addr:192.168.0.51 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::d6ae:52ff:fe64:8677/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3225 errors:0 dropped:0 overruns:0 frame:0
TX packets:231 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:225879 (220.5 KiB) TX bytes:27689 (27.0 KiB)

br1
Link encap:Ethernet HWaddr D4:AE:52:64:86:7B
inet addr:192.168.20.132 Bcast:192.168.20.255 Mask:255.255.255.0
inet6 addr: fe80::d6ae:52ff:fe64:867b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:58 errors:0 dropped:0 overruns:0 frame:0
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3769 (3.6 KiB) TX bytes:5815 (5.6 KiB)

eth0
Link encap:Ethernet HWaddr D4:AE:52:64:86:75
inet addr:192.168.0.140 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::d6ae:52ff:fe64:8675/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4312 errors:0 dropped:0 overruns:0 frame:0
TX packets:414 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:419278 (409.4 KiB) TX bytes:46874 (45.7 KiB)
eth1
Link encap:Ethernet HWaddr D4:AE:52:64:86:77
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:165 errors:0 dropped:0 overruns:0 frame:0
TX packets:486 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:26470 (25.8 KiB) TX bytes:59228 (57.8 KiB)

eth2
Link encap:Ethernet HWaddr D4:AE:52:64:86:77
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:1506 errors:0 dropped:0 overruns:0 frame:0
TX packets:83 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:119673 (116.8 KiB) TX bytes:10624 (10.3 KiB)

eth3
Link encap:Ethernet HWaddr D4:AE:52:64:86:7B
inet6 addr: fe80::d6ae:52ff:fe64:867b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:78 errors:0 dropped:0 overruns:0 frame:0
TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6219 (6.0 KiB) TX bytes:9047 (8.8 KiB)

lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:161324 errors:0 dropped:0 overruns:0 frame:0
TX packets:161324 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:456220429 (435.0 MiB) TX bytes:456220429 (435.0 MiB)

vnet0
Link encap:Ethernet HWaddr FE:54:00:44:71:57
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:40 errors:0 dropped:0 overruns:0 frame:0
TX packets:93 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:2072 (2.0 KiB) TX bytes:11520 (11.2 KiB)

vnet1
Link encap:Ethernet HWaddr FE:54:00:FB:E9:38
inet6 addr: fe80::fc54:ff:fefb:e938/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:352 (352.0 b) TX bytes:5147 (5.0 KiB)

vnet2
Link encap:Ethernet HWaddr FE:54:00:EA:D8:79
inet6 addr: fe80::fc54:ff:feea:d879/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:88 errors:0 dropped:0 overruns:0 frame:0
TX packets:151913 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:4636 (4.5 KiB) TX bytes:12025077 (11.4 MiB)

команда "ip route add"

[[email protected]]# ip route show
192.168.0.61 dev br0 scope link
192.168.0.63 dev br0 scope link
192.168.20.0/24 dev br1 proto kernel scope link src 192.168.20.132
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.140
192.168.0.0/24 dev br0 proto kernel scope link src 192.168.0.51
169.254.0.0/16 dev eth0 scope link metric 1002
169.254.0.0/16 dev br0 scope link metric 1040
169.254.0.0/16 dev br1 scope link metric 1044
default via 192.168.0.1 dev eth0

команда "brctl show"

[[email protected]]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.d4ae52648677 no bond0 eth1 vnet0 vnet2
br1 8000.d4ae5264867b no eth3 vnet1

Информация с виртуальной гостевой машины:

Команда ifconfig

[[email protected]]# ifconfig eth0

Link encap:Ethernet HWaddr 52:54:00:44:71:57
inet addr:192.168.0.63 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:293 errors:0 dropped:0 overruns:0 frame:0
TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38513 (37.6 KiB) TX bytes:7007 (6.8 KiB)

eth1
Link encap:Ethernet HWaddr 52:54:00:FB:E9:38
inet addr:192.168.20.130 Bcast:192.168.20.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:123 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9541 (9.3 KiB) TX bytes:1579 (1.5 KiB)

lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1488 (1.4 KiB) TX bytes:1488 (1.4 KiB)

ip route show команда

[[email protected]]# ip route show
192.168.20.0/24 dev eth1 proto kernel scope link src 192.168.20.130
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.63
169.254.0.0/16 dev eth0 scope link metric 1002
169.254.0.0/16 dev eth1 scope link metric 1003
default via 192.168.20.1 dev eth1

Есть ли у вас предложения?

Изменить: поступает только запрос ARP. Как этот tcpdump -i eth1

12: 28: 19.232607 ARP, запрос, у кого есть 192.168.0.114, скажите 192.168.0.63, длина 28
12: 28: 19.232621 ARP, запрос у кого есть 192.168.0.114, скажите 192.168.0.63, длина 28

кому: vnet2: ничего


Добавляю STP в br0. такая же ситуация

[[email protected] network-scripts]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.d4ae52648677 yes bond0 eth1 vnet0 vnet2
br1 8000.d4ae5264867b no eth3 vnet1

answer

В вашем br0 есть и bond0, и eth1 (связующий раб), и у вас нет связующего дерева ни на чем.

Я подозреваю, что вы создали сетевой цикл и вам нужно удалить eth1 с моста.