Switches, Hubs, and Modems
1752806 Members
6557 Online
108789 Solutions
New Discussion юеВ

Re: Secondary ip address on 5400/3500

 
SOLVED
Go to solution
Ralf.Reinartz
Advisor

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 11
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
Ralf.Reinartz
Advisor

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
Ralf.Reinartz
Advisor

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 :)
Ralf.Reinartz
Advisor

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 :)