cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
240
Views
0
Helpful
1
Replies
Highlighted
Beginner

vlan for dhcp ip

Dear all,

I need some help please..

I am not an experienced networking engineer..

I want to deploy zero touch provisioning in a Service Provider network. End-switch is located within a Ring. Each Ring is assigned a separate mgmnt_vlan. Ring is connected to a router with sub-interface. 

 

interface GigabitEthernet0/0/1.<mgmnt_vlan>
     ip address 172.16.1.0 255.255.255.0
     ip helper-address 172.16.203.2

 

i am using isc-dhcp-server as dhcp server at 182.16.203.2.

 

My question is  : if i provision the helper-ip as shown above, will the end-switch deploy the dhcp ip in

interface <mgmnt_vlan>

or will it be in

interface vlan 1      ?

 

Sorry, i couldn't arrange a setup currently to test this, so i am asking.

 

I tested following scenairo :

end-switch is connected through a layer3-device : on layer3-device, config is as follows :

 

interface Vlan670
     ip address 172.16.31.1 255.255.255.0
     ip helper-address 192.168.203.2

and in this case, end-switch deployed dhcp ip in vlan 1

 

interface Vlan1
     ip address dhcp

 

 

just in case, my isc-dhcp-server / dhcpd.conf is like this : 

subnet 172.16.31.0 netmask 255.255.255.0 {
range 172.16.31.161 172.16.31.165;
option subnet-mask 255.255.255.0;
option routers 172.16.31.1;

 

Thanks in advance ..

1 REPLY 1
Highlighted
Beginner

i learned from a colleague that, answer to above question is yes. end-switch would configure the dhcp ip to <mgmnr_vlan>

reason that it is configuring to vlan 1 currently is that interface from BB switch is configured as access , it should be trunk.

so, this concludes ..

regards..

Content for Community-Ad