cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1056
Views
1
Helpful
11
Replies

DHCP on sub-interface with second-dot1q vlans

MYazdian
Level 1
Level 1

Hello all,

I have to provide IP for many clinets which each of them has to have individual VLAN ID. I am using q in q to provide ctag vlan under svlan.

the configuration on my router is like below:

ip dhcp pool SVL-200
network 10.225.0.0 255.255.255.0
default-router 10.225.0.1
dns-server 8.8.4.4 4.2.2.4

interface FastEthernet0/1.200
encapsulation dot1Q 200 second-dot1q 50-100
ip address 10.225.0.1 255.255.255.0


When I run the command "show ip dhcp binding" on the router, I can see the customers' mac addresses in the DHCP database and router has offered the IP. However, just one of the clients can acquire the IP, and I can ping it from the router!!! While the router stated that it has assigned IP addresses to clients, I am unable to view the IP addresses on every single  client except one of them

I believe this problem is connected to assigning one DHCP Pool and one IP Network to many vlans (50-100). Because when I build many sub-interfaces and assign a single second-dot1q vlan to each of them, the problem appears to be resolved. However, I cannot have several DHCP pools and networks for each VLAN, and I must have a single IP network (10.225.0.0/24) on my DHCP POOL for all vlans (50-100).

Please let me know if anyone has a similar experience, especially those who work for service providers.

Thanks in advance

11 Replies 11

balaji.bandi
Hall of Fame
Hall of Fame