From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6fde6a512cde7bdd X-Google-Attributes: gidfee84,public From: Hugh Messenger Subject: Re: Adding a second IP to an Alpha/OSF box Date: 1996/01/29 Message-ID: <310D405A.15FB@garply.com>#1/1 X-Deja-AN: 137058450 references: <4e5ri7$g68@amhux3.amherst.edu> <4edqvi$8ni@cherokee.advtech.uswest.com> content-type: text/plain; charset=us-ascii organization: Net Results, Inc. mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 2.0b6a (X11; I; OSF1 V3.2 alpha) Brian Field wrote: > > In article <4e5ri7$g68@amhux3.amherst.edu>, > Jamie Cash wrote: > > I'm trying to set up a virtual hosting environment on our > >webserver (an Alpha/OSF system). Is there a relatively simple > >way to add a second IP number/interface to the box? > > If you want to bind additional IP addresses to an existing interface, check > out the alias option for ifconfig. /etc/rc.config is a good place to look as well. Here's the relevant section of mine: NUM_NETCONFIG="8" MAX_NETDEVS="24" NETDEV_0="ln0" NETDEV_1="ln0" NETDEV_2="ln0" NETDEV_3="ln0" NETDEV_4="ln0" NETDEV_5="ln0" NETDEV_6="ln0" NETDEV_7="ln0" IFCONFIG_0="165.113.188.2 netmask 255.255.255.0" IFCONFIG_1="165.113.188.42 netmask 255.255.255.0" IFCONFIG_2="165.113.188.44 netmask 255.255.255.0" IFCONFIG_3="165.113.188.46 netmask 255.255.255.0" IFCONFIG_4="165.113.188.47 netmask 255.255.255.0" IFCONFIG_5="165.113.188.61 netmask 255.255.255.0" IFCONFIG_6="165.113.188.57 netmask 255.255.255.0" IFCONFIG_7="165.113.188.66 netmask 255.255.255.0" > Brian -- hugh