cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
269
Views
0
Helpful
2
Replies

1811 8-port switch

slayerhawk
Level 1
Level 1

Hey all. I usually use 1750 routers and connect E0 to the WAN link and FA0 to the LAN ip.

Now, I have an 181 with 2 FA ports and an 8 port built in switch. How can I put all 8 ports into a vlan sharing the same ip range so that I don't have to use an external switch directly plugged into fa1?

Assume that fa1 is ip 192.168.1.2/24.

Thanks

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

Hi

router(config)# vlan database

router(vlan)# vlan 10 media ethernet name vlan10

router(vlan)# exit

This will create your vlan.

Create your layer 3 interface for vlan 10

int vlan 10

ip address 192.168.1.2 255.255.255.0

no shut

to add ports to that vlan

int fa2

switchport mode access

switchport access vlan 10

spanning-tree portfast

HTH

Jon

All the switch ports are in VLAN1 by default, but this is a more secure method.

And FYI, in global config mode, you can do "int range fa2 - 9" and edit all 8 switch ports at once.

Saves a little time. And only use the portfast command if you're sure no one will be plugging in any switches downstream.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: