Solved

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

Posted on 2015-02-17
2
291 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 28

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
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…

828 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