Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Secondary ip address on 5400/3500

SOLVED
Go to solution

Secondary ip address on 5400/3500

Hello,

I have to overtake a given Network where so far cisco switches were used. The Problem is that so old configuration uses 3 Adresses in the same subnet on one vlan which are used as gateway from severals clients

Is where a way to configure a second (and/or third) ip Address in same subnet as the primary address on these HP switches?
Secondary IP in different subnet is no problem as far as I know, baut thats a other thing.
The Switches have ip routing and vrrp enabled.
Firmware is 14.60

TIA

Ralf
11 REPLIES
Arimo
Respected Contributor

Re: Secondary ip address on 5400/3500

Hi Ralf

Sure thing. You go to configuration mode and just enter the IP addresses

configure
vlan 10
ip address 10.10.10.10/24
ip address 10.10.20.10/24
ip address 10.10.30.10/24
write memory

HTH

Arimo

HTH,

Arimo
HPE Networking Engineer

Re: Secondary ip address on 5400/3500

Hello Arimo,

Sure - thats no Problem. But in your Example sie IPs are in different Subnets (Layer 3).

t I mean is:

10.10.10.1/24
10.10.10.3/24
10.10.10.5/24

One example, why I need this:
In History in this Subnet there were some more Routers. Some Maschines have one of these old Routerips as there Gateway and I cannot change this (old) gateway Address. So I want to overtake it on the new Router in additional, to a new Address
Arimo
Respected Contributor

Re: Secondary ip address on 5400/3500

Hi Ralf

Sorry, that's a no-go. The IPs need to be on different subnets.

Arimo

HTH,

Arimo
HPE Networking Engineer
Natasha Samoylenko
Trusted Contributor

Re: Secondary ip address on 5400/3500

The only way that I see is configure VRRP instance.
But, if you already have it, this will not work. Because you can configure only one instance of VRRP per IP address (subnet).

For one subnet in one switch you can configure VRRP instance to make switch reply to two IPs.
For example, you need 2 IPs in VLAN 100:
!
ip routing
!
router vrrp
!
vlan 100
ip address 10.0.100.1 255.255.255.0
vrrp vrid 100
backup
virtual-ip-address 10.0.100.5/24
enable
!

Now your switch will reply on 10.0.100.1 and 10.0.100.5

Re: Secondary ip address on 5400/3500

A similar "trick" I use at the moment.
I allrady use vrrp.

The physical IP for the Backup Router is one of the Ip addresses I need as secondary.
But on the vrrp master the virtual IP has to be a real assigend.

It is a little bit unintelligible, that HP doesn't allow secondary IPs on Vlans for these layer-3 Switches.
Arimo
Respected Contributor

Re: Secondary ip address on 5400/3500

You can submit an enhancement request. To do this you need to contact the local HP Sales team.

HTH,

Arimo
HPE Networking Engineer
Natasha Samoylenko
Trusted Contributor
Solution

Re: Secondary ip address on 5400/3500

Master and owner is a different thing.
You can add one more IP with VRRP trick.

You can configure both switches as backup.
And assign them IPs, for example, .1 and .2.
But Virtual IP configure as .100.
One of backups became master.
This will work without owner.

You have with this trick 3 IPs :)

Re: Secondary ip address on 5400/3500

You make my Day and you shamed me ;)

Not only for the underlaying Question.
I thought for a longer time how to give a virtual address as real virtual address similar to hsrp.

I forgot that in VRRP it is allowed to configure both as backup and handle the master with the priority.
Natasha Samoylenko
Trusted Contributor

Re: Secondary ip address on 5400/3500

I'm glad it helped you :)
Arimo
Respected Contributor

Re: Secondary ip address on 5400/3500

That should work, yes. Just configure different priorities to the routers.

HTH,

Arimo
HPE Networking Engineer
fje839dpw
Occasional Visitor

Re: Secondary ip address on 5400/3500

Attempting to configure a secondary IP address to a VLAN on a HP 5400 series switch. There is a desire to configure a secondary IP address on the VLAN that is in the same subnet as the primary address since there are some older device still configured to use a different default gateway address. Since there does NOT appear to be an ip address assignment with a "secondary" option, I attempted the configuration provided a few years back but this does NOT appear to working (e.g. no backup option). The following configuration is not working 

 

vlan 10

ip address 192.168.10.1 255.255.255.0

vrrp vrid 10

backup (this command does not exist)

virtual-ip-address 192.168.10.254

enable

 

I am currently running image K.15.18.006.

 

I would appreciate any assistance one can provide.

 

Thanks!