[NTLUG:Discuss] IP Aliasing Sanity Check

David Simmons dsimmons at powersmiths.com
Tue Jun 22 14:53:09 CDT 2004


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





More information about the Discuss mailing list