From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,4cd1fa076fc98253 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-10-31 08:51:38 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.stanford.edu!news-proxy.abbnm.com!newsboy.eng.abbnm.com!not-for-mail From: peter@abbnm.com (Peter da Silva) Newsgroups: comp.unix.tru64 Subject: Re: 2 IP's on 1 NIC ? Date: Fri, 31 Oct 2003 16:48:39 +0000 (UTC) Organization: ABB Inc., Network Management Division Message-ID: References: <3544997.1067601360@dbforums.com> NNTP-Posting-Host: grendel.eng.abbnm.com X-Trace: jeeves.eng.abbnm.com 1067618919 74108 198.178.0.150 (31 Oct 2003 16:48:39 GMT) X-Complaints-To: usenet@jeeves.eng.abbnm.com NNTP-Posting-Date: Fri, 31 Oct 2003 16:48:39 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: peter@abbnm.com (Peter da Silva) Xref: archiver1.google.com comp.unix.tru64:10875 In article <3544997.1067601360@dbforums.com>, sung min cho wrote: > Is that possible, have 2 IP's on same NIC (Interface) ? The option to ifconfig is alias, eg: # ifconfig tu0 alias 192.168.0.101 netmask 255.255.255.0 To make it permanent... in the rc.config file, before: NUM_NETCONFIG="2" MAX_NETDEVS="24" NETDEV_0="tu0" NETDEV_1="tu1" NETDEV_2= IFCONFIG_0="10.0.0.150 netmask 255.255.255.0 speed 100 broadcast 10.0.0.255" IFCONFIG_1="192.168.0.150 netmask 255.255.255.0 speed 200" IFCONFIG_2= After: NUM_NETCONFIG="3" MAX_NETDEVS="24" NETDEV_0="tu0" NETDEV_1="tu1" NETDEV_2="tu1" IFCONFIG_0="10.0.0.150 netmask 255.255.255.0 speed 100 broadcast 10.0.0.255" IFCONFIG_1="192.168.0.150 netmask 255.255.255.0 speed 200" IFCONFIG_2="alias 192.168.0.101 netmask 255.255.255.0" -- I've seen things you people can't imagine. Chimneysweeps on fire over the roofs of London. I've watched kite-strings glitter in the sun at Hyde Park Gate. All these things will be lost in time, like chalk-paintings in the rain. `-_-' Time for your nap. | Peter da Silva | Har du kramat din varg, idag? 'U`