Solved

vlan dot1q configuration on cisco

Posted on 2006-10-19
1
1,289 Views
Last Modified: 2012-06-21
Hello,
i have the following configuration on a cisco router and it works. Our QoS policy was based on ip addresses.

interface FastEthernet0/0
 no ip address
 speed 100
 full-duplex
!        
interface FastEthernet0/0.1
 description DreamNet Vlan 1
 encapsulation dot1Q 1 native
 ip address X.X.X.X 255.255.255.0
!        
interface FastEthernet0/0.2
 description DreamNet Vlan 2
 encapsulation dot1Q 2
 ip address Y.Y.Y.Y 255.255.255.0
!        
interface FastEthernet0/0.3
 description DreamNet Vlan 3
 encapsulation dot1Q 3
 ip address Z.Z.Z.Z 255.255.255.0


Now we are changing our QoS policy on vlan id, so all users from all vlans will use the same ip addresses and we'll only control trafic based on vlan id. So i was wondering if the following configuration will work ?

interface FastEthernet0/0
 ip address X.X.X.X 255.255.255.0
 ip address Y.Y.Y.Y 255.255.255.0 secondary
 ip address Z.Z.Z.Z 255.255.255.0 secondary
 speed 100
 full-duplex
!        
interface FastEthernet0/0.1
 description DreamNet Vlan 1
 encapsulation dot1Q 1 native
 
!        
interface FastEthernet0/0.2
 description DreamNet Vlan 2
 encapsulation dot1Q 2
 
!        
interface FastEthernet0/0.3
 description DreamNet Vlan 3
 encapsulation dot1Q 3
 


0
Comment
Question by:lemaitre75
1 Comment
 
LVL 79

Accepted Solution

by:
lrmoore earned 500 total points
Comment Utility
Nope. Each sub-interface must have its own IP subnet address or there is no routing between subnets.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now