Bonjour à tous,

Je rencontre actuellement un problème pour configurer le bonding de mon serveur en mode vlan au lieu du mode access. En effet en mode vlan mon serveur perd toute communication (ping du firewall vers serveur KO)

Ci-dessous ma configuration

OS : CentOS release 6.5

lsmod | egrep '8021q|loop|bond'
bonding               127797  0
8021q                  25349  1 bonding
garp                    7152  1 8021q
ipv6 318183 41 bonding,ip6t_REJECT,nf_conntrack_ipv6,nf_defrag_ipv6


cat ifcfg-bond0

DEVICE=bond0
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
TYPE=Bonding
IPV6INIT=no
BONDING_OPTS="miimon=100 mode=1"

cat ifcfg-bond0.1212

DEVICE=bond0.1212
ONBOOT=yes
BOOTPROTO=static
TYPE=Bonding
VLAN=yes
USERCTL=no
IPADDR=10.31.212.2
PREFIX=24
GATEWAY=10.31.212.254

cat ifcfg-bond0.1232

DEVICE=bond0.1232
ONBOOT=yes
BOOTPROTO=static
TYPE=Bonding
VLAN=yes
USERCTL=no
IPADDR=10.31.232.2
PREFIX=24


route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 10.31.232.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0.1232 10.31.212.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0.1212 10.25.8.0 0.0.0.0 255.255.248.0 U 0 0 0 eth1 169.254.0.0 0.0.0.0 255.255.0.0 U 1005 0 0 eth1 169.254.0.0 0.0.0.0 255.255.0.0 U 1006 0 0 bond0 169.254.0.0 0.0.0.0 255.255.0.0 U 1020 0 0 bond0.1212 169.254.0.0 0.0.0.0 255.255.0.0 U 1021 0 0 bond0.1232 0.0.0.0 10.31.212.254 0.0.0.0 UG 0 0 0 bond0.1212

arp -n (le serveur ne récupère pas la mac address du firewall)

Address         HWType HWaddress         Flags Mask         Iface
10.31.212.254   (incomplete)                                bond0.1212

Si je reconfigure le bonding en mode access tout fonctionne correctement.

Avez-vous une idée ?

Par avance merci












---------------------------
Liste de diffusion du FRnOG
http://www.frnog.org/

Répondre à