ExtremeSwitching (Other)

Expand all | Collapse all

Problem with adding secondry vlan interface on extreme C5G124-24P2 - Could not set the interface network.

  • 1.  Problem with adding secondry vlan interface on extreme C5G124-24P2 - Could not set the interface network.

    Posted 02-17-2018 08:03
    Hi all,

    I am trying to set a secondary interface IP on VLAN 1. Due to business changes I needs to move away from their Class C network to a class B network. I am adding a secondry IP to be able to route between old and new network.

    Here is what happens:
    DetNet_Router(su)->router
    DetNet_Router(su)->router>enable
    DetNet_Router(su)->router#configure
    Enter configuration commands:
    DetNet_Router(su)->router(Config)#interface vlan 1
    DetNet_Router(su)->router(Config-if(Vlan 1))#ip address 172.20.0.1 255.255.0.0 secondary
    Could not set the interface network.

    The primary interface on this vlan is 192.168.0.1 255.255.240.0

    What am I doing wrong?

    Thank you in advance.



  • 2.  RE: Problem with adding secondry vlan interface on extreme C5G124-24P2 - Could not set the interface network.

    Posted 02-17-2018 11:48
    Just guess: the IP you are adding is already on different vlan?


  • 3.  RE: Problem with adding secondry vlan interface on extreme C5G124-24P2 - Could not set the interface network.

    Posted 02-17-2018 11:48
    I figured the same thing out. I manged to add 172.20.0.2.

    I however cant find where 172.20.0.1 resides. Is there a command that I can run to find it?

    Thanks for the reply

    


  • 4.  RE: Problem with adding secondry vlan interface on extreme C5G124-24P2 - Could not set the interface network.

    Posted 02-17-2018 11:48
    tried show interface - displays all vlan interfaces but the 172.20.0.1 is on none of them.


  • 5.  RE: Problem with adding secondry vlan interface on extreme C5G124-24P2 - Could not set the interface network.

    Posted 02-17-2018 12:58
    Just as a side note to all.

    It looks like you have to shut down the interface before you can add secondary IP.

    this is achieved by command "shutdown" when in router config mode.

    you can start it again with command "no shutdown"



  • 6.  RE: Problem with adding secondry vlan interface on extreme C5G124-24P2 - Could not set the interface network.

    Posted 02-18-2018 12:58
    show conf router
    #Router Configuration
    router
    enable
    configure
    interface vlan 100
    ip address 192.168.100.1 255.255.255.0
    no shutdown
    exit
    interface vlan 200
    ip address 192.168.200.1 255.255.255.0
    no shutdown
    exit
    exit
    exit
    exit
    !

    (su)->router>en
    (su)->router#conf
    Enter configuration commands:
    (su)->router(Config)#interface vlan 200
    (su)->router(Config-if(Vlan 200))#ip address 10.58.166.1 255.255.255.0 secondary

    show config router
    #Router Configuration
    router
    enable
    configure
    interface vlan 100
    ip address 192.168.100.1 255.255.255.0
    no shutdown
    exit
    interface vlan 200
    ip address 192.168.200.1 255.255.255.0
    ip address 10.58.166.1 255.255.255.0 secondary
    no shutdown
    exit
    exit
    exit
    exit
    !