Link to home
Start Free TrialLog in
Avatar of ndalmolin_13
ndalmolin_13Flag for United States of America

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ndalmolin_13

ASKER

Thanks