Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 1999 02:59:05 +0200
From:      Roelof Osinga <roelof@eboa.com>
To:        Donald Burr <dburr@pobox.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: IP aliasses
Message-ID:  <37781A59.9C2CE07E@eboa.com>
References:  <XFMail.990628133619.dburr@pobox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Donald Burr wrote:
> 
> man 8 ifconfig, and look at /etc/rc.conf.  Here is an example from my own
> machine (My interface card is pn0, replace it with ed0 or whatever is
> appropriate for your system).  IP addresses have been changed to protect
> the innocent.
> 
> ifconfig_pn0="inet A.B.C.D netmask 255.255.255.0"
>         # this is my own IP address for my home network
> ifconfig_pn0_alias0="inet E.F.G.H netmask 255.255.255.0"
>         # this is the IP address given to me by my ADSL provider

Things like that, yes. Thanks. Would have never guessed that from:

     The following parameters may be set with ifconfig:

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

Also, let us not forget rc.network. That is, after all, what iterates the 
aliases <g>. This is just a for the record, mind you.

Thanks, I'll give it a shot.

Roelof

-- 
Home is where the (@) http://eboa.com/ is.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37781A59.9C2CE07E>