cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
443
Views
0
Helpful
4
Replies

Let branch devices get ip addresses from HO dhcp server

admin213
Level 1
Level 1
  • In my Head office I am using vlans 2,3,4 and have assigned dhcp scopes for each vlan

in my branch office I have vlans 5,6,7 without dhcp scopes

i want users that are connected to vlan 5 In branch office to get ip address from vlan 2 in head office

i can ping each site to the other and tried using ip helper addredd with no luck

 

Here is a sample of my configuration;

HO

int vlan 2

ip address 192.168.2.254 255.255.255.20

ip dhcp pool vlan2

network 192.168.2.0 255.255.255.0

default-router 192.168.2.254

 

Branch office

int vlan 5

ip address 192.168.5.254 255.255.255.0

ip helper-address 192.168.2.254

4 Replies 4

liviu.gheorghe
Spotlight
Spotlight

In the HO you have to create DHCP scopes for each pf the remote vlans 5,6,7:

ip dhcp pool vlan5

network 192.168.5.0 255.255.255.0

default-router 192.168.5.254

ip dhcp pool vlan6

network 192.168.6.0 255.255.255.0

default-router 192.168.6.254

ip dhcp pool vlan7

network 192.168.7.0 255.255.255.0

default-router 192.168.7.254

In addition to the ip helper-address 192.168.2.254

The ip helper-address is needed at the branch sites to convert the dhcp broadcasts of the PC into unicast packets addresses to a routable IP on the dhcp server from HO, but the IP address asignment is done from a pool corresponding to the remote subnets.

Regards, LG
*** Please Rate All Helpful Responses ***

What I am planning to do is for branch users to connect via access points with its ssids’ assigned vlans in the branch office, I wanted to check if a user was connected to an ssid with vlan 2 (not present in the branch but present in the Head office), if he could receive an ip address using dhcp or not

Each vlan should be assigned a distinct subnet. You cannot assign the same subnet to HO and to a branch. If you do that, you would run into some serious or weird connectivity issues.

There is no problem for a host in the branch to receive an IP  via DHCP from a server configured in the HO, but you should follow the example outlined in my previous post.

Regards, LG
*** Please Rate All Helpful Responses ***

VLAN in HQ is separate than VLAN in Branches

you can use vlan as you want in HQ  what is important is make sure the branch VLAN SVI is used under dhcp pool in HQ 
and HQ pool is in same subnet as VLAN SVI of branch 
MHM

Review Cisco Networking for a $25 gift card