Juniper EX3400 Features Manual page 36

Dhcp and other system services feature guide
Hide thumbs Also See for EX3400:
Table of Contents

Advertisement

DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches
16
For example:
[edit]
user@switch# set system services dhcp-local-server group server1 interface ge-0/0/1
user@switch# set system services dhcp-local-server group server1 interface irb.301
Create an address pool for IPv4 addresses that can be assigned to clients. The
3.
addresses in the pool must be on the subnet in which the DHCP clients reside. Do not
include addresses that are already in use on the network.
[edit]
user@switch# set access address-assignment pool pool-name family family network
address/prefix-length
For example:
[edit]
user@switch# set access address-assignment pool pool1 family inet network
198.51.100.0/24
(Optional) Define a range of addresses in the address-assignment pool. The range is
4.
a subset of addresses within the pool that can be assigned to clients. If no range is
specified, then all addresses within the pool are available for assignment. Configure
the name of the range and the lower and upper boundaries of the addresses in the
range:
[edit]
user@switch# set access address-assignment pool pool-name family family range
range-name low low-IP-address
user@switch# set access address-assignment pool pool-name family family range
range-name high high-IP-address
For example:
[edit]
user@switch# set access address-assignment pool pool1 family inet range range1 low
198.51.100.1
user@switch# set access address-assignment pool pool1 family inet range range1 high
198.51.100.2
(Optional) Configure one or more routers as the default gateway on the client's subnet:
5.
[edit]
user@switch# set access address-assignment pool pool-name family family
dhcp-attributes router gateway-ip-address
For example:
[edit]
user@switch# set access address-assignment pool pool1 family inet dhcp-attributes
router 198.1.1.254
(Optional) Configure the IP address that is used as the source address for the DHCP
6.
server in messages exchanged with the client. Clients use this information to distinguish
between lease offers.
Copyright © 2017, Juniper Networks, Inc.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ex4300Ex2300

Table of Contents