[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 329
  • Last Modified:

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

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
ndalmolin_13
Asked:
ndalmolin_13
1 Solution
 
Predrag JovicNetwork EngineerCommented:
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
 
ndalmolin_13Author Commented:
Thanks
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now