cancel
Showing results for 
Search instead for 
Did you mean: 

Change mgmt IP def-gw on ICX7150 8095d

Kpiti
New Contributor

Hi,

I have a bunch of ICX switches (7[1/4/5]50) set up on management VLAN 1300 with IPs 10.20.10/24. I need to change the IP net from 10.20.10 to 10.12.10 and it seems to have changed or is buggy in the fastiron 8.90.5d.

When deploying them the mgmt network was set as:

hostname %HN%
ip address 10.20.10.%IP%/24
ip default-gateway 10.20.10.1

vlan 1300 name admin
management-vlan

 Now to change the IP it's still the same (and it works) but with the default gateway there is obviously something different:

(config)#ip default-gateway 10.12.10.1
Management vlan is configured. Please set default gateway under the vlan
(config)#vlan 1300
(config-vlan-1300)#default-gateway 10.12.10.1 1

Now it still shows the old def-gw, don't know how to check the IP settings on mgmt VLAN

#sh ip
Switch IP address: 10.12.10.78
Subnet mask: 255.255.255.0
Default router address: 10.20.10.1

So the IP is new in 10.12. but def-gw is still in 10.20. Apart from that, it seems not to be picked up as I can't get any traffic out..

#ping 10.12.10.1
Sending 1, 16-byte ICMP Echo to 10.12.10.1, timeout 5000 msec, TTL 64
Type Control-c to abort
Reply from 10.12.10.1 : bytes=16 time=2ms TTL=255
Success rate is 100 percent (1/1), round-trip min/avg/max=2/2/2 ms.

#ping 9.9.9.9
Sending 1, 16-byte ICMP Echo to 9.9.9.9, timeout 5000 msec, TTL 64
Type Control-c to abort
Request timed out.
No reply from remote host.

So I can ping the new def-gw but not further on.. I've done a trace on def gw but I'm not getting any traffic there when trying to ping out so I suspect the new gateway isn't taking effect.. Also the no ip default-gateway 10.20.10.1  command doesn't work, I don't know if the VLAN set gw is set - actually it is in show running-config:

vlan 1300 name admin by port
..
management-vlan
default-gateway 10.20.10.1 1
default-gateway 10.12.10.1 1

I can't delete it here either with "no default-gateway" command..

I'm suspecting this has changed with firmware releases as the switches were set up in 8.0.90 and we've upgraded to 8.0.95d.

Is there something I'm missing or is it buggy?

Thanks

Cheers, Jure

1 REPLY 1

BenBeck
Moderator
Moderator

hey @Kpiti 

You should remove the gateway under the vlan context when using management-vlan and then add it back with the new one. Something like this:

conf t

vlan 1300

no default-gateway 10.20.10.1 1

default-gateway 10.12.10.1 1

Ben Beck, RCNA, Principal Technical Support Engineer
support.ruckuswireless.com/contact-us