Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Newbie needing help with 1760/2950 multiple vlans

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

2 ACCEPTED SOLUTIONS

Accepted Solutions
Purple

Re: Newbie needing help with 1760/2950 multiple vlans

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

Re: Newbie needing help with 1760/2950 multiple vlans

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

HTH, John *** Please rate all useful posts ***
2 REPLIES
Purple

Re: Newbie needing help with 1760/2950 multiple vlans

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

Re: Newbie needing help with 1760/2950 multiple vlans

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

HTH, John *** Please rate all useful posts ***
241
Views
0
Helpful
2
Replies