RE: help with multihoming setting 2 IP addresses to 1 NIC card

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

 



>-----Original Message-----
>From: Dave Martini 1 [mailto:martini@xxxxxxxxxxxxxxxxxx]
>Sent: Monday, November 10, 2003 5:20 PM
>To: redhat-list@xxxxxxxxxx
>Subject: help with multihoming setting 2 IP addresses to 1 NIC card
>
>
>I've got a RHEL 2.1 install with one nic card.
>I want to set a 2nd. IP address for this machine.
>
>Can someone  tell me how this is done?
>
>/etc/sysconfig/network-scripts has a file called
>
>ifcfg-eth0
>
>Do I somehow create another file called
>
>ifcfg-eth0:1 
>
>with the 2nd. IP address in it?
>
>Will ifconfig -a show me the 2nd. IP address?

if you do a /sbin/service network restart or a /sbin/ifup eth0:1


also, you can make an ip alias by:

netconfig -d eth0:1

>Thanks much.
>David Martini
>LLNL

hth.

/erik


-- 
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