VLAN/dot1q over ethernet

in CCNA & CCENT
Just curious, can't seem to find a definite answer, as googling "dot1q ethernet" is pretty ambiguous.
Is VLAN Tagging via 802.1q possible over regular ethernet links, or is this restricted to fastethernet and above? What, in general, are dependencies of dot1q trunking? I've been looking at gear and playing around with some at work, and some routers don't run the encap dot1q command....and I figured it was the IOS version, but I'm not sure.
What should I look for to make sure dot1q is supported? More generally, what are the base requirements to run dot1q, and subsequently, inter-VLAN routing, which is what I'm getting at in the first place.
Is VLAN Tagging via 802.1q possible over regular ethernet links, or is this restricted to fastethernet and above? What, in general, are dependencies of dot1q trunking? I've been looking at gear and playing around with some at work, and some routers don't run the encap dot1q command....and I figured it was the IOS version, but I'm not sure.
What should I look for to make sure dot1q is supported? More generally, what are the base requirements to run dot1q, and subsequently, inter-VLAN routing, which is what I'm getting at in the first place.
"We gain complexity by linking together. To be isolated within a single platform is to be reduced. We see less. Understand less. It is quieter.” -Legion
Current Focus: CCIE R/S
Blog -- Keeping It Classless
Current Focus: CCIE R/S
Blog -- Keeping It Classless
Comments
10 meg ethernet can support dot1q. Many ethernet interfaces on older routers are 10 megabit. 100 and 1000 can too.
The basic requirement for dot1q tagging is a switch that supports VLANs. The manufacturer will advertise VLAN Trunking, or Dot1Q, or something like that. It's found on most commercial switches but not small office/home office ones. C
That being said, VLANs are a Layer 2 idea and they separate out networks, so to get the VLANs to communicate with each other, you need a Layer 3 device. This can be a router or a L3 switch. The router/L3switch takes packets (it operates at layer 3) and routes them to the other VLANis f that is their destination.
For example, create 2 VLANs on your L2 HP switch (or anyone, including cisco), then tell a 2610XM's FE that it is part of those VLAN/subnets. It will send packets back and forth. This is called Router on a Stick. The way most people do it nowadays is to just use an L3 switch.
BTW, Cisco used to have a proprietary method of VLANning called ISL. It's on most older routers but deprecated in newer machines. It's for only-cisco networks. I believe it's still part of the CCNA exam.
I have extensive knowledge of vlans and how they're configured, and that they're an ethernet concept. I understand all that, but whenever I get out of the sim and try to configure a device, I find out that specific router doesn't support dot1q for one reason or another.
I'm just trying to do router on a stick, and to do it properly, a dot1q trunk to a router is required. Instead of taking chances with the hardware I purchase, I'm asking what I should look for to ensure dot1q is supported.
Current Focus: CCIE R/S
Blog -- Keeping It Classless
Which sim and which router are you referring to?
dot1q used to not be supported on 10 meg links, this is why most RoAS guides will say fastethernet is required. Cisco also used to not support full duplex on 10 meg links as well, so things have come a long way
I'm not sure when the software changeover occurred to allow dot1q on 10meg (translation - I don't care enough to actually go look it up
Your best bet is to boot the image you're going to be using up in gns3/dynamips and see if the commands are there, or make sure you don't buy anything with a 10 meg interface
A link to the Cisco doc is in the Forum FAQ
Edit: I totally zoned out reading the original post. Now if you'd said Router-on-A-Stick....
Thanks! That link is exactly what I wanted.
I don't remember which router models specifically I was using when I ran into problems, but I figured it was more an issue with the IOS version than the router itself, and the routers I traditionally have access to are in a "junk" closet, since they've been retired from service, so the IOS versions are probably a bit dated.
Thanks for the help! This will help a bunch.
Current Focus: CCIE R/S
Blog -- Keeping It Classless
Okay - sorry to drag this up again but I got home from holiday and I've been able to get more information specific to my situation.
As you can see from the above, its a 2610 with an integrated 10BaseT Ethernet port.
After perusing the Cisco documentation provided to me in the quoted text from the previous post, I read - under the "Availability" section:
As you saw in my router specs, I'm running IOS 12.3. According to the quotation above, I should meet the requirements. Yet, when I try to run the command, still a no-go.
Now, I've tried ever since I regained access to the router to pursue different IOS versions (still a weak point for me) and I read somewhere that perhaps the "ipbase" version was required, which is a more feature-rich IOS version.
Now that you know what I'm running, see anything I didn't?
Current Focus: CCIE R/S
Blog -- Keeping It Classless
The i in your IOS file name means it's IP Routing feature set.
An s means Plus, so an is in the name would be IP Plus feature set (or IP Routing Plus).
A j means Enterprise, etc.
This where the link to the Cisco Feature Navigator comes in handy -- and the Cisco Partner Central IOS Packaging PDF (near the end of the doc) to decode the old file names.
Another thing I see here is that you're trying to apply the encapsulation directly to the interface. What you want to do is create subinterfaces for each vlan and apply the settings there. You won't apply any configuration except for "no shutdown' to the actual interface in this case.
So let's say you have vlan's 1, 10 and 20 with subnets 192.168.1.0/24, 192.168.10.0/24 and 192.168.20.0/24, respectively where vlan 1 is the native vlan:
R1(config)interface eth0/0
R1(config-if)no shutdown
R1(config-if)interface eth0/0.1
R1(config-if)encapsulation dot1q 1 native
R1(config-if)interface eth0/0.10
R1(config-if)encapsulation dot1q 10
R1(config-if)ip address 192.168.10.1 255.255.255.0
R1(config-if)int eth0/0.20
R1(config-if)encap dot1q 20
R1(config-if)ip address 192.168.20.1 255.255.255.0
and some more reading on the topic:
Configuring InterVLAN Routing and ISL/802.1Q Trunking on a Catalyst 2900XL/3500XL/2950 Switch Using an External Router - Cisco Systems
I threw that together too hastily and didn't realize what I was doing when I was trying to show you my problem.
When running encap dot1q, I'm normally in subinterface mode. It is there that I get the error message.
I've done inter-VLAN routing a LOT in other labs and in sims, so I know better, just was too quick to get it copied and pasted in my post.
Thanks for pointing it out, though. Keeps me sharp.
Current Focus: CCIE R/S
Blog -- Keeping It Classless