On Fri, Sep 19, 2008 at 1:53 AM, Stuart Henderson <[EMAIL PROTECTED]>wrote:

> On 2008-09-18, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > 2008/9/18 Cezary Morga <[EMAIL PROTECTED]>
> >
> >> Dnia czwartek, 18 wrze6nia 2008, napisa3e6:
> >> > I understand the concept of an 8 bit integer. What I meant by
> >> > ambiguous is the acceptable ranges that are being used, assuming
> >> > vhid's are an 8-bit integer as well, although thats not explicitly
> >> > stated it sure looks like one, why isnt 0 acceptable?
> >>
> >> The ifconfig(8) manpage states:
> >> vhid n  If the driver is a carp(4) pseudo-device, set the virtual host
> >> ID to n.  Acceptable values are 1 to 255.
> >>
> >> And in the ifconfig.c you have:
> >>  vhid = strtonum(val, 1, 255, &errmsg);
> >>
> >
> > That was a rhetorical question. It makes little difference to me why I
> cant
> > set a vhid to 0. I asked it to make a point about your previous comment
> on
> > ambiguity.
> >
> >>
> >> > Ok then if this is true, then can anyone tell me what else would
> >> > prevent me from assigning 0 to the advbase.
> >>
> >> Common sense? You can set advbase to 0 and ifconfig won't complain about
> >> it, but it seems that somewhere between the lines ifconfig simply
> >> ignores such value and uses default or previously set. I haven't
> >> managed to find what it actually does in such situation, but I'm no C
> >> programmer.
> >>
> >
> > Common sense? Please. There are many examples on these lists of people
> > trying to accomplish crazier things then trying to lower there failover
> > times to something less then 3 seconds. Look I appreciate you attempting
> to
> > help and all, but if your going to be rude about it please dont bother.
>
> Did you see this from when it came up before?
> http://archive.netbsd.se/?ml=openbsd-bugs&a=2007-03&m=3363926
>
> Yah, I came across this and the guy said it worked great for him. Because
of marco's warnings, I was attempting to find a happy medium between the
posters advbase/skew settings and the defaults in a non-production network
when I ran into not being able to set the advbase to 0.

I actually found this little paragraph interesting in the full posting for
another reason given the current events in los angeles and the recent
metrolink train accident although Im sure there is no relation...

"I understand your point, however our setup is in a closed network (for
rail signalling, less than 15 km long). The network is well underused...
we use optical fiber and send only 200 packets per second through the
whole network. The switch over time must be under a second regardless of
the type of faiure. 200ms carp advertising rate works beautifully."


http://archive.netbsd.se/?ml=openbsd-bugs&a=2007-03&t=3355463

Reply via email to