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".



>
> On 8/23/06, Alan Robertson <[EMAIL PROTECTED]> wrote:
> > Serge Dubrouski wrote:
> > > Is anybody working on restoring functionality of IPaddr in CVS? For
> > > some reason netmask_text was taken off in add_inteface function and
> > > now it doesn't work correctly because ifconfig under Linux doesn't
> > > like cidr netmasks.
> >
> > Well... it has ALWAYS required cidr netmasks AFAIK.
> >
> > Something may have broken in terms of the code, but it certainly used to
> > work -- before all the OCF conversion cruft -- and it NEVER supported
> > anything but CIDR netmasks before that.
> >
> >
> >
> >
> > --
> >     Alan Robertson <[EMAIL PROTECTED]>
> >
> > "Openness is the foundation and preservative of friendship...  Let me
> > claim from you at all times your undisguised opinions." - William
> > Wilberforce
> > _______________________________________________________
> > Linux-HA-Dev: [email protected]
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > Home Page: http://linux-ha.org/
> >
> _______________________________________________________
> Linux-HA-Dev: [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

_______________________________________________________
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