Wired Intelligent Edge (Campus Switching and Routing)

 View Only
last person joined: one year ago 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of HPE Aruba Networking switching devices, and find ways to improve security across your network.

How To Configure The DHCP Server 

Apr 30, 2020 03:38 PM

Requirement:

ArubaOS-Switch



Solution:

In the following examples, switch Rack2sw1 is configured as a DHCP client, and switch Rack2sw2 is configured as a DHCP server.


 



Configuration:

 

---------- Switch Rack2sw2 Configuration ----------


Rack2sw2(config)# dhcp-server pool "Vlan-12"
Rack2sw2(Vlan-12)# default-router "192.168.12.2"
Rack2sw2(Vlan-12)# lease 00:02:00
Rack2sw2(Vlan-12)# network 192.168.12.0 255.255.255.0
Rack2sw2(Vlan-12)# range 192.168.12.100 192.168.12.150

Rack2sw2(config)# dhcp-server enable

Rack2sw2(config)# vlan 12 ip address 192.168.12.2/2
Rack2sw2(config)# vlan 12 dhcp-server
Rack2sw2(config)# vlan 12 tagged trk21


---------- Switch Rack2sw1 Configuration ----------


Rack2sw1(config)# vlan 12 tagged trk12
Rack2sw1(config)# vlan 12 ip address dhcp-bootp

 



Verification


---------- Switch Rack2sw1 Verification ----------


Rack2sw1# show vlan port trk12 detail

 Status and Counters - VLAN Information - for ports Trk12

  VLAN ID Name                   | Status     Voice Jumbo Mode
  ------- ---------------------------- + ---------- ----- ----- --------
  1       DEFAULT_VLAN         | Port-based No    No    Untagged
  12     VLAN12                      | Port-based No    No    Tagged


Rack2sw1# sho ip

 Internet (IP) Service

  IP Routing : Enabled


  Default TTL     : 64
  Arp Age         : 20
  Domain Suffix   :
  DNS server      :

                                   |                                                                                   Proxy ARP
  VLAN                        | IP Config        IP Address           Subnet Mask     Std   Local
  -------------------------- + ----------            ---------------           ---------------          -----   -----
  DEFAULT_VLAN      | Disabled
  VLAN12                   | DHCP/Bootp   192.168.12.100  255.255.255.0    No    No


---------- Switch Rack2sw2 Verification ----------


Rack2sw2# show vlan port trk21 detail

 Status and Counters - VLAN Information - for ports Trk21

  VLAN ID    Name                      | Status            Voice   Jumbo    Mode
  -------          -------------------------- + ----------            -----     -----          --------
  1                DEFAULT_VLAN      | Port-based     No      No          Untagged
  12              VLAN12                   | Port-based     No      No          Tagged


Rack2sw2# show dhcp-server binding

 DHCP Server Bindings

  Pool : Vlan-12

  IP Address            Hardware Address   Lease Expiration                    Type
  ----------------           ----------------                 ------------------------------            ----------
  192.168.12.100   2c59e5-5f6f00             Jan 17 1990 07:30:50           Dynamic

Statistics
0 Favorited
5 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.