On 8/23/06, Serge Dubrouski <[EMAIL PROTECTED]> wrote:
On 8/23/06, Andrew Beekhof <[EMAIL PROTECTED]> wrote:
> On 8/23/06, Serge Dubrouski <[EMAIL PROTECTED]> wrote:
> > You are wrong. If you take a look at IPAddr from 2.0.7 you can seet this 
code:
> >
> >   IFCMD="$FINDIF $ipaddr/$netmask_bits/$iface_base/$broadcast"
> >   NICINFO=`$IFCMD`
> >
> >   rc=$?
> >   if [ $? -eq 0 ]; then
> >       netmask_text=`echo "$NICINFO" | cut -f2`
> >       broadcast=`echo "$NICINFO" | cut -f3`
> >  ....................................
> >
> > *)
> >           CMD="$IFCONFIG $iface $ipaddr $netmask_text $broadcast"
> >           ;;
> >
> >
> > It does not exist in the current CVS version. And script doesn't work
> > correctly because ifconfig under Linux wants regular netmask not cidr.
>
> Does every OS support the "regular" netmask?

I don't know. Probably BSD doesn't. But Linux goes unders that * and
it requires "regular".

OSX accepts both (so *BSD should be the same).

Matt, how about Solaris?
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to