Solved

Help with layer 2 switching (could be a GNS3 issue)

Posted on 2015-02-17
2
287 Views
Last Modified: 2015-02-18
Hello Experts,

I think I'm having a GNS3 issue, but I want to make sure its not my poor Cisco knowledge causing my problem.  As stated above, I'm running GNS3.  I have setup a router as a layer 2 switch by issueing the following commands
R1# config t
R1(config) no ip routing

I have two hosts on the network.  They are configured as follows:
Host1:
   IP = 10.1.10.10
   SM = 255.255.255.0
   Connected to fa1/2 on R1

Host2:
   IP = 10.1.10.20
   SM = 255.255.255.0
   Connected to fa1/3 on R1

By default both hosts are in vlan 1 and I can ping via IP from Host1 to Host2 and vice versa.

On R1, I have done the following:
R1(config) vlan 10
R1(config)#interface range fa1/2 - 3
R1(config-if-range)#switchport access vlan 10
R1(config-if-range)#no shut

I can still ping between Host1 and Host2.

A "show ip interface brief" on R1 gives me the following:
R1#show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
Ethernet0/0                unassigned      YES NVRAM  administratively down down
Serial0/0                  unassigned      YES NVRAM  administratively down down
Serial0/1                  unassigned      YES NVRAM  administratively down down
Serial0/2                  unassigned      YES NVRAM  administratively down down
Serial0/3                  unassigned      YES NVRAM  administratively down down
FastEthernet1/0            unassigned      YES unset  up                    down
FastEthernet1/1            unassigned      YES unset  up                    down
FastEthernet1/2            unassigned      YES unset  up                    up
FastEthernet1/3            unassigned      YES unset  up                    up
FastEthernet1/4            unassigned      YES unset  up                    down
FastEthernet1/5            unassigned      YES unset  up                    down

Next I created a second vlan.  I created it with the following commands:
R1# config t
R1(config) vlan 20
R1(config-vlan) name IT

I then added two more hosts to the network.  They are configured as follows:

Host3:
   IP = 10.1.20.13
   SM = 255.255.255.0
   Connected to fa1/4 on R1

Host4:
   IP = 10.1.20.200
   SM = 255.255.255.0
   Connected to fa1/5 on R1

On R1, I did the following to add the ports to the new vlan:
R1(config)#interface range fa1/4 - 5
R1(config-if-range)#switchport access vlan 20
R1(config-if-range)#no shut

A "show ip interface brief" returns the following:

R1#show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
Ethernet0/0                unassigned      YES NVRAM  administratively down down
Serial0/0                  unassigned      YES NVRAM  administratively down down
Serial0/1                  unassigned      YES NVRAM  administratively down down
Serial0/2                  unassigned      YES NVRAM  administratively down down
Serial0/3                  unassigned      YES NVRAM  administratively down down
FastEthernet1/0            unassigned      YES unset  up                    down
FastEthernet1/1            unassigned      YES unset  up                    down
FastEthernet1/2            unassigned      YES unset  up                    up
FastEthernet1/3            unassigned      YES unset  up                    up
FastEthernet1/4            unassigned      YES unset  up                    down
FastEthernet1/5            unassigned      YES unset  up                    down
FastEthernet1/6            unassigned      YES unset  up                    down

A "show vlan-switch" returns the following:
R1#show vlan-switch

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                                active    Fa1/0, Fa1/1, Fa1/6, Fa1/7
                                                   Fa1/8, Fa1/9, Fa1/10, Fa1/11
                                                   Fa1/12, Fa1/13, Fa1/14, Fa1/15
10   VLAN0010                         active    Fa1/2, Fa1/3
20   IT                                        active    Fa1/4, Fa1/5
1002 fddi-default                    act/unsup
1003 token-ring-default         act/unsup
1004 fddinet-default              act/unsup
1005 trnet-default                  act/unsu

My question is why are ports fa1/4 and fa1/5 showing status=up and protocol=down?

Am I missing something configuration wise or something GNS3 wise?

Any help would be greatly appreciated.

Regards,
Nick
0
Comment
Question by:ndalmolin_13
2 Comments
 
LVL 27

Accepted Solution

by:
Predrag Jovic earned 500 total points
ID: 40615920
That is one of typical GNS3 problems.
Port up/down - physical connection is OK/link is not successfully negotiated.
You can try to hard code speed and duplex to resolve problem.
Or in the case that does not help, try some other IOS image...
If you are learning for CCNA, to learn switching probably is much better Cisco Packet Tracer (no problems like this one, at least).
0
 
LVL 1

Author Closing Comment

by:ndalmolin_13
ID: 40616303
Thanks
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now