Network Management

last person joined: yesterday 

Keep an informative eye on your network with IMC and AirWave network management solutions.
Expand all | Collapse all

How to assign IP address based on port of a switch (Instant ON)

This thread has been viewed 11 times
  • 1.  How to assign IP address based on port of a switch (Instant ON)

    Posted Mar 09, 2021 02:36 PM
    I have been using Cisco gigE switches (C4849E) to assign IP addresses based on ports...

    Port 1 gets 178.16.0.101
    Port 2 gets 178.16.0.102
    ..
    Port 48 gets 178.16.0.148

    The idea is that each port becomes a DHCP server, and assigns a fixed static IP address to teh device on power up.

    But it is done in a very cryptic way. 
    ip dhcp pool static-port-pool
    address 172.16.0.101 client-id "Gi0/1" ascii
    interface GigabitEthernet0/1
    ip dhcp server use subscriber-id client-id
    spanning-tree portfast edge

    Does Aruba offer any straight forward way to implement this?  We have a huge need of this in the testing industry.

    Thanks to anybody who has done it, and would like to share his or her experience.
    regards

    ------------------------------
    Naveed Syed
    ------------------------------


  • 2.  RE: How to assign IP address based on port of a switch (Instant ON)

    Posted May 06, 2021 05:24 PM
    If you can use an external DHCP server, you can probably do it with option 82.

    ------------------------------
    Ricardo Duarte
    ------------------------------