06-20-2007 11:14 AM - edited 03-05-2019 04:51 PM
We have a Cisco 1841 Modular Router that needs to accept 802.1Q Vlan tagging with subsequent VLAN interfaces and IP Addressing. We only have FA0/0 and FA0/1.
I dont see any commands for 802.1q tagging.
Di I need to get an add on HWIC to do this or will it work with what I have and if so can someone point me to a write up.
Thanks
Bill
Solved! Go to Solution.
06-20-2007 11:22 AM
Hello,
You can use subinterfaces...
intareface fa 0/1.100
encapsulation dot1q 100
ip address x.x.x.x x.x.x.x
in this case Fa0/1.100 is sitting on vlan 100 and tags all packet with vlan 100, number of the subenterface can be different number. encapsulation command defines teh vlan number.
You can do InterVlan routing with this technique or what you want...
bye
FCS
Please rate me if I helped.
06-20-2007 11:23 AM
I don't have a 1841 at the moment but in general , you do dot1q on routers like this:
interface f0/0
no ip address
interface f0/0.100
encapsulation dot1q 100
ip address 192.168.100.1 255.255.255.0
interface f0/0.101
encapsulation dot1q 101
ip address 192.168.101.1 255.255.255.0
Make sure the switch connected to F0/0 has dot1q trunking enabled.
06-20-2007 11:24 AM
You'll have to create subinterfaces on those fastE ports, and then they'll support trunking.
i.e.:
interface fastethernet0/0
no ip address
interface fastethernet0/0.10
description VLAN10
encapsulation dot1q 10
ip address ww.xx.yy.zz
etc.
HTH,
Paul
edit - I see that I got beat twice! Nevermind!
06-20-2007 11:22 AM
Hello,
You can use subinterfaces...
intareface fa 0/1.100
encapsulation dot1q 100
ip address x.x.x.x x.x.x.x
in this case Fa0/1.100 is sitting on vlan 100 and tags all packet with vlan 100, number of the subenterface can be different number. encapsulation command defines teh vlan number.
You can do InterVlan routing with this technique or what you want...
bye
FCS
Please rate me if I helped.
06-20-2007 11:23 AM
I don't have a 1841 at the moment but in general , you do dot1q on routers like this:
interface f0/0
no ip address
interface f0/0.100
encapsulation dot1q 100
ip address 192.168.100.1 255.255.255.0
interface f0/0.101
encapsulation dot1q 101
ip address 192.168.101.1 255.255.255.0
Make sure the switch connected to F0/0 has dot1q trunking enabled.
06-20-2007 11:24 AM
You'll have to create subinterfaces on those fastE ports, and then they'll support trunking.
i.e.:
interface fastethernet0/0
no ip address
interface fastethernet0/0.10
description VLAN10
encapsulation dot1q 10
ip address ww.xx.yy.zz
etc.
HTH,
Paul
edit - I see that I got beat twice! Nevermind!
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: