RE: Multiple IPs on single interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eth0:1 not eth0:0:1

Regards

Thing

-----Original Message-----
From: Jason Williard [mailto:jason@xxxxxxxxxx] 
Sent: Tuesday, 15 February 2005 6:57 p.m.
To: redhat-list@xxxxxxxxxx
Subject: Multiple IPs on single interface

Hello,

I have a box with Red Hat Enterprise Linux ES release 3 installed on it.
Today, I acquired 2 additional IP addresses for it.  I can add the IP
addresses using the following commands, but they are not permanent.

# ifconfig eth0 add xxx.xxx.xxx.xxx netmask 255.255.254.0
# ifconfig eth0:0 add xxx.xxx.xxx.xxx netmask 255.255.254.0

As this was not making it permanent, I created 2 files (ifcfg-eth0:0 &
ifcfg-eth0:0:1) inside the /etc/sysconfig/network-scripts/ directory.  The
first file works and interface eth0:0 comes up at startup.  However, the
second interface stays down.  Below is the content of the two files:

ifcfg-eth0:0
---
DEVICE=eth0:0
ONBOOT=yes
BOOTPROTO=static
IPADDR=xxx.xxx.xxx.xxx
NETMASK=255.255.254.0
GATEWAY=xxx.xxx.xxx.xxx
HWADDR=00:00:00:00:00:00
---

ifcfg-eth0:0:1
---
DEVICE=eth0:0:1
ONBOOT=yes
BOOTPROTO=static
IPADDR=xxx.xxx.xxx.xxx
NETMASK=255.255.254.0
GATEWAY=xxx.xxx.xxx.xxx
HWADDR=00:00:00:00:00:00
---


---
Thank You,
Jason Williard
PCSafe, Inc.
 
 




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux