04-13-2024 08:51 AM
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
04-13-2024 03:19 PM
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.
04-13-2024 10:04 PM
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
04-14-2024 01:02 AM
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.
04-14-2024 12:42 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide