[Alcatel] DHCP 설정
Nowhere 와 Now here 의 차이

IT/ㄴ Alcatel-Lucent

[Alcatel] DHCP 설정

TIENE 2023. 6. 26. 23:18
반응형

 

300x250

 

/flash/switch dhcpd.pcy & dhcpd.conf 각각 만들어 넣기


DHCP 설정 명령어

DHCP-server enable
DHCP-server restart

 

DHCP 정보 확인

show dhcp-server statistics 
show dhcp-server lease 

/flash/switch/dhcpd.pcy

vi dhcpd.pcy

PingDelay = 200
PingAttempts = 3
PingSendDelay = 1000
DefaultLease = 86400

/flash/switch/dhcpd.conf

vi dhcpd.conf

subnet 1.209.1.0 netmask 255.255.255.0 {
dynamic-dhcp range 1.209.1.31 1.209.1.199 {
option subnet-mask 255.255.255.0;
option routers 1.209.1.1;
option domain-name-servers 164.124.101.2;
option domain-name-servers 203.248.252.2;
option dhcp-lease-time 900;
}
}
subnet 1.209.2.0 netmask 255.255.255.0 {
dynamic-dhcp range 1.209.2.31 1.209.2.199 {
option subnet-mask 255.255.255.0;
option routers 1.209.2.1;
option domain-name-servers 164.124.101.2;
option domain-name-servers 203.248.252.2;
option dhcp-lease-time 900;
}
}

subnet 192.168.18.0 netmask 255.255.255.0 {
dynamic-dhcp range 192.168.18.31 192.168.18.199 {
option subnet-mask 255.255.255.0;
option routers 192.168.18.1;
option domain-name-servers 164.124.101.2;
option domain-name-servers 203.248.252.2;
option dhcp-lease-time 900;
}
}

 

반응형