Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2012 14:17:28 -0500
From:      Fbsd8 <fbsd8@a1poweruser.com>
To:        Mikel King <mikel.king@olivent.com>
Cc:        Polytropon <freebsd@edvax.de>, freebsd-questions@freebsd.org
Subject:   Re: static ip address and ifconfig
Message-ID:  <50DF41C8.5010503@a1poweruser.com>
In-Reply-To: <0DC2CDCE-7A58-4F5D-AD27-6A4B46DD05ED@olivent.com>
References:  <50DF24BC.20507@a1poweruser.com> <20121229124207.110dca60@europa> <50DF30EA.1030408@a1poweruser.com> <20121229191604.cff1a883.freebsd@edvax.de> <0DC2CDCE-7A58-4F5D-AD27-6A4B46DD05ED@olivent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 >>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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu >1500
 > options=80008<VLAN_MTU,LINKSTATE>
 > 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.







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50DF41C8.5010503>