[NTLUG:Discuss] IP Aliasing Sanity Check

Cameron, Thomas Thomas.Cameron at bankofamerica.com
Tue Jun 22 15:28:51 CDT 2004


Please forgive the HTML posting - I'm using OWA (my Windows laptop is being rebuilt - big surprise) and I can't control the mail format.

There is a tool for automatically creating the correct files in /etc/sysconfig/network-scripts and /etc/sysconfig/networking.  It's /usr/sbin/netconfig.  Call it like this:

netconfig -d eth0:0

And fill in the four blanks.

It will create all the files you need and then you can just do ifup eth0:0 to make sure that it is configured like you expect it to be.

Be aware that it tends to screw up /etc/resolv.conf (can remove the domain and search entries).  But other than that it seems to work quite well.

You can also run /usr/sbin/system-config-network under Fedora to have a more full-featured network interface management tool.

Cheers!
Thomas

-----Original Message-----
From:	discuss-bounces at ntlug.org on behalf of David Simmons
Sent:	Tue 6/22/2004 3:18 PM
To:	discuss at ntlug.org
Cc:	
Subject:	RE: [NTLUG:Discuss] IP Aliasing Sanity Check
On Tue, 2004-06-22 at 15:04, Cameron, Thomas wrote:
> What distro is this?  This is definitely not the way you want to do it if it's Red Hat.

Fedora Core2

> Why are you adding a route to the host?  It isn't necessary.

After 'googling' for an answer - that's what they showed and it
worked...figured I didn't need to question it...grin

should I just add an eth0:0 file in /etc/sysconfig?

Thanks - Dave




More information about the Discuss mailing list