Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* multiple ip-addresses on networkinterface
@ 2000-02-28  5:00 Thomas Bluhm
  2000-03-03  5:00 ` Arnaud LHUILLIER
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Bluhm @ 2000-02-28  5:00 UTC (permalink / raw)


Hi,

is it possible to bind multiple ip-adresses on one networkinterface?
The reason is, the clients on the network 192.168.4 (private network)
would reached the server direct, not over router. On the other site, the
server would reached the internet also direct, not over proxy or other.
An example, what I mean: ( ip-addresses are fake)

first address: (official network)

name: foo-2
ip: 192.168.2.66
subnetmask: 255.255.255.64
gateway: 192.168.2.126

second address: (private network)

name: foo-4
ip: 192.168.4.2
subnetmask: 255.255.255.0
gateway: himself

How can I do that or which files must I change.

thanks for every help





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

* Re: multiple ip-addresses on networkinterface
  2000-02-28  5:00 multiple ip-addresses on networkinterface Thomas Bluhm
@ 2000-03-03  5:00 ` Arnaud LHUILLIER
  0 siblings, 0 replies; 3+ messages in thread
From: Arnaud LHUILLIER @ 2000-03-03  5:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 935 bytes --]

edit or create a file /etc/inet.local
in this file insert
ifconfig tu0 alias 192.168.1.10 netmask 255.255.255.0
I suppose tu0 is you interface


Thomas Bluhm <bluhm@fh-brandenburg.de> a �crit dans le message :
38BA942E.C9979F40@fh-brandenburg.de...
> Hi,
>
> is it possible to bind multiple ip-adresses on one networkinterface?
> The reason is, the clients on the network 192.168.4 (private network)
> would reached the server direct, not over router. On the other site, the
> server would reached the internet also direct, not over proxy or other.
> An example, what I mean: ( ip-addresses are fake)
>
> first address: (official network)
>
> name: foo-2
> ip: 192.168.2.66
> subnetmask: 255.255.255.64
> gateway: 192.168.2.126
>
> second address: (private network)
>
> name: foo-4
> ip: 192.168.4.2
> subnetmask: 255.255.255.0
> gateway: himself
>
> How can I do that or which files must I change.
>
> thanks for every help
>
>





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

* Re: multiple ip-addresses on networkinterface
@ 2000-03-10  5:00 news-reader
  0 siblings, 0 replies; 3+ messages in thread
From: news-reader @ 2000-03-10  5:00 UTC (permalink / raw)




Arnaud LHUILLIER wrote:
> 
> edit or create a file /etc/inet.local
> in this file insert
> ifconfig tu0 alias 192.168.1.10 netmask 255.255.255.0
> I suppose tu0 is you interface
> 

Actually, on Digital Unix / OSF1 / Tru64 the correct file to edit is
/etc/rc.config. Increase the value of MAX_NETDEVS to 2 (or however many
aliases you want). Change the entry for NETDEV_1 (and NETDEV_2, etc. if
needed) to tu0 (or whatever is used for NETDEV_0). Finally, change the
value for IFCONFIG_1 to "alias 192.168.4.2 netmask 255.255.255.0". When
you reboot next, use "ifconfig -a" to verify that everything is
configured as expected.


______________________________________________________________________________
Total Internet privacy -- get your Freedom pseudonym at http://www.freedom.net




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

end of thread, other threads:[~2000-03-10  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-28  5:00 multiple ip-addresses on networkinterface Thomas Bluhm
2000-03-03  5:00 ` Arnaud LHUILLIER
  -- strict thread matches above, loose matches on Subject: below --
2000-03-10  5:00 news-reader

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