Cisco intervlan routing

Hello,

I'm currently studying for my CCNA 640-802 and I am working in a lab with a cisco 2950 24 port switch and a 2600 router. I am trying to set up intervlan routing, and have entered the following

RouterA#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
RouterA(config)#int fa0/0
RouterA(config-if)#no shut
RouterA(config-if)#int
00:05:03: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
00:05:04: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
RouterA(config-if)#int fa0/0.1
RouterA(config-subif)#ip address 192.168.2.1 255.255.255.0

Configuring IP routing on a LAN subinterface is only allowed if that
subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q, or ISL vLAN.

RouterA(config-subif)#




Not sure what else to do here? I am following the guide I have in a lab book, even the encapsulation dot1q command will not work on the sub interface.

Thoughts?
cheesebugahAsked:
Who is Participating?
 
Sniper98GConnect With a Mentor Commented:
OK that's your problem. 12.0 does not support 802.1q encapsulation; 802.1q became available in 12.2. Also; since the 2950 you are using only supports 802.1q you cannot use ISL. The only option you have is to upgrade the router with a later IOS.
0
 
cheesebugahAuthor Commented:
RouterA(config-subif)#encapsulation dot1q 20
                       ^
% Invalid input detected at '^' marker.

RouterA(config-subif)#
0
 
Sniper98GCommented:
You output gave you an error in the prompt. That should not be happening unless you were typing in the prompt.

RouterA(config-subif)#encapsulation dot1q 20
                      ^

Just to verrify, You are typing in:
int fa0/0.1
encapsulation dot1q 20

Correct?
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
cheesebugahAuthor Commented:
Yes

RouterA(config-subif)#encapsulation dot1q 20
                                       ^


is where the error is. I am on IOS v12.0(7)
0
 
null0bjectCommented:
also make sure your IOS is not a basic ip services IOS, those won't include dot1q either.
0
 
cheesebugahAuthor Commented:
That's what I was afraid of. We purchased a CCNA/NP Lab on ebay, its 3 2950 switches, 2 2600 routers, and 2 3400 routers.... I think I know where I can find 12.4 IOS... thanks again!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.