본문 바로가기
카테고리 없음

주니퍼 DHCP 설정(srx 기준)

by Cat Tool 2016. 12. 1.
반응형

* set system services dhcp-local-server group 그룹명 interface 인터페이스

> dhcp-local-server    Dynamic Host Configuration Protocol server configuration

> group                Define a DHCP local server group

  <group-name>         Group name

  group1               Group name


인터페이스를 그룹에 따른 dhcp-local-server로 사용



* set access address-assignment pool pool이름 family inet network 네트워크주소

> access               Network access configuration

> address-assignment   Address assignment configuration

> pool                 Address pool

  <name>               Address pool name
  POOL1                Address pool name
> family               Address family
> inet                 IPv4
  network              Network address

네트워크대역을 pool에 지정


* set access address-assignment pool pool이름 family inet range range이름 low 네트워크 시작 주소

> range                Address range
  <name>               Range name
  low                  Lower limit of address range
  <low>                Lower limit of address range
pool의 ip를  네트워크 시작 주소를 지정

* set access address-assignment pool pool이름 family inet range range이름 high 네트워크 마지막 주소
  high                 Upper limit of address range

pool의 IP의 마지막을 지정


* set access address-assignment pool pool이름 family inet dhcp-attributes maximum-lease-time 시간
> dhcp-attributes      DHCP options and match criteria
  maximum-lease-time   Maximum lease time advertised to clients (seconds)
  <length>             Number of seconds
  infinite             Lease time can be infinite

pool에서 DHCP에서 할당받을 수 있는 시간 설정
ex) 50000초 까지 못받아가면 멈춘다


* set access address-assignment pool pool이름 family inet dhcp-attributes name-server 아이피
> name-server          Domain name servers available to the client
  <address>            DNS server's IPv4 address

name server 1 지정


* set access address-assignment pool pool이름 family inet dhcp-attributes name-server 아이피


name server2 지정


* set access address-assignment pool pool이름 family inet dhcp-attributes router 아이피


게이트웨이 지정



set system services dhcp-local-server group 그룹명 interface 인터페이스

set access address-assignment pool pool이름 family inet network 네트워크주소

set access address-assignment pool pool이름 family inet range range이름 low 네트워크 시작 주소

set access address-assignment pool pool이름 family inet range range이름 high 네트워크 마지막 주소

set access address-assignment pool pool이름 family inet dhcp-attributes maximum-lease-time 시간

set access address-assignment pool pool이름 family inet dhcp-attributes name-server 아이피

set access address-assignment pool pool이름 family inet dhcp-attributes name-server 아이피

set access address-assignment pool pool이름 family inet dhcp-attributes router 아이피

반응형