I have a 2530 switch in which I need to use VLAN 1 (primary VLAN) to sync with external NTP (Google's) and to connect with Central in the future.
However, it seems it is mandatory to have a DHCP IP address for the VLAN interface in the primary VLAN in order to have a default IP route to get into Internet:
HP-2530-48G-PoEP(vlan-1)# sh ip route
IP Route Entries
Destination Gateway VLAN Type Sub-Type Metric Dist.------------------ --------------- ---- --------- ---------- ---------- -----0.0.0.0/0 172.19.17.253 1 static 250 1127.0.0.0/8 reject static 0 0127.0.0.1/32 connected 1 0172.19.17.0/24 DEFAULT_VLAN 1 connected 1 0
The problem that I see is that I need a static IP address within this same VLAN for local management, apparently seconday IP addresses cannot be configured in this model nor I can configure loopback interfaces.
Is there any other way to accomplish this need for a fixed management IP?
Thanks in advance.
@sixonetwo wrote: However, it seems it is mandatory to have a DHCP IP address for the VLAN interface in the primary VLAN in order to have a default IP route to get into Internet
You should be able to set assign a IP Address to Default VLAN interface and add a default gateway to your next hop for Internet access. I don't see any mandatory requirement to have IP Address of Default VLAN interface assigned by a DHCP Server to manage a default gateway...something like:
Aruba-2530(config)# vlan 1
Aruba-2530(vlan-1)# ip address a.b.c.d e.f.g.h
Aruba-2530(config)# ip default-gateway i.l.m.n
Yes, you're right.
The network where I set up this switch had a strict DHCP policy, but they had to take out an IP address for the management of this switch since there was not another way to do it.
Once I had it I configured it just exactly as you said.
At Aruba, we believe that the most dynamic customer experiences happen at the Edge. Our mission is to deliver innovative solutions that harness data at the Edge to drive powerful business outcomes.
© Copyright 2021 Hewlett Packard Enterprise Development LPAll Rights Reserved.