03-19-2012 07:41 AM - edited 03-04-2019 03:43 PM
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,
Solved! Go to Solution.
03-20-2012 03:28 AM
I will search further,
Thanks
03-20-2012 03:21 AM
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
03-20-2012 03:30 AM
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
03-20-2012 10:38 AM
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
03-20-2012 10:59 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide