On Thu, Mar 06, 2003 at 11:32:11AM +0100, forums wrote:
> 
> Anyone knows how to set two IP addresses on one NIC ?
> should be simple i think ?

Yup. Take a look at /etc/sysconfig/network-scripts/ifup-aliases
where this is well explained.

Basically, you'll need to create the file
/etc/sysconfig/network-scripts/ifcfg-ethX-range0
where ethX is the network interface in question.

The file should contain:
IPADDR_START="192.168.30.1"
IPADDR_END="192.168.30.1"
CLONENUM_START="0"

Restarting the network service will create a ethX:0 alias
for ethX which will be using the IP address 192.168.30.1 .

Emmanuel



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to