cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
441
Views
0
Helpful
2
Replies

Newbie needing help with 1760/2950 multiple vlans

lhoyle
Level 1
Level 1

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

glen.grant
VIP Alumni
VIP Alumni

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

View solution in original post

John Blakley
VIP Alumni
VIP Alumni

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 ***

View solution in original post

2 Replies 2

glen.grant
VIP Alumni
VIP Alumni

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

John Blakley
VIP Alumni
VIP Alumni

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 ***
Getting Started

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:

Review Cisco Networking products for a $25 gift card