cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
46290
Views
0
Helpful
19
Replies

Multiple VLANS - one switchport

petrutz_21
Level 1
Level 1

Hi,,

I have a CISCO 2801 router with one HWIC-4ESW module. I've created 4 vlans. How can i assign those 4 vlans to just one interface from the

HWIC-4ESW module? For example i want to use just interface FastEthernet0/3/0.

interface FastEthernet0/3/0

!

interface FastEthernet0/3/1

!

interface FastEthernet0/3/2

!

interface FastEthernet0/3/3

!

interface Vlan1

no ip address

!

interface Vlan10

ip address 192.168.1.1 255.255.255.192

ip nat inside

!

interface Vlan20

ip address 192.168.1.65 255.255.255.192

ip nat inside

rate-limit output access-group 101 8000000 3000000 7000000 conform-action transmit exceed-action drop

rate-limit output access-group 102 8000000 3000000 7000000 conform-action transmit exceed-action drop

!

interface Vlan30

ip address 192.168.1.129 255.255.255.192

ip nat inside

rate-limit output access-group 101 8000000 3000000 7000000 conform-action transmit exceed-action drop

rate-limit output access-group 102 8000000 3000000 7000000 conform-action transmit exceed-action drop

!

interface Vlan40

ip address 192.168.1.193 255.255.255.192

ip nat inside

thanks,

19 Replies 19

I will search further,

Thanks

I don't have vlans. I just want to replace a non cisco router that is used now with this cisco 2801 router.

I need to make those vlans to limiting the bandwith to some clients from the lan. If you have any other ideea without making those vlans please tell me.

Many thanks,

Petru

OK.

If you want to keep this vlan configuration on the router , you will need to create the vlans on your switches, and also

configure the ports connected to the users as untagged in the required vlan.

Regards

Dan

Toma

I am a bit confused about the topology of your network. At first you describe a single switch connected to the router. Then there was a description of 3 switches each one on a floor of the building. Are these 3 switches connected to the router or are they connected to a switch that connects to the router.

Assuming that these switches are not Cisco switches it may be difficult to connect them to a Cisco switch using trunking, which you would need if they connect to a single port as indicated in the original post. In a following post you raised the possibility of configuring a separate VLAN on each of the Cisco router switch ports. I would think this would work ok if the switches each have a separate group connected to them and if each switch connected to a separate port of the router switch and each port of the router switch was configured as an access port in a different VLAN.

Perhaps you can clarify what is the network topology and how things are connected?

HTH

Rick

HTH

Rick

CHARLES BRONSON
Level 1
Level 1

Toma,

Set your router config back to the configuration you first listed, then make FastEthernet0/3/0 a trunk port using the commands that Dan-Ciprian gave you. This will make that interface a trunk port which will carry traffic tagged for any allowed VLAN. By default, a trunk port will pass traffic for any VLAN configured on the device. Then connect the FastEthernet0/3/0 port to a port on your D-Link switch. A quick google search showed that your model switch supports 802.1Q (VLANs). You will need to look at D-Links' configuration manual for the next steps. On your D-Link, configure the port that connects to your Cisco 2801 to be a trunk port, then configure the other ports on the switch as Access ports and assign them to the individual VLAN you want the connected PC to use.

A trunk port carries traffic for all allowed VLANs. An access port carries traffic for only one VLAN and you need to configure the port for the one VLAN you want it to configure. I hope this makes sense.

Review Cisco Networking for a $25 gift card