03-19-2007 03:20 AM - edited 03-05-2019 02:58 PM
Hello everybody!
Is it possible to estabish tagged communication (using tagged ports and frames) between router 1841 and LAN switch (for example Allied Telesn 9924)to send and receive frames to a few vlans defined on switch over one physical link?
Switch can support tagged ports and frames but I don't know if router can.
Thanks for any help.
Jan Zglobica
03-19-2007 03:52 AM
Jan,
Yes, you can configure that. Configure sub-interfaces on the router's interface and use the vlan tagging to route the traffic between the vlans.
For example:
int fa0/1
ip address 10.0.1.49 255.255.255.240
int fa0/1
no ip address
int fa0/1.1
encap dot1Q 1 native
ip address 10.0.1.49 255.255.255.240
int fa0/1.2
encap dot1Q 2
ip address 10.0.3.1 255.255.255.0
int fa0/1.3
encap dot1Q 5
ip address 10.0.6.1 255.255.255.0
int fa0/1.4
encap dot1Q 6
ip address 10.0.7.1 255.255.255.0
int fa0/1.5
encap dot1Q 3
ip address 10.0.5.1 255.255.255.0
HTH,
-amit singh
03-19-2007 04:42 AM
Thank You for answer.
One question more:
Will VLANS remain separated?
I want to establish only internet connection to sepatated VLANS without routing between VLANS.
Jan Zglobica
03-19-2007 05:04 AM
Jan,
you have to create sub-inbterfaces on the router for which you want the inter-vlan routing or even to have vlan go to the internet. In that case vlans will be able to talk to each other. use router ACL's to deny the traffic from one vlan to another vlan.
HTH,Please rate if it does.
-amit singh
03-20-2007 09:49 AM
Thank You Amit for answer ones more.
This is very helpful for me but I can't quickly confirm that it acts because I haven't internet connection in that location so far.I prepare to configure LAN in new place.
Jan Zglobica
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