Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2012 14:27:23 -0500 (EST)
From:      Chris Hill <chris@monochrome.org>
To:        Fbsd8 <fbsd8@a1poweruser.com>
Cc:        Polytropon <freebsd@edvax.de>, Mikel King <mikel.king@olivent.com>, freebsd-questions@freebsd.org
Subject:   Re: static ip address and ifconfig
Message-ID:  <alpine.BSF.2.00.1212291421140.54000@tripel.monochrome.org>
In-Reply-To: <50DF41C8.5010503@a1poweruser.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> <50DF41C8.5010503@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Dec 2012, Fbsd8 wrote:

[ ... ]

> My host just has ifconfig_xl0="DHCP" in rc.conf and xl0 is the NIC 
> connected to public internet connection coming from my ISP.

In that case, you are not using static IPs. If your ISP has assigned you 
- as in Poly's example - 123.456.789.1 through 123.456.789.25, then 
those addresses are for your use to assign as you see fit. You would 
configure this machine's interface for any address in that block. You 
can then configure the same interface for more than one of those, or use 
your extra IPs for other machines (or interfaces). Instead of 
ifconfig_xl0="DHCP" in rc.conf, you might have 
ifconfig_xl0="123.456.789.16 255.255.255.128" or some such.

HTH.

-- 
Chris Hill               chris@monochrome.org
**                     [ Busy Expunging </> ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1212291421140.54000>