Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* 2 IP's on 1 NIC ?
@ 2003-10-31 11:56 sung min cho
  2003-10-31 12:57 ` [Sauron De Mordor]
  2003-10-31 16:48 ` Peter da Silva
  0 siblings, 2 replies; 3+ messages in thread
From: sung min cho @ 2003-10-31 11:56 UTC (permalink / raw)



Hi all,



Is that possible, have 2 IP's on same NIC (Interface) ?



Thanks for any help..



Have a nice day!


--
Posted via http://dbforums.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2 IP's on 1 NIC ?
  2003-10-31 11:56 2 IP's on 1 NIC ? sung min cho
@ 2003-10-31 12:57 ` [Sauron De Mordor]
  2003-10-31 16:48 ` Peter da Silva
  1 sibling, 0 replies; 3+ messages in thread
From: [Sauron De Mordor] @ 2003-10-31 12:57 UTC (permalink / raw)




sung min cho wrote:

> Hi all,
> 
> 
> 
> Is that possible, have 2 IP's on same NIC (Interface) ?
> 
> 
> 

with alias

ifconfig tu0 alias w.x.y.z


> Thanks for any help..
> 
> 
> 
> Have a nice day!
> 
> 
> --
> Posted via http://dbforums.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2 IP's on 1 NIC ?
  2003-10-31 11:56 2 IP's on 1 NIC ? sung min cho
  2003-10-31 12:57 ` [Sauron De Mordor]
@ 2003-10-31 16:48 ` Peter da Silva
  1 sibling, 0 replies; 3+ messages in thread
From: Peter da Silva @ 2003-10-31 16:48 UTC (permalink / raw)


In article <3544997.1067601360@dbforums.com>,
sung min cho  <member46343@dbforums.com> 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`


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-31 16:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-31 11:56 2 IP's on 1 NIC ? sung min cho
2003-10-31 12:57 ` [Sauron De Mordor]
2003-10-31 16:48 ` Peter da Silva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox