On Thu, 8 Oct 1998 [EMAIL PROTECTED] wrote:
> There is no ifcfg-aliases in the network-scripts dir. there is ifcfg-eth0:0,
> inside the file is
Oops, sorry, this is ifup-aliases. This is the script that reads the
various ifcfg-xxx:y files and enable each aliases with the command
/sbin/ifconfig xxx:y IP-number
add the proper netmask there (255.255.255.255).
> IPADDR="x.x.x.x"
>
> I added to it
> NETMASK="255.255.255.224"
>
> but it site actives all the aliases with 255.255.255.0
>
> any ideas
>
> RH 5.1 with 1.12 rev 6
>
> Thanks
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jacques Gelinas
> Sent: Thursday, October 08, 1998 5:20 PM
> To: Linuxconf Mailing List
> Subject: [linuxconf] Re: Help with IP Aliases
>
>
> On Wed, 7 Oct 1998 [EMAIL PROTECTED] wrote:
>
> > Jacques is there any way to set the netmask for IP aliases in linuxconf, I
> > need a netmask of 255.255.255.224 on all the aliases on eth0. I can set
> this
> > by hand in rc.local and the routes but everytime I go to "Activate
> Changes"
> > in Linuxconf it deletes them.
>
> I guess you are on redhat-5.1. You can fix this problem by fixing the
> script /etc/sysconfig/network-scritps/ifcfg-aliases. Locate the line
>
> /sbin/ifconfig $arg1 $arg2
>
> and modify it this way
>
> /sbin/ifconfig $arg1 $arg2 netmask 255.255.255.255
>
> Keep me posted!
>
> --------------------------
> Jacques Gelinas
> [EMAIL PROTECTED]
>
>
>
>
> ---
> You are currently subscribed to linuxconf as: [EMAIL PROTECTED]
> To unsubscribe, forward this message to [EMAIL PROTECTED]
>
>
> ---
> You are currently subscribed to linuxconf as: [EMAIL PROTECTED]
> To unsubscribe, forward this message to [EMAIL PROTECTED]
>
>
--------------------------
Jacques Gelinas
[EMAIL PROTECTED]
---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]