• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1315
  • Last Modified:

vlan dot1q configuration on cisco

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
lemaitre75
Asked:
lemaitre75
1 Solution
 
lrmooreCommented:
Nope. Each sub-interface must have its own IP subnet address or there is no routing between subnets.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now