• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1334
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

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