Newbie needing help with 1760/2950 multiple vlans

Answered Question
Sep 23rd, 2008

I am having a configuration problem. I have a 1760 with a 2950. My client wants 3 vlans on the 2950 and they will not be able to "see" each other after we are done. The client also want the router to do the DHCP.

I setup 3 scopes on the router, set port 24 on the 2950 to trunk, and set up 3 sub interfaces on the fa0/0 on the router. I got the following when I tried to put in the IP addresses on the router...% 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.

What did I do wrong on the config or is there a better design? The physical interface does not have an IP address, I put IP addresses on the sub interfaces, i.e. vlan 10 is 192.168.10.254/24; vlan 5 is 192.168.5.254/24.

Thanks in advance.

Lee

I have this problem too.
0 votes
Correct Answer by John Blakley about 8 years 3 months ago

Can you post your config?

Normally, you would enter it like this:

fa0/0

no ip address

no shut

fa0/0.1

encapsultation dot1q 1 native

ip address 192.168.1.1 255.255.255.0

fa0/0.2

encapsulation dot1q 2

ip address 192.168.2.1 255.255.255.0

fa0/0.3

encapsulation dot1q 3

ip address 192.168.3.1 255.255.255.0

Of course, put the respective vlans. Dot1q is the vlan number.

--John

Correct Answer by glen.grant about 8 years 3 months ago

Did you put the encapsulation command on the subinterfaces ? Sounds like you are just about there . This might help.

http://www.cisco.com/en/US/tech/tk389/tk815/technologies_configuration_example09186a00800949fd.shtml

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
John Blakley Tue, 09/23/2008 - 06:37

Can you post your config?

Normally, you would enter it like this:

fa0/0

no ip address

no shut

fa0/0.1

encapsultation dot1q 1 native

ip address 192.168.1.1 255.255.255.0

fa0/0.2

encapsulation dot1q 2

ip address 192.168.2.1 255.255.255.0

fa0/0.3

encapsulation dot1q 3

ip address 192.168.3.1 255.255.255.0

Of course, put the respective vlans. Dot1q is the vlan number.

--John

Actions

This Discussion