ExtremeSwitching (EXOS)

 DHCP SERVER FOR EACH vlan ON SUMMIT X440-G2

Alexey shavernev's profile image
Alexey shavernev posted 10-17-2019 05:33

Hi colleagues, the question is, can I make a DHCP server on Summit x440-g2-24t-10ge. I try but cannot. I want my own DHCP server for each VLAN. Tell me please.

Alexandr P's profile image
Alexandr P

Hello!

 

You can configure it - https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-configure-the-DHCP-server-on-a-VLAN-in-EXOS/?q=exos+dhcp&l=en_US&fs=Search&pn=1

But there is recommendation to use external DHCP server. 

Better used switch with DHCP server as a temporary solution.

 

Thank you!

 

Alexey shavernev's profile image
Alexey shavernev

I know that . but i ts not work! maybe reboot?

Alexandr P's profile image
Alexandr P

Could you show #sh dhcp-s ?

It’s have to be like that:

# sh dhcp-server "test"
VLAN "test":
    DHCP Address Range   : 172.16.0.50->172.16.0.100
    Netlogin Lease Timer : Not configured (Default = 10 seconds)
    DHCP Lease Timer     : Not configured (Default = 7200 seconds)
    Ports DHCP Enabled   : 1-10

 

Thank you!

 

Alexey shavernev's profile image
Alexey shavernev

 

Alexandr P's profile image
Alexandr P

Is there possibility that another DHCP server exist in vlan video2?

Because you have your dhcp poll 10.1.80.2 - 10.1.81.254 and client (in #show iparp) receive address 10.1.7.88.

 

Thank you!

Alexey shavernev's profile image
Alexey shavernev

 

There is no other DHCP in this vlan. the device received this address when it was in another vlan. This is a local test vlan on a single switch.

Alexandr P's profile image
Alexandr P
  • does ports 20-22 tagged or untagged in vlan 80?
  • what is client device “Rubezh”? (I mean device with tagged or untagged ports?)
  • vlan 80 ipaddress is configured with what mask?
  • could you try to configure dhcp pool based on /24 mask

Thank you!

Alexey shavernev's profile image
Alexey shavernev

device untagged

i need 23 mask

Alexandr P's profile image
Alexandr P

From my lab - normally working.

 # sh sw

SysName:          X440-48t

 # show "test"
VLAN Interface with name test created by user
    Admin State:         Enabled     Tagging:   802.1Q Tag 80
….
    Primary IP:          10.1.80.1/23
…..
    Ports:   2.           (Number of active ports=1)
       Untag:      28,    *48

 

 # show dhcp-server
VLAN "test":
    DHCP Address Range   : 10.1.80.2->10.1.81.254
    Netlogin Lease Timer : Not configured (Default = 10 seconds)
    DHCP Lease Timer     : Not configured (Default = 7200 seconds)
    Default Gateway      : 10.1.80.1
    Ports DHCP Enabled   : 28,48

    ===========================================================================
    IP                MAC                 State      Lease Time Left
    ===========================================================================
          10.1.80.2   00:26:22:c3:bd:88   Assigned   0001:59:06

 

 # show iparp te
VR            Destination      Mac                Age  Static  VLAN          VID   Port
VR-Default    10.1.80.2        00:26:22:c3:bd:88    0      NO  test          80    48

 

Thank you!

Alexey shavernev's profile image
Alexey shavernev

dot work!!!

Alexey shavernev's profile image
Alexey shavernev

* ServersSwitchCanon.8 # show dhcp-server
VLAN "DSPH":-Stamping Mode:             None
    DHCP Address Range   : 10.1.90.2->10.1.91.254
    Netlogin Lease Timer : Not configured (Default = 10 seconds)
    DHCP Lease Timer     : 1600000 seconds
    Default Gateway      : 10.1.90.1
    Primary DNS Server   : 10.1.3.5
    WINS Server          : 10.1.3.5
    Ports DHCP Enabled   : 1

* ServersSwitchCanon.9 # show iparp port 1
VR            Destination      Mac                Age  Static  VLAN          VID   Port

Dynamic Entries  :         645             Static Entries            :          0
Pending Entries  :           0

ARP address check:    Enabled              ARP refresh               :    Enabled
Timeout          :          20 minutes     ARP Sender-Mac Learning   :   Disabled
Locktime         :        1000 milliseconds
Retransmit Time  :        1000 milliseconds
Reachable Time   :      900000 milliseconds (Auto)
Fast Convergence :         Off

ARP Global Settings
Max Entries         :    12288
Max Pending Entries :      256
Max Proxy Entries   :      256

ServersSwitchCanon.10 # show fdb port 1
MAC                                      VLAN Name( Tag)  Age  Flags          Port / Virtual Port List
------------------------------------------------------------------------------------------------------
70:5a:b6:47:05:9c                             DSPH(2222) 0029  d m            1

Flags : d - Dynamic, s - Static, p - Permanent, n - NetLogin, m - MAC, i - IP,
        x - IPX, l - lockdown MAC, L - lockdown-timeout MAC, M- Mirror, B - Egress Blackhole,
        b - Ingress Blackhole, v - MAC-Based VLAN, P - Private VLAN, T - VLAN translation,
        D - drop packet, h - Hardware Aging, o - IEEE 802.1ah Backbone MAC,
        S - Software Controlled Deletion, r - MSRP,
        X - VXLAN, Z - OpenFlow, E - EVPN

Total: 786 Static: 0  Perm: 0  Dyn: 786  Dropped: 0  Locked: 0  Locked with Timeout: 0
FDB Aging time: 300

 

 

Why won't my device get an address? tell me please people. I 'am very angry.:joy: