반응형
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;
}
}
반응형
'IT > ㄴ Alcatel-Lucent' 카테고리의 다른 글
[Alcatel] write memory flash-synchro 명령어 입력 불가할 때 (0) | 2023.06.27 |
---|---|
[Alcatel] Firmware Upgrade [FTP 방식] (0) | 2023.06.26 |
[Alcatel] Firmware Upgrade [USB 방식] (0) | 2023.06.26 |
[Alcatel] IP DHCP Relay (0) | 2023.06.26 |
[Alcatel] DHCP-Snooping (0) | 2023.06.26 |