The problem is that both files have lines that read DEVICE="eth0".

ifcfg-eth0:0 should read DEVICE="eth0:0"

Fix that, run "service network restart" and you'll be set.

On Tue, 2 Jul 2002, Jorge Reyes wrote:

> I have a standard install of Red Hat 7.3.
> I'm trying to setup virtual ip aliases to eth0.
> I have created the file named ifcfg-eth0:0 located at /etc/sysconfig/network-scripts
> However when I try to do a ifconfig eth0:0 up I get:
> 
>  ifconfig eth0:0 up
> SIOCSIFFLAGS: Cannot assign requested address
> 
> The ip address is correct.
> The eth0 ip addres is
> 
> the file ifcfg-eth0 reads
> 
> ##################
> more ifcfg-eth0
> DEVICE="eth0"
> ONBOOT="yes"
> BOOTPROTO="none"
> BROADCAST=10.0.7.255
> NETWORK=10.0.7.0
> NETMASK="255.255.255.0"
> IPADDR="10.0.7.210"
> USERCTL=no
> IPXNETNUM_802_2=""
> IPXPRIMARY_802_2="no"
> IPXACTIVE_802_2="no"
> IPXNETNUM_802_3=""
> IPXPRIMARY_802_3="no"
> IPXACTIVE_802_3="no"
> IPXNETNUM_ETHERII=""
> IPXPRIMARY_ETHERII="no"
> IPXACTIVE_ETHERII="no"
> IPXNETNUM_SNAP=""
> IPXPRIMARY_SNAP="no"
> IPXACTIVE_SNAP="no"
> #####################
> 
> the file ifcfg-eth0:0 reads
> ########################
> DEVICE="eth0"
> ONBOOT="yes"
> BOOTPROTO="none"
> BROADCAST=10.0.7.255
> NETWORK=10.0.7.0
> NETMASK="255.255.255.0"
> IPADDR="10.0.7.211-215"
> USERCTL=no
> IPXNETNUM_802_2=""
> IPXPRIMARY_802_2="no"
> IPXACTIVE_802_2="no"
> IPXNETNUM_802_3=""
> IPXPRIMARY_802_3="no"
> IPXACTIVE_802_3="no"
> IPXNETNUM_ETHERII=""
> IPXPRIMARY_ETHERII="no"
> IPXACTIVE_ETHERII="no"
> IPXNETNUM_SNAP=""
> IPXPRIMARY_SNAP="no"
> IPXACTIVE_SNAP="no"
> #####################
> 
> Any ideas.
> 
> I have Red Hat 7.1 and 7.2 with the same config on another server and it works with 
>no problems.
> 
> Thanks 
> 
> Jorge Reyes
> 
> 
> 
> _______________________________________________
> Seawolf-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/seawolf-list
> 



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to