Tema: Bonding'as + Vlan'ai
Autorius: Pukuotukas
Data: 2008-04-28 17:15:54
Sveiki,

Iskilo poreikis ant dvieju tinklo interface'u pasikelti bondinga. Ir ant 
jo pasikelti vlaninius interface'us. OS CentOS 5.1. Bondingas susideda 
graziai, vlaniniai interface'ai irgi susideda. Pirma karta perkraunant 
tinklo nustatymus su service network restart, vlanus graziai 
priregistruoja i /proc/net/vlan/config, bet tinklo nustatymu 
(IP/NETMASK) vlaniniams interface'ams nesudeda. Jei rankom pridedu per 
ifconfig bond0.11 192.168.0.1 netmask 255.255.255.0 viskas tvarkoje. 
Tinklas ir rysys veikia. Aisku po perkrovimo informacija dingsta. Jeigu 
darau service network restart vel, tai gaunu tokias klaidas:

Setting 802.1Q VLAN parametres: Set name-type for VLAN subsystem. Should 
be visible in /proc/net/vlan/config
								[  OK  ]
Bringing up interface bond0:					[  OK  ]
Bringing up interface vlan11: register_vlan_device: ALREADY had VLAN 
registered.

ERROR: trying to add VLAN #11 to IF -:bond0:- error: Invalid argument
ERROR: could not add vlan 11 as vlan11 on dev bond0
								[FAILED]

Jokiu tinklo nustatymu nesudeda, nes failino. Nors ifconfig'as 
interface'us rodo ir mato. Jeigu rankom vel pakisu adresus veikia.

Jeigu rankom ismetu su vconfig rem bond0.11, viskas issimeta. Is naujo 
perkraunu, priregistruoja. Bet velgi gaunu klaida.

Setting 802.1Q VLAN parametres: Set name-type for VLAN subsystem. Should 
be visible in /proc/net/vlan/config
								[  OK  ]
Bringing up interface bond0:					[  OK  ]
Bringing up interface vlan11: Added VLAN with VID == 20 to IF -:bond0:-
Device vlan11 does not seem to be present, delaying initialization.
								[FAILED]

Velgi nors cia ir raso, kad failed. Rankom sudedu viskas veikia tvarkingai.

Kame gali buti reples? Gal kas esat susidure arba zinote, ko truksta ar 
ko nedadejau, kad viskas veiktu tvarkingai?