Mr. Saltzman,
The command to do this is similar to the following (from the Net-3-howto
section 6.5):
ifconfig eth0:0 <ipnumber> netmask <netmask> up
route add -n <network address> netmask <netmask> eth0
Also, there are a few scripts that define the setup for the ethernet
adapters, I have one script on my system called I believe called
"ifcfg-eth0", I don't remember exactly and not being in linux at the current
moment can not tell you exactly which.
This script is located in the "/etc/sysconfig/network-scripts" directory. If
you copy this script to ifcfg-eth0:0, again I am not sure of the exact
script name, but adD ":0" to the end of the original name. Edit the file you
copied to have the correct DEVICE (eth0:0 for the first alias), ip number,
netmask, etc. If you do this incrementing the number after the ":" for each
interface they should automatically start when the machine is booted.
[Thanks to Mihai Ibanescu for explaining this to me, what goes around comes
around.]
If you need a better explaination let me know and I'll boot to linux and
look it up for you.
Chad
> I want to configure a web server that will answer requests for multiple
> machine names (e.g., www.example.com, www2.example.com, etc), displaying
> different home pages depending on the destination name. The machine
> has a single network connection. One technique for accomplishing this
> virtual hosting task is to give each of the machine names its own IP.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.