On May 14, 16:37, Paulette Koble wrote:
Also possible is using Sun-style IP aliasing:
ifconfig tu0 inet 10.0.0.2 netmask 0xffffff00
ifconfig tu0:1 inet 10.0.0.3 netmask 0xffffff00
ifconfig tu0:2 inet 10.0.0.4 netmask 0xffffff00
This style of IP aliasing works well with the stock /usr/sbin/rcinet, which
gets its configuration information from /etc/rc.config (in turn set by the
stock /usr/sbin/setup). Just edit /etc/rc.config to read;
NUM_NETCONFIG="3"
NETDEV_0="tu0"
NETDEV_1="tu0:1"
NETDEV_2="tu0:2"
IFCONFIG_0="10.0.0.2 netmask 255.255.255.0"
IFCONFIG_1="10.0.0.3 netmask 255.255.255.0"
IFCONFIG_2="10.0.0.4 netmask 255.255.255.0"
... or use setup to manually configure tu0, tu0:1 and tu0:2 seperately.
If anyone knows of a problem with this style of configuration, please let
me know.
--
garth_at_dogbert.systems.sa.gov.au | Garth Kidd
+61-8-207-7740 (voice) | Network Services
+61-8-207-7860 (fax) | EDS
| Adelaide, AUSTRALIA
Received on Thu May 16 1996 - 08:11:32 NZST