Add the config for the nat_dhcp jail.
This commit is contained in:
12
ansible/roles/jail_nat_dhcp/files/dhcpd.conf
Normal file
12
ansible/roles/jail_nat_dhcp/files/dhcpd.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
# option definitions common to all supported networks...
|
||||
option domain-name "home.arpa";
|
||||
# option domain-name-servers ns1.home.arpa;
|
||||
option subnet-mask 255.255.255.0;
|
||||
default-lease-time 600;
|
||||
max-lease-time 7200;
|
||||
|
||||
subnet 10.213.177.0 netmask 255.255.255.0 {
|
||||
range 10.213.177.10 10.213.177.250;
|
||||
option broadcast-address 10.213.177.255;
|
||||
option routers 10.213.177.1;
|
||||
}
|
||||
3
ansible/roles/jail_nat_dhcp/files/rc.conf
Normal file
3
ansible/roles/jail_nat_dhcp/files/rc.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
ifconfig_host_link3="inet 10.213.177.254 netmask 255.255.255.0"
|
||||
defaultrouter="10.213.177.1"
|
||||
dhcpd_enable="YES"
|
||||
2
ansible/roles/jail_nat_dhcp/files/resolv.conf
Normal file
2
ansible/roles/jail_nat_dhcp/files/resolv.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
search home.arpa
|
||||
nameserver 10.213.177.1
|
||||
Reference in New Issue
Block a user