[NTLUG:Discuss] IP Aliasing Sanity Check
Cameron, Thomas
Thomas.Cameron at bankofamerica.com
Tue Jun 22 15:04:57 CDT 2004
A couple of points/questions...
What distro is this? This is definitely not the way you want to do it if it's Red Hat.
Why are you adding a route to the host? It isn't necessary.
Thomas Cameron, RHCE, CNE, MCSE, MCT
Bank of America
Linux Design and Engineering
-----Original Message-----
From: discuss-bounces at ntlug.org on behalf of David Simmons
Sent: Tue 6/22/2004 2:53 PM
To: discuss at ntlug.org
Cc:
Subject: [NTLUG:Discuss] IP Aliasing Sanity Check
Guys,
I have a machine that's off-site...and I'm hoping to run the following
by you to 'double-check' if this will work correctly (and hence save a
trip).
Want to add an IP Alias to eth0...have made the following changes to
/etc/rc.d/rc.local:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
# Added by DAVE for IP Aliasing auto-setup
echo "Setting up IP Alias";
ifconfig eth0:0 66.12.218.123
route add -host 66.12.218.123 dev eth0:0
_______________________________________________
https://ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list