[NTLUG:Discuss] Newbie Question NIC / IP address

Bug Hunter bughuntr at one.ctelcom.net
Mon Dec 17 19:04:32 CST 2001


  from the command line, as root:

 ifconfig eth0:1 172.16.1.1 netmask 255.255.255.0

  in /etc/syconfig/network-scripts  copy ifcfg-eth0 to ifcfg-eth0:1, and
edit the device=eth0 to device=eth0:1 and change the other parameters.
Then do /etc/rc.d/init.d/network restart

  Note that you can use linuxconf, webmin, and a host of other programs to
do this.  However, by hand, you at least know what is going on "behind the
scenes"



On Mon, 17 Dec 2001, Douglas King wrote:

> In Red Hat 7.2, can you assign more than one IP (routable or not) to a 
> single NIC?  If so...please advise how.
> 





More information about the Discuss mailing list