Code:
---{ datacenter } { cisco switch } ---------- [ 81.223.82.232 ] --- jails (iocage) |--> [ 81.223.82.233 ] webproxy
81.223.82.232 /29 FreeBSD 10.2 |-----------------> |--> [ 10.8.20.10 ] DBjail
81.223.82.233 /29 OpenVPN 10.8.20.10-49/29 |--> [ 81.223.82.235 ] mailjail
81.223.82.234 /29 pf firewall
81.223.82.235 /29
81.223.82.236 /29
The 5 IPs under cisco switch are the pool of IPs that I was given by the datacenter.
So far, I have used 2 out of 5 IPs
81.223.82.234 for Dell iDRAC remote management
81.223.82.232 for my FreeBSD 10.2 host server
I would like to use 81.223.82.233 for my web proxy jail server,
81.223.82.235 for the mail server and 10.8.20.10-49/29 for anything that doesn't need to be public such as my database server etc..
So far this is what the network setup is like in /etc/rc.conf
Code:
#### Networking settings
## FreeBSD Host
ifconfig_bce0="inet 81.223.82.232 netmask 255.255.255.248"
defaultrouter="61.243.52.252"
### Jail network interface aliases ###
cloned_interfaces="${cloned_interfaces} lo1" # allows loopback isolation in the jail
ipv4_addrs_lo1="10.8.20.10-49/29" # assign IP address to lo1
ifconfig_lo1_alias0="inet 10.8.20.10 netmask 255.255.255.255" # [DBjail]
ifconfig_lo1_alias1="inet 10.8.20.11 netmask 255.255.255.255" # unallocated
ifconfig_lo1_alias2="inet 10.8.20.12 netmask 255.255.255.255" # unallocated
ifconfig_lo1_alias3="inet 10.8.20.13 netmask 255.255.255.255" # unallocated
ifconfig_lo1_alias4="inet 10.8.20.14 netmask 255.255.255.255" # unallocated
1x iDRAC
1x bce0
1x bce1
I don't know if I can use bce1 to do the job.
Any advise on this matter is really appreciated
Thank you
Fred