Juniper DHCP Server ve İp Helper

Mar 14, 2017 Genel

Juniper cihazlar için dhcp server ve ip helper  konfiği ;

  • SRX100
  • SRX210
  • SRX220
  • SRX240

model cihazlar için  doğrudan kod  karşılığı vardır diğer modellerde ufak farklılıklar göstrebilir;

DHCP Server ;

set system services dhcp pool 192.168.52.0/24 address-range low 192.168.52.10
set system services dhcp pool 192.168.52.0/24 address-range high 192.168.52.100
set system services dhcp pool 192.168.52.0/24 default-lease-time 3600
set system services dhcp pool 192.168.52.0/24 domain-name duzce.bel.tr
set system services dhcp pool 192.168.52.0/24 name-server 195.175.39.39
set system services dhcp pool 192.168.52.0/24 name-server 195.175.39.40
set system services dhcp pool 192.168.52.0/24 router 192.168.52.254

Show Komutları;
show system services dhcp pool
show system services dhcp binding
show system services dhcp statistics
show system services dhcp conflict

 

İp Helper Kod Bloğu ;

user@host# set forwarding-options helpers bootp relay-agent-option
user@host# set forwarding-options helpers bootp server 192.168.1.2
user@host# set forwarding-options helpers bootp maximum-hop-count 4
user@host# set forwarding-options helpers bootp minimum-wait-time 1
user@host# set forwarding-options helpers bootp vpn
user@host# set forwarding-options helpers bootp interface ge-0/0/0.0
(specify the incoming BOOTP or DHCP request forwarding interface as ge-0/0/0)

user@host# set security zones security-zone untrust interfaces ge-0/0/0.0 host-inbound-traffic system-services dhcp

Show Komutu  ;  show system services dhcp relay-statistics

ile admin