From: Matthew X. Economou on 17 Feb 2010 15:49 Are there any limitations using CARP over VLAN interfaces in FreeBSD 8.0-RELEASE? Every time I set it up, all of the VLAN interfaces stop working, even before I bring the CARP interface up: # VLAN setup ifconfig vlan2 create ifconfig vlan2 vlan 2 vlandev de2 ifconfig vlan2 inet 192.0.2.2/24 ifconfig vlan2 inet 192.0.2.254/24 alias ifconfig vlan2 up Here, VLAN 2 is accessible, via either IP address. # VLAN 6 setup ifconfig vlan6 create ifconfig vlan6 vlan 6 vlandev de2 ifconfig vlan6 inet 192.0.6.2/24 ifconfig vlan6 inet 192.0.6.254/24 alias ifconfig vlan6 up Here, VLAN 6 is accessible, via either IP address. # CARP setup ifconfig carp2 create ifconfig carp2 vhid 2 pass goattastesgood 192.0.2.254/24 At this point I cannot ping anything on VLAN 2 or VLAN 6. Even if I bring the CARP interface up ("ifconfig carp2 up"), I still cannot ping anything in either VLAN. What am I doing wrong?
From: Matthew X. Economou on 17 Feb 2010 22:07 On Feb 17, 3:49 pm, "Matthew X. Economou" <xenophon+use...(a)irtnog.org> wrote: > Are there any limitations using CARP over VLAN interfaces in FreeBSD > 8.0-RELEASE? Every time I set it up, all of the VLAN interfaces stop > working, even before I bring the CARP interface up: Here's something I just noticed - the MTU on the CARP interfaces is 1500, whereas the MTU on the VLAN interfaces is 1496. It doesn't look like the CARP driver allows changing the interface MTU, if I'm reading sys/netinet/ip_carp.c correctly. Could the different MTUs cause problems with CARP and VLANs? Best wishes, Matthew
|
Pages: 1 Prev: Examen de certification BSDA : 17 Mars 2010 Paris Next: Ephemeral ports |