[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: ip aliasing



Or you can modify the alias config file directly.
The file is in:

/etc/ifaliases

and follow the example in the file.

Henry

-----Original Message-----
From: owner-misc@openbsd.org [mailto:owner-misc@openbsd.org]On Behalf Of
John Kerbawy
Sent: Thursday, March 02, 2000 3:32 PM
To: delta
Cc: misc@openbsd.org
Subject: Re: ip aliasing


| Any body know how can i set up ip alias in OpenBSD?
| How can i setup interface de:0 for it?
| ifconfig de0:0 192.168.0.3 netmask 255.255.255.0 up

<man page>

SYNOPSIS

ifconfig interface [address_family]

Available operands for ifconfig:

alias     Establish an additional network address for this inter-face.
          This is sometimes useful when changing network numbers, and one
          wishes to accept packets addressed to the old interface.

</man page>

Hence:

ifconfig de0 alias 192.168.0.3 netmask 255.255.255.0 up

__
.j0hn [john@maKintosh.com]

"I never let my schooling interfere with my education." -- Mark Twain