2011/12/3 Snoop <sn...@email.it>:
> Hi there, I've a doubt!
> I have 3 jails within the host xxx.xxx.26.224 configured in this way
> (below) and everything works well.
> What if I want to enable another jail but I don't want to assign to that
> my next available public ip address xxx.xxx.26.228/24 but I want this
> jail to have a private ip address like 172.16.1.2/27?
> Is that possible or it's a delirium?
> I don't want to waste my public ip address for a jail which I want to
> have a network configured but not to be publicly visible.
>
> Many thanks in advance.
>
> lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
> 1500
>
> options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
>        ether 00:14:5e:ee:2b:c0
>        inet xxx.xxx.26.224 netmask 0xffffff00 broadcast xxx.xxx.26.255
>        inet xxx.xxx.26.225 netmask 0xffffffff broadcast xxx.xxx.26.225
>        inet xxx.xxx.26.226 netmask 0xffffffff broadcast xxx.xxx.26.226
>        inet xxx.xxx.26.227 netmask 0xffffffff broadcast xxx.xxx.26.227
>        media: Ethernet autoselect
>        status: active
>        laggproto failover
>        laggport: bge1 flags=0<>
>        laggport: bge0 flags=5<MASTER,ACTIVE>
>


Create an Alias

Example:

ifconfig_em0_alias0="inet 192.0.2.9 netmask 255.255.255.255"


http://blather.michaelwlucas.com/archives/1021

Regards.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to