09-23-2008 06:19 AM - edited 03-06-2019 01:32 AM
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
Solved! Go to Solution.
09-23-2008 06:37 AM
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
09-23-2008 06:37 AM
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
--John
09-23-2008 06:37 AM
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
09-23-2008 06:37 AM
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
--John
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: