I figured it out. Actually it is very simple. After I checked config.log I found misssing header file pcap.h, so I installed libpcap-devel on my development machine and rebuilt the xorp. Vrrp is running much better than before. If I run vrrp only on one router, the default ip address and virtual MAC are propagated to the network. But when I tried to set "ip <IPv4>", it seems not taken. I am investigating this now. Also I need to run vrrp on two routers to test failover.
--- On Tue, 3/9/10, Ben Greear <[email protected]> wrote: > From: Ben Greear <[email protected]> > Subject: Re: [Xorp-hackers] VRRP error > To: "Li Zhao" <[email protected]> > Cc: [email protected] > Date: Tuesday, March 9, 2010, 10:36 AM > On 03/09/2010 07:30 AM, Li Zhao > wrote: > > You are right. In my build "HAVE_PCAP" is not defined. > Do I need to turn > > on compile flag "HAVE_PCAP_SENDPACKET" too? > > You should figure out why it isn't defined by the configure > logic. > Probably it isn't installed or detected properly on your > system. > > Likely this just works in SVN and/or my branch. > > Sticking with 1.6 is going to keep you from taking > advantage of any bug fixes that other > folks put into the new code. It seems several people > are interested in VRRP, > so if you move to the development branch, it's likely you > can pool your > efforts by posting patches and discussing bugs you're > finding. > > I'll merge anything that looks useful into my tree in case > you want to > base off of it. > > If there are any technical reasons to not move to my tree > or SVN, please > let me know..maybe I can address them. > > Thanks, > Ben > > -- Ben Greear <[email protected]> > Candela Technologies Inc http://www.candelatech.com > > _______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
