The following reply was made to PR kern/126714; it has been noted by GNATS.

From: "Artis Caune" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: kern/126714: [carp] CARP interface renaming makes system no longer 
respond on the virtual IP address
Date: Mon, 25 Aug 2008 13:05:55 +0300

 Same for me, but when I rename carp interface to original name,
 everything works.
 
 
 
 
 When you change carp0 name to new_name, ifconfig will:
   - announce that carp0 is gone (departure)
   - copy new_name to if_xname
   - announce that new_name has arrived
 
 carp check only departure events.
 
 When you change name of carp interface, mac address also change:
   from 00:00:5e:00:01:08 to 70:31:00:00:5e:00 (for me)
 
 And because new mac address is no longer CARP mac address,
 carp_forus() fail, M_PROMISC flag is not cleared and frame is
 discarded.
 
 
 
 
 If you need change names at run time and not in rc.conf, then you
 should reinitialize carp interface:
 # ifconfig new_name vhid 1 pass testpass 192.168.0.2/24
 or set promisc flag on em0/em1 :)
 
 btw, don't change name to "carp" or your box will panic.
 
 p.s.
 if you change name to underlying em0/em1/lagg/vlan interface, you
 should also reinitialize carp interface or you will see:
   carp_input: packet received on non-carp interface: bce0
 
 
 
 
 -- 
 regards,
 Artis Caune
 
 <----. CCNA
 <----|====================
 <----' didii FreeBSD
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to