Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to Use Layer 2 Switch Ports on Cisco 1841 Router

Hi

I am using Cisco 1841 Router with only one Layer 3 Fe0 port and 8 Switch Ports. 

I have given IP on Fe0 port which is connected to another router. 

Now I don't know how to use the Switch Layer 2 ports of the router.

I have tried making one of the port as Access Port by switchport mode access and connected my laptop and given IP of the same subnet but I am unable to ping my Fe0 port IP and vice versa as I am also unable to ping my Laptop from Router.

 

Can anyone explain me how to use these Layer 2 ports?

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Hi Muhammadatifmasood, have a

Hi Muhammadatifmasood, have a look at the link below, I am sure you will find it helpful.

 

https://supportforums.cisco.com/discussion/10919631/how-enable-routing-between-hwic-4esw-and-onboard-fe-cisco-1841-router

 

 

BenSamayoa

4 REPLIES
New Member

Hi Muhammadatifmasood, have a

Hi Muhammadatifmasood, have a look at the link below, I am sure you will find it helpful.

 

https://supportforums.cisco.com/discussion/10919631/how-enable-routing-between-hwic-4esw-and-onboard-fe-cisco-1841-router

 

 

BenSamayoa

New Member

hi,Switch ports of the router

hi,

Switch ports of the router is by default assigned to VLAN 1, If you want to connect you laptop to that switch port You have to configure as below.

 example IP only

conf t

int vlan 1

ip add 192.168.1.1 255.255.255.0

no shut    >>>> just to be sure but by default this is up as long as the interface is set.

 

You can then now assign an IP add of 192.168.1.x netmask of 255.255.255.0 to your laptop and connect it to any of the switchports. 

 

 

 

 

New Member

Hi,  The Layer 2 ports need

Hi, 

 

The Layer 2 ports need to be assigned to a VLAN. By default it is VLAN 1. You need to assign an IP address to VLAN 1 for your hosts to use as a default gateway to reach the Fe0 port. Because the Layer 2 ports are in a different Broadcast domain you can't use the same subnet range as Fe0. 

When packet arrives on VLAN 1 it will be routed to your Layer 3 Port via the routing table. 

 

 

 

New Member

Thanks buddy :) Well I

Thanks buddy :) Well I already fixed my issue. And the link you shared is exactly the right way to do it. 

752
Views
20
Helpful
4
Replies
CreatePlease login to create content