static ip address and ifconfig

Polytropon freebsd at edvax.de
Sat Dec 29 18:52:41 UTC 2012


On Sat, 29 Dec 2012 13:45:53 -0500, Fbsd8 wrote:
> For anyone being a professional company who wants permanent presents on 
> the internet will pay extra fees for static ip
> address because static ip address never change and this is required for
> domain name registration. Dynamic ip address are normally assigned by the
> ISP for home users having dsl or tv cable internet connections. Dynamic
> ip address can change and if used for domain name registration the users
> FQDN will no longer point to the correct host.

Correct.



> Now to return to the original question.
> Say I am a professional company and my ISP assigned me 25 static ip address.
> What will ifconfig show me on the interface facing the public internet?
> Just the single primary static ip address or all 25 of them in a list?

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
        inet 123.456.789.7 netmask 0xffffff00 broadcast 123.456.789.255
[...]
        inet 123.456.789.21 netmask 0xffffff00 broadcast 123.456.789.255
        inet 123.456.789.22 netmask 0xffffff00 broadcast 123.456.789.255
        inet 123.456.789.23 netmask 0xffffff00 broadcast 123.456.789.255
        inet 123.456.789.24 netmask 0xffffff00 broadcast 123.456.789.255
        inet 123.456.789.25 netmask 0xffffff00 broadcast 123.456.789.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

However, I've not seen that in reality. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list