[NTLUG:Discuss] Newbie Question NIC / IP address

Bug Hunter bughuntr at one.ctelcom.net
Mon Dec 17 19:05:30 CST 2001


 taking a laptop to a new location and not redoing the network settings
from scratch?

On Mon, 17 Dec 2001, Matt Caldwell wrote:

> Quick "newb" question.
> What is the purpose of doing this??  
> 				--matt
> 
> -----Original Message-----
> From: discuss-admin at ntlug.org [mailto:discuss-admin at ntlug.org] On Behalf
> Of Jack Snodgrass
> Sent: Monday, December 17, 2001 3:59 PM
> To: discuss at ntlug.org
> Subject: Re: [NTLUG:Discuss] Newbie Question NIC / IP address
> 
> 
> 
> ----- Original Message ----- 
> From: "Douglas King" <daking at dak1.net>
> To: <discuss at ntlug.org>
> Sent: Monday, December 17, 2001 3:36 PM
> Subject: [NTLUG:Discuss] Newbie Question NIC / IP address
> 
> 
> > In Red Hat 7.2, can you assign more than one IP (routable or not) to a
> > single NIC?  If so...please advise how.
> > 
> > Thanks
> 
> People don't like linuxconf, but I never had any problems with it. 
> The easy way to do what you want is to 
> 1). install linuxconf from the 2nd 7.2 RedHat cd
> 2). use linuxconf to go into the Server Part of the Networking section
> 3). once there, select alias for ethX ( your nic ) 
> 4). add the additional IPs. 
> exit out of linuxconf and do a /etc/rc.d/init.d/network restart and you
> should have your new ips active. 
> 
> You can manually enter stuff via the /etc/rc.d/rc.local file. At the 
> bottom of the file add:
> /sbin/ifconfig ethX:0 xxx.xxx.xxx.xxx
> /sbin/ifconfig ethX:1 xxx.xxx.xxx.xxx
> etc. 
> 
> ifconfig will show you all of your devices. 
> The ones with ':X' where X is a number is a IP Alias. 
> 
> jack





More information about the Discuss mailing list