From owner-freebsd-questions@FreeBSD.ORG Sat Dec 29 19:17:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6DF4CACE for ; Sat, 29 Dec 2012 19:17:28 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4C3198FC08 for ; Sat, 29 Dec 2012 19:17:28 +0000 (UTC) Received: from [10.0.10.3] ([173.88.197.103]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 29 Dec 2012 11:17:29 -0800 Message-ID: <50DF41C8.5010503@a1poweruser.com> Date: Sat, 29 Dec 2012 14:17:28 -0500 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Mikel King Subject: Re: static ip address and ifconfig References: <50DF24BC.20507@a1poweruser.com> <20121229124207.110dca60@europa> <50DF30EA.1030408@a1poweruser.com> <20121229191604.cff1a883.freebsd@edvax.de> <0DC2CDCE-7A58-4F5D-AD27-6A4B46DD05ED@olivent.com> In-Reply-To: <0DC2CDCE-7A58-4F5D-AD27-6A4B46DD05ED@olivent.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Dec 2012 19:17:29.0954 (UTC) FILETIME=[2554BC20:01CDE5F9] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: Polytropon , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Dec 2012 19:17:28 -0000 >>Mikel King wrote: >> It will show you each IP address you have successfully bound >> to the interface. Using static IP addresses; the choice is yours >> on which get bound to the interface and which do not where as >> with DHCP the one chosen by the provider is assigned. >> >> If you bind only one then that is what it will show you. >> >Polytropon wrote: >If all 25 IP addresses are configured to be provided "through" >the one network connection (either directly by ethernet port >or through some kind of DSL modem), the interface would show >all 25 addresses, like this: > >xl0: flags=8843 metric 0 mtu >1500 > options=80008 > ether 01:23:45:67:89:ff > inet 123.456.789.1 netmask 0xffffff00 broadcast 123.456.789.255 > inet 123.456.789.2 netmask 0xffffff00 broadcast 123.456.789.255 > inet 123.456.789.3 netmask 0xffffff00 broadcast 123.456.789.255 > inet 123.456.789.4 netmask 0xffffff00 broadcast 123.456.789.255 > inet 123.456.789.5 netmask 0xffffff00 broadcast 123.456.789.255 > inet 123.456.789.6 netmask 0xffffff00 broadcast 123.456.789.255 > snip same line for rest of 25 ip's > > However, I've not seen that in reality. :-) OK now were getting closer to real understanding of what is happening. Your both imply that there is some way to control which static ip address the ISP will forward to my NIC facing the public internet. This is the meat of the my question. How is this done? My host just has ifconfig_xl0="DHCP" in rc.conf and xl0 is the NIC connected to public internet connection coming from my ISP.