2011/12/3 Snoop <snoop@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=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
> 1500
>
> options=3D8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTA=
TE>
> =A0 =A0 =A0 =A0ether 00:14:5e:ee:2b:c0
> =A0 =A0 =A0 =A0inet xxx.xxx.26.224 netmask 0xffffff00 broadcast xxx.xxx.2=
6.255
> =A0 =A0 =A0 =A0inet xxx.xxx.26.225 netmask 0xffffffff broadcast xxx.xxx.2=
6.225
> =A0 =A0 =A0 =A0inet xxx.xxx.26.226 netmask 0xffffffff broadcast xxx.xxx.2=
6.226
> =A0 =A0 =A0 =A0inet xxx.xxx.26.227 netmask 0xffffffff broadcast xxx.xxx.2=
6.227
> =A0 =A0 =A0 =A0media: Ethernet autoselect
> =A0 =A0 =A0 =A0status: active
> =A0 =A0 =A0 =A0laggproto failover
> =A0 =A0 =A0 =A0laggport: bge1 flags=3D0<>
> =A0 =A0 =A0 =A0laggport: bge0 flags=3D5<MASTER,ACTIVE>
>
Create an Alias
Example:
ifconfig_em0_alias0=3D"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-unsubscribe@freebsd.org"