198
edits
Changes
→DHCP configuration
== DHCP configuration ==
1. Start/enable the network service
<pre>
systemctl start network
systemctl enable network
</pre>
2. Set static ip address on interface facing private network
File: /etc/sysconfig/network-scripts/ifcfg-p11p1
<pre>
TYPE=Ethernet
DEVICE=p11p1
BOOTPROTO=static
NM_CONTROLLED=yes
ONBOOT=yes
IPADDR=192.168.1.254
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
DNS1=142.204.43.43
DNS2=8.8.8.8
DOMAIN="proximity.on.ca senecac.on.ca"
HWADDR=00:0A:CD:1E:83:BA
</pre>
3. Restart the NetworkManager service
<pre>
systemctl restart NetworkManager
</pre>
4. Configure dhcpd
File: /etc/dhcp/dhcpd.conf
<pre>
option domain-name-servers 142.204.1.2,142.204.43.43;