[CentOS] Simple IP Question

Timothy Selivanow timothy.selivanow at virtualxistenz.com
Thu Jul 17 16:47:15 UTC 2008


On Thu, 2008-07-17 at 11:39 -0500, Matt wrote:
> So I added this:
> 
> /etc/sysconfig/network-scripts/ifcfg-eth0:0
> DEVICE=eth0
> BOOTPROTO=none
> BROADCAST=69.x.x.199
> HWADDR=00:x:x:x:c6:10
> IPADDR=69.x.x.195
> NETMASK=255.255.255.248
> NETWORK=69.x.x.192
> ONBOOT=yes
> GATEWAY=69.x.x.193
> TYPE=Ethernet
> 
> Now the only IP that works is the second one.  What am I doing wrong?

You want DEVICE=eth0:1 (or what ever your interface alias is)


--Tim




More information about the CentOS mailing list