Добрый день всем.
Достался сервер с виртуалками на новой работе.
SUSE + KVM
После добавления нового VLAN и соответственно ребута сетевой службы, не поднялись виртуальные интерфейсы и слетели сетевые мосты.
интерфейсы следующие :
sle:~ # ifconfig
bond0 Link encap:Ethernet HWaddr 00:1E:67:68:52:6A
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:7958727151 errors:0 dropped:5308850 overruns:599472945 frame:0
TX packets:820840177 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8432627710077 (8041980.4 Mb) TX bytes:474549019132 (452565.2 Mb)
br0 Link encap:Ethernet HWaddr 00:1E:67:68:52:6A
inet addr:172.20.0.10 Bcast:172.20.1.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:506618 errors:0 dropped:30557 overruns:0 frame:0
TX packets:118029 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:39274797 (37.4 Mb) TX bytes:38728491 (36.9 Mb)
br2 Link encap:Ethernet HWaddr 00:1E:67:68:52:6A
inet addr:172.30.2.254 Bcast:172.30.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:96458 errors:0 dropped:1991 overruns:0 frame:0
TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5975661 (5.6 Mb) TX bytes:2742 (2.6 Kb)
br6 Link encap:Ethernet HWaddr 00:1E:67:68:52:6A
inet addr:172.30.16.254 Bcast:172.30.16.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4292 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:214600 (209.5 Kb) TX bytes:0 (0.0 b)
br7 Link encap:Ethernet HWaddr 00:1E:67:68:52:6A
inet addr:172.30.17.254 Bcast:172.30.17.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24390 errors:0 dropped:4676 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1952233 (1.8 Mb) TX bytes:0 (0.0 b)
br10 Link encap:Ethernet HWaddr 00:1E:67:68:52:6A
inet addr:10.10.0.1 Bcast:10.10.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22162 errors:0 dropped:3 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1066625 (1.0 Mb) TX bytes:0 (0.0 b)
eth0 Link encap:Ethernet HWaddr 00:1E:67:68:52:6A
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:955237369 errors:0 dropped:12 overruns:75145229 frame:0
TX packets:441340550 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:197656681900 (188500.1 Mb) TX bytes:265640042363 (253334.0 Mb)
Memory:d0960000-d0980000
eth1 Link encap:Ethernet HWaddr 00:1E:67:68:52:6A
UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Memory:d0940000-d0960000
eth2 Link encap:Ethernet HWaddr 00:1E:67:68:52:6A
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:7003489782 errors:0 dropped:5308838 overruns:524327716 frame:0
TX packets:379499627 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8234971028177 (7853480.3 Mb) TX bytes:208908976769 (199231.1 Mb)
Memory:d0920000-d0940000
eth3 Link encap:Ethernet HWaddr 00:1E:67:68:52:6A
UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Memory:d0900000-d0920000
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:1486577 errors:0 dropped:0 overruns:0 frame:0
TX packets:1486577 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3466713313 (3306.1 Mb) TX bytes:3466713313 (3306.1 Mb)
vlan2 Link encap:Ethernet HWaddr 00:1E:67:68:52:6A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:100591 errors:0 dropped:0 overruns:0 frame:0
TX packets:125 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6765826 (6.4 Mb) TX bytes:5962 (5.8 Kb)
vlan6 Link encap:Ethernet HWaddr 00:1E:67:68:52:6A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4292 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:214600 (209.5 Kb) TX bytes:3220 (3.1 Kb)
vlan7 Link encap:Ethernet HWaddr 00:1E:67:68:52:6A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25596 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2083273 (1.9 Mb) TX bytes:3220 (3.1 Kb)
vlan10 Link encap:Ethernet HWaddr 00:1E:67:68:52:6A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:242308 errors:0 dropped:0 overruns:0 frame:0
TX packets:219282 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:53832748 (51.3 Mb) TX bytes:59876997 (57.1 Mb)
vnet0 Link encap:Ethernet HWaddr FE:54:00:89:87:C1
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2286 errors:0 dropped:0 overruns:0 frame:0
TX packets:35938 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:765247 (747.3 Kb) TX bytes:4521395 (4.3 Mb)
vnet3 Link encap:Ethernet HWaddr FE:54:00:2C:28:F0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:93368144 errors:0 dropped:0 overruns:0 frame:0
TX packets:139676881 errors:0 dropped:0 overruns:501 carrier:0
collisions:0 txqueuelen:500
RX bytes:64264671361 (61287.5 Mb) TX bytes:49732138090 (47428.2 Mb)
vnet4 Link encap:Ethernet HWaddr FE:54:00:1C:C4:2E
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2814188 errors:0 dropped:0 overruns:0 frame:0
TX packets:24829718 errors:0 dropped:0 overruns:24 carrier:0
collisions:0 txqueuelen:500
RX bytes:733116198 (699.1 Mb) TX bytes:2423700840 (2311.4 Mb)
vnet5 Link encap:Ethernet HWaddr FE:54:00:64:B4:CC
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:88864 errors:0 dropped:0 overruns:0 frame:0
TX packets:343552 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:20226866 (19.2 Mb) TX bytes:39487715 (37.6 Mb)
vnet6 Link encap:Ethernet HWaddr FE:54:00:A2:A4:6F
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:219212 errors:0 dropped:0 overruns:0 frame:0
TX packets:226436 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:59873777 (57.1 Mb) TX bytes:56245694 (53.6 Mb)
vnet8 Link encap:Ethernet HWaddr FE:54:00:1A:9C:70
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41754232 errors:0 dropped:0 overruns:0 frame:0
TX packets:67337321 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:31749803397 (30278.9 Mb) TX bytes:33322417790 (31778.7 Mb)
vnet9 Link encap:Ethernet HWaddr FE:54:00:76:D7:CA
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
sle:~ # brctl show
bridge name bridge id STP enabled interfaces
br0 8000.001e6768526a no bond0
vnet0
vnet3
vnet5
vnet8
br10 8000.001e6768526a no vlan10
vnet6
br2 8000.001e6768526a no vlan2
br6 8000.001e6768526a no vlan6
br7 8000.001e6768526a no vlan7
т.е. после ребута сети все интерфейсы vnet0 - 9 были в down , а в таблице бриджей было вообще пусто.
вопрос, почем такое могло произойти ?
и надо ли создавать конфиг файлы для интерфейсов гипервизора vnet0 -9 в /ect/sysconfig/network
что бы подобное не повторялось ? сейчас они не созданы.