Date: Fri, 9 Jun 2006 13:32:21 +0200 From: Bohuslav Plucinsky <bohuslav.plucinsky@gtsnextra.sk> To: freebsd-net@freebsd.org Cc: freebsd-questions@freebsd.org Subject: Xorp and CARP on FreeBSD Message-ID: <20060609113221.GD25880@gtsnextra.sk>
next in thread | raw e-mail | index | archive | help
Hello, I've two FreeBSD 6.1-RELEASE routers (R1, R2) with CARP configured and it was working OK untill I've installed Xorp and tried to configure multicast PIM-SM. After that the CARP has stoped working. I've found out by the tcpdump that after Xorp is started the source IP address of CARP packets is changed to IP address used as register_vif in Xorp: # tcpdump -n -i vlan97 proto 112 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on vlan97, link-type EN10MB (Ethernet), capture size 96 bytes 13:11:32.694192 IP 192.168.100.2 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:33.891182 IP 192.168.100.2 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:35.088237 IP 192.168.100.2 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:36.285276 IP 10.122.25.66 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:37.482275 IP 10.122.25.66 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:38.679312 IP 10.122.25.66 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 ^C Is it possible to run Xorp and CARP together? Or can somebody advise me other routing software with PIM-SM support? Here are some additional info: R1 host: ======== cat /etc/rc.conf.local: ----------------------- cloned_interfaces="vlan97 vlan71 carp97 carp71" ifconfig_vlan97="inet 192.168.100.2 netmask 255.255.255.0 vlan 97 vlandev em0" ifconfig_vlan71="inet 10.122.25.66 netmask 255.255.255.224 vlan 71 vlandev em0" ifconfig_carp97="vhid 1 pass XXXX advskew 500 192.168.100.1 255.255.255.0" ifconfig_carp71="vhid 2 pass XXXX advskew 50 10.122.25.65 255.255.255.224" cat /usr/local/xorp/etc/config.boot: ------------------------------------ interfaces { restore-original-config-on-shutdown: true interface vlan97 { description: "DMZ" disable: false default-system-config } interface vlan71 { description: "intranet" disable: false default-system-config } } fea { unicast-forwarding4 { disable: false } } plumbing { mfea4 { disable: false interface vlan71 { vif vlan71 { disable: false } } interface vlan97 { vif vlan97 { disable: false } } interface register_vif { vif register_vif { /* Note: this vif should be always enabled */ disable: false } } traceoptions { flag all { disable: false } } } } R2 host: ======== cat /etc/rc.conf.local: ----------------------- cloned_interfaces="vlan97 vlan71 carp97 carp71" ifconfig_vlan97="inet 192.168.100.3 netmask 255.255.255.0 vlan 97 vlandev em0" ifconfig_vlan71="inet 10.122.25.67 netmask 255.255.255.224 vlan 71 vlandev em0" ifconfig_carp97="vhid 1 pass XXXX advskew 200 192.168.100.1 255.255.255.0" ifconfig_carp71="vhid 2 pass XXXX advskew 200 10.122.25.65 255.255.255.224" Thanks Bohus Plucinsky
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060609113221.GD25880>