Vlan problem or missconfiguration?
Xtend
Member Posts: 27 ■□□□□□□□□□
in CCNA & CCENT
i am trying to set up my switches to gns3 and seems i have a problem when i try to configure my vlans.
I created a few vlans (10, 20 and so on) and when i put an ip address on them, and do the no shut command, only 1 vlan stays up, while the others go down. What did i do wrong?
CORE-SWITCH#s
Interface IP-Address OK? Method Status Protocol
Vlan1 unassigned YES unset administratively down down
Vlan50 57.103.28.1 YES manual up up
Vlan60 78.109.63.1 YES manual administratively down down
FastEthernet0/1 unassigned YES unset up up
FastEthernet0/2 unassigned YES unset up up
after i do the no shut on vlan 60, here's what happen:
CORE-SWITCH#c
Enter configuration commands, one per line. End with CNTL/Z.
CORE-SWITCH(config)#int vlan 60
CORE-SWITCH(config-if)#no shut
CORE-SWITCH(config-if)#
00:20:58: %LINK-3-UPDOWN: Interface Vlan60, changed state to up
CORE-SWITCH(config-if)#
00:20:59: %LINK-5-CHANGED: Interface Vlan50, changed state to administratively down
00:20:59: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan60, changed state to up
00:21:00: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan50, changed state to down
I'm using 2950 switches
I created a few vlans (10, 20 and so on) and when i put an ip address on them, and do the no shut command, only 1 vlan stays up, while the others go down. What did i do wrong?
CORE-SWITCH#s
Interface IP-Address OK? Method Status Protocol
Vlan1 unassigned YES unset administratively down down
Vlan50 57.103.28.1 YES manual up up
Vlan60 78.109.63.1 YES manual administratively down down
FastEthernet0/1 unassigned YES unset up up
FastEthernet0/2 unassigned YES unset up up
after i do the no shut on vlan 60, here's what happen:
CORE-SWITCH#c
Enter configuration commands, one per line. End with CNTL/Z.
CORE-SWITCH(config)#int vlan 60
CORE-SWITCH(config-if)#no shut
CORE-SWITCH(config-if)#
00:20:58: %LINK-3-UPDOWN: Interface Vlan60, changed state to up
CORE-SWITCH(config-if)#
00:20:59: %LINK-5-CHANGED: Interface Vlan50, changed state to administratively down
00:20:59: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan60, changed state to up
00:21:00: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan50, changed state to down
I'm using 2950 switches
Comments
-
nbeacham Users Awaiting Email Confirmation Posts: 23 ■□□□□□□□□□I was under the impression that GNS3 didn't emulate switches. Post your configs please so we can get a better look at it.
-
nbeacham Users Awaiting Email Confirmation Posts: 23 ■□□□□□□□□□After a second read, are you trying to set up your switches to talk to GNS3? Regardless, post up your configs.
-
Monkerz Member Posts: 842The 2950 is a layer 2 switch. Why would you want to assign multiple management IP addresses, you only have one default gateway?
You don't need a vlan interface for each vlan on your switch. -
TesseracT Member Posts: 167The 2950 is a layer 2 switch. Why would you want to assign multiple management IP addresses, you only have one default gateway?
You don't need a vlan interface for each vlan on your switch.
Listen to this guy -
just_in_time Member Posts: 21 ■□□□□□□□□□I agree with Monkerz. The 2950 does not do any routing at layer three. The IP address is strickly there for management purposes so you only need to put an IP address on VLAN 1.
-
Monkerz Member Posts: 842It's actually a best practice to use any vlan but 1 for management purposes. Thought I would throw that in there.