Problem with adding secondry vlan interface on extreme C5G124-24P2 - Could not set the interface network.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎02-17-2018 08:03 AM
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.
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.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎02-18-2018 12:58 PM
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
!
#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
!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎02-17-2018 12:58 PM
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"
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"
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎02-17-2018 11:48 AM
Just guess: the IP you are adding is already on different vlan?
Regards
Zdeněk Pala
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎02-17-2018 11:48 AM
tried show interface - displays all vlan interfaces but the 172.20.0.1 is on none of them.
