네트워크

[Juniper][Junos] DHCP 서버 설정

0163 2022. 3. 10. 14:10
반응형

예시) 

dhcp-local-server group 이름 : vlan30
dhcp pool 이름 : vlan30
dhcp 뿌릴 인터페이스명 : irb.30
dhcp 대역 : 10.152.3.0/24
dhcp range명 : range30 (10.152.3.105 ~ 10.152.3.254)
DNS : 168.126.63.1
GW : 10.152.3.1
갱신 시간 : 86400 (초)

set system services dhcp-local-server group vlan30 interface irb.30
set access address-assignment pool vlan30 family inet network 10.152.3.0/24
set access address-assignment pool vlan30 family inet range range30 low 10.152.3.105
set access address-assignment pool vlan30 family inet range range30 high 10.152.3.254
set access address-assignment pool vlan30 family inet dhcp-attributes maximum-lease-time 86400
set access address-assignment pool vlan30 family inet dhcp-attributes name-server 168.126.63.1
set access address-assignment pool vlan30 family inet dhcp-attributes router 10.152.3.1

반응형