Comware

 View Only
  • 1.  can't change IP-Address

    Posted Jan 10, 2023 12:27 PM
    Hello all,
    we've just installed several Arubas 2930M:

    sh ver
    Image stamp: /ws/swbuildm/rel_beluru_qaoff/code/build/lvm(swbuildm_rel_beluru_qaoff_rel_beluru)
    Nov 10 2022 23:41:48
    WC.16.11.0008
    840
    Boot Image: Primary
    Boot ROM Version: WC.17.02.0007
    Active Boot ROM: Primary

    Unfortunately we did a mistake assigning the IP-Addresses, but now we can't change it. Why?

    sw1(config)# vlan 80
    sw1(vlan-80)# ip address 192.168.192.24 255.255.255.192
    An interface with the same IP address or subnet or an overlapping network 192.168.192.24/26 already exists.
    sw1(vlan-80)# ip address 192.168.192.25 255.255.255.192
    An interface with the same IP address or subnet or an overlapping network 192.168.192.25/26 already exists.
    sw1(vlan-80)# ip address 192.168.192.26 255.255.255.192
    An interface with the same IP address or subnet or an overlapping network 192.168.192.26/26 already exists.
    sw1(vlan-80)# ping 192.168.192.6
    192.168.192.6 is alive, time = 3 ms
    sw1(vlan-80)# ping 192.168.192.26
    Request timed out.
    sw1(vlan-80)# ip address 192.168.192.26 255.255.255.192
    An interface with the same IP address or subnet or an overlapping network 192.168.192.26/26 already exists.

    these IP-Addresses are 200% free! Very appreciate any help 🙏


  • 2.  RE: can't change IP-Address

    Posted Jan 11, 2023 01:53 AM
    Hello, 
    This message means that the same switch has another VLAN which is having an IP address in the same subnet 192.168.192.0/26. So probably it is not the same IP but the same subnet/network.
    The host range of this subnet is 192.168.192.1 - 192.168.192.62.
    You can check this using the command show ip. Feel free to paste the output here.



  • 3.  RE: can't change IP-Address

    Posted Jan 11, 2023 04:57 AM
    sh ip
    Internet (IP) Service
    IP Routing : Disabled
    Default Gateway : 192.168.192.1
    Default TTL : 64
    Arp Age : 20
    Domain Suffix :
    DNS server :

    | Proxy ARP
    VLAN | IP Config IP Address Subnet Mask Std Local
    -------------------- + ---------- --------------- --------------- ----------
    DEFAULT_VLAN | DHCP/Bootp
    80 | Manual 192.168.192.4 255.255.255.192 No No
    81 | Disabled
    82 | Disabled
    83 | Disabled


  • 4.  RE: can't change IP-Address

    Posted Jan 11, 2023 05:07 AM
    Thanks for the output!
    It is showing that you already have configured IP 192.168.192.4/26 on VLAN 80. This IP belongs to the same subnet.
    The switch will not allow you to configure a second IP from the same subnet in the same VLAN.

    If you want to replace 192.168.192.4 by 192.168.192.24 you have to remove the first one first.
    Are you using console connection or SSH?


  • 5.  RE: can't change IP-Address
    Best Answer

    Posted Jan 11, 2023 05:47 AM
    The best way to do this change is to connect to the switch via serial console. This will allow you to remove the old IP and add the new IP without losing connection.

    If this is not possible maybe you can try if you can change the IP using the menu interface.
    Just type "menu" at the CLI prompt.
    You will be redirected to a menu based interface like this one. You can navigate here using arrow keys, space and enter.

    ===========================- TELNET - MANAGER MODE -============================
    Main Menu

    1. Status and Counters...
    2. Switch Configuration...
    3. Console Passwords...
    4. Event Log
    5. Command Line (CLI)
    6. Reboot Switch
    7. Download OS
    8. Run Setup
    0. Logout

    Displays the menu for customizing the switch configuration.

    To select menu item, press item number, or highlight item and press <Enter>.

    You can go to Switch Configuration ->IP configuration and there you the option to select and edit the current ip address.
    After saving the change you will probably lose your connection but you should be able to reconnect via the new address after that.

    If you are afraid that something may go wrong, you can schedule a reload of the switch after some time (reload after or reloat at). This will discard changes in the running config and will reactivate the last startup-config.



  • 6.  RE: can't change IP-Address

    Posted Jan 11, 2023 06:09 AM
    Thank you very much! the Menu did help!


  • 7.  RE: can't change IP-Address

    Posted Jan 11, 2023 06:05 AM
    I use SSH for now. I was always able to change it via the web interface, but since when has this feature been removed? I installed dozens of Aruba switches two years ago, but this is the first time I've faced such behavior... it makes no sense...



  • 8.  RE: can't change IP-Address

    Posted Jan 11, 2023 03:16 AM
    Hi, this message is only possible if another interface on the switch is already configured with an overlapping IP address. It has nothing to do with other devices on vlan 80.

    One way to verify would be to lookup the ip route for the address you are attempting to configure. It will show the interface already configured.


  • 9.  RE: can't change IP-Address

    Posted Jan 11, 2023 04:59 AM
    there is no other IP addresses configured. I did just basic configuration, then realised that IP is wrong - wanna change it - I can't

    sh ip route
    IP Route Entries
    Destination Gateway VLAN Type Sub-Type Metric Dist.
    ------------------ --------------- ---- --------- ---------- ---------- -----
    0.0.0.0/0 192.168.192.1 80 static 1 1
    127.0.0.0/8 reject static 0 0
    127.0.0.1/32 lo0 connected 1 0
    192.168.192.0/26 vlan_80 80 connected 1 0