07-18-2012 11:47 PM - edited 03-07-2019 07:51 AM
Hi All,
am using GNS3, and have the 16port switching module. I have created a PC instance and connecting to f/0/0 which is a layer 3 port, I can connect via layer 3 IPs. I then reconfigured and connected the PC instance via a layer 2 port f2/0 which is part of the 16port switch module. All 16 ports are by default in vlan 1. I assigned an IP of 10.1.9.1/24 to the VLAN and gave the PC 10.1.9.2/24. I cannot ping and I cannot even ping 10.1.9.1, the VLAN 1 IP. Have I missed something? Thanks.
Mark Sargent
Router#sh ver
Cisco IOS Software, 3700 Software (C3745-SPSERVICESK9-M), Version 12.4(19), RELEASE SOFTWARE (fc1)
Router#ping 10.1.9.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.9.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Router#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.1.9.1 - c402.2668.0000 ARPA Vlan1
Router#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES manual up up
Serial0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
Serial0/1 unassigned YES unset administratively down down
FastEthernet2/0 unassigned YES unset up down
FastEthernet2/1 unassigned YES unset up down
FastEthernet2/2 unassigned YES unset up down
FastEthernet2/3 unassigned YES unset up down
FastEthernet2/4 unassigned YES unset up down
FastEthernet2/5 unassigned YES unset up down
FastEthernet2/6 unassigned YES unset up down
FastEthernet2/7 unassigned YES unset up down
FastEthernet2/8 unassigned YES unset up down
FastEthernet2/9 unassigned YES unset up down
FastEthernet2/10 unassigned YES unset up down
FastEthernet2/11 unassigned YES unset up down
FastEthernet2/12 unassigned YES unset up down
FastEthernet2/13 unassigned YES unset up down
FastEthernet2/14 unassigned YES unset up down
FastEthernet2/15 unassigned YES unset up down
Vlan1 10.1.9.1 YES manual up down
Router#sh int f2/0 switchport
Name: Fa2/0
Switchport: Enabled
Administrative Mode: static access
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Negotiation of Trunking: Disabled
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: none
Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
Appliance trust: none
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa2/0, Fa2/1, Fa2/2, Fa2/3
Fa2/4, Fa2/5, Fa2/6, Fa2/7
Fa2/8, Fa2/9, Fa2/10, Fa2/11
Fa2/12, Fa2/13, Fa2/14, Fa2/15
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
Router#sh int vlan 1
Vlan1 is up, line protocol is down
Hardware is EtherSVI, address is c402.2668.0000 (bia c402.2668.0000)
Internet address is 10.1.9.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
12 packets output, 890 bytes, 0 underruns
0 output errors, 1 interface resets
0 unknown protocol drops
0 output buffer failures, 0 output buffers swapped out
Solved! Go to Solution.
07-19-2012 05:04 AM
you definitely need to change cable
apart this i would configure the interface in this way:
int fa2/0
sw mo acc
sw acc vla 1
sh
no sh
end
!
wr
!
Take Care
Alessio
07-19-2012 12:08 AM
"Operational Mode: down" worries me. Shouldn't is say "static access"? Thanks.
Mark Sargent
07-19-2012 12:18 AM
Hi,
yes it should and that's also why the SVI is down.Can you post your GNS3 file.
Regards.
Alain.
Don't forget to rate helpful posts.
07-19-2012 08:05 AM
cadet alain wrote:
Hi,
yes it should and that's also why the SVI is down.Can you post your GNS3 file.
Regards.
Alain.
Don't forget to rate helpful posts.
Do you mean the topology file for GNS3 for this lab? Thanks.
Mark
07-19-2012 05:04 AM
you definitely need to change cable
apart this i would configure the interface in this way:
int fa2/0
sw mo acc
sw acc vla 1
sh
no sh
end
!
wr
!
Take Care
Alessio
07-19-2012 08:03 AM
Alessio Andreoli wrote:
you definitely need to change cable
apart this i would configure the interface in this way:
int fa2/0
sw mo acc
sw acc vla 1
sh
no sh
end
!
wr
!
Take Care
Alessio
EDIT: Well, the below changes seemed to work as I can now ping 10.1.9.1 which I couldn't before. Thanks.
Mark
---
Change the cable? In a GNS3 lab, you're kidding, yes?
Why do I need to tell the router f2/0 is in access mode as it shows in the initial output i posted that it is. It also shows that f2/0 is assigned to vlan 1, which is default by the way...
what is,
"sh"
"no sh"
The interface shows as up already...
Thanks.
Mark
03-06-2015 10:23 PM
set speed and duplex - it will bring it up interface and once vlan has active interface, vlan protocol status will be up.
conf t
!
vlan {vlan id}
name
!
int {interface #}
switchport access vlan {vlan id}
speed 100
duplex f
shut
no shut
this config will be at switch side.
11-29-2017 11:50 AM
OMG!! I had same issue where the directly connected physical interface was in up/down state. it drove me crazy because I knew there was nothing special about the configurations but could not understand why. Vlan 10 was up/up and I had interfaces in vlan 10.
As for me, I had created a another vlan just to get away from default vlan 1. I started switching back and forth to see what works. I changed the native vlan's but no change back and forth from vlan 10 and 1. i checked with a known working network with real equipment and it was working there - it drove me nut coz I could not it anywhere.
And all I was trying to do was to create access list labs - how frustrating?
I then noticed that on the routed interface (router side) duplex was half / 10. On switch is was full. I changed the router side to full / 100 (this side resets itself when you make a change. Did the same on switch; no change. I reset the interface on switch side and the interface came up/up and in trunk mode as I configured it.
01-17-2019 12:32 AM
If you are currently using Cisco 3725 IOS all I had done and solved this terrible situation is removing the second slot of NM-16ESW.
Then it started to ping from PC to the correctly configured Vlan switch port.
Hope, it will be useful !
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide