dhcp configure
Posted: 08 Dec 2018 00:10
hello,guys
i have question to ask,how to set up dhcp configuration for a port/a vlan not for every ports
i put dhcpd.cpy and dhcpd.conf in /flash/switch and reload switch and i don't know how to Designate a port/ a vlan(under connect switch to connect computer) for dhcp ip
other ports are static ip
dhcpd.cpy:
PingDelay = 200
PingAttempts = 3
PingSendDelay = 1000
DefaultLease = 86400
dhcpd.conf:
server-identifier alcatel-lucent.com;
subnet 192.168.1.0 netmask 255.255.255.0 {
dynamic-dhcp range 192.168.1.8 192.168.1.254 {
option subnet-mask 255.255.255.0;
option routers 192.168.1.2;
option domain-name-servers 8.8.8.8;
option dhcp-lease-time 3000;
}}
i have question to ask,how to set up dhcp configuration for a port/a vlan not for every ports
i put dhcpd.cpy and dhcpd.conf in /flash/switch and reload switch and i don't know how to Designate a port/ a vlan(under connect switch to connect computer) for dhcp ip
other ports are static ip
dhcpd.cpy:
PingDelay = 200
PingAttempts = 3
PingSendDelay = 1000
DefaultLease = 86400
dhcpd.conf:
server-identifier alcatel-lucent.com;
subnet 192.168.1.0 netmask 255.255.255.0 {
dynamic-dhcp range 192.168.1.8 192.168.1.254 {
option subnet-mask 255.255.255.0;
option routers 192.168.1.2;
option domain-name-servers 8.8.8.8;
option dhcp-lease-time 3000;
}}