DHCP Server w/ 6 Networks
by BAcidEvil from LinuxQuestions.org on (#6K60R)
Hi!
I was curious if this would be the correct way to create a simgle Slackware VM as a DHCP Server for 6 subnets for 6 vlans, which reside on a Cisco SG350XG.
Slackware, DHCP installed. 1 Nic, 192.168.5.55
Under dhcpd.conf;
Quote:
On Cisco, each vlan has the 192.168.1.1, 192.168.2.1 so on. I create dhcp relay, relay address 192.168.5.55?
I was curious if this would be the correct way to create a simgle Slackware VM as a DHCP Server for 6 subnets for 6 vlans, which reside on a Cisco SG350XG.
Slackware, DHCP installed. 1 Nic, 192.168.5.55
Under dhcpd.conf;
Quote:
default-lease-time 600; max-lease-time 7200; authoritive; subnet 192.168.1.0 netmask 255.255.255.0 { option broadcast-address 192.168.1.255; option routers 192.168.1.1; range dynamic-bootp 192.168.1.3 192.168.1.254; option domain-name-servers 8.8.8.8; } subnet 192.168.2.0 netmask 255.255.255.0 { option broadcast-address 192.168.2.255; option routers 192.168.2.1; range dynamic-bootp 192.168.2.3 192.168.2.254; option domain-name-servers 8.8.8.8; } subnet 192.168.3.0 netmask 255.255.255.0 { option broadcast-address 192.168.3.255; option routers 192.168.3.1; range dynamic-bootp 192.168.3.3 192.168.3.254; option domain-name-servers 8.8.8.8; } subnet 192.168.4.0 netmask 255.255.255.0 { option broadcast-address 192.168.4.255; option routers 192.168.4.1; range dynamic-bootp 192.168.4.3 192.168.4.254; option domain-name-servers 8.8.8.8; } subnet 192.168.6.0 netmask 255.255.255.0 { option broadcast-address 192.168.6.255; option routers 192.168.6.1; range dynamic-bootp 192.168.6.3 192.168.6.254; option domain-name-servers 8.8.8.8; } |