Quantcast
Channel: All EdgeRouter posts
Viewing all articles
Browse latest Browse all 60861

Problem with DHCP servers on vlans

$
0
0

Hello, am having problems with the implementation of a wireless network. The scheme of connection is the following:

im01_edited.jpg

 

The access points (Rocket PRISM) are configured in bridge mode. Each access point is configured in a different VLAN (AP1 -> VLAN101; AP2 -> VLAN102, etc.).

The ER-8PRO router has a DHCP server configured for each VLAN that goes through port 7.

STEPS FOR CONFIGURATION

  1. Configure ports 5 through 12 for the 8 access points. Each port, a different vlan:
  • eth05 | vlan 101
  • eth06 | vlan 102
  • eth07 | vlan 103
  • eth08 | vlan 104
  • eth09 | vlan 105
  • eth10 | vlan 106
  • eth11 | vlan 107
  • eth12 | vlan 108

im02_edited.jpg

 

Port 1, I use it to take all vlans to the Router. For this reason, configure:

  • vlan101 | untagged eth5 | tagged eth1
  • vlan102 | untagged eth6 | tagged eth1
  • Vlan108 | untagged eth12 | tagged eth1

I clarify that I also configure as "tagged" to port 17, because I will download with fiber optics in the future (to have 2 drops, to have redundancy in case one of the lines falls).

 

im03_edited.jpg

 

For now, I have configured only 3 AP.

 

im04_edited.jpg

 

  1. Router configuration.

im05_edited.jpg

 

 I was configuring on port 7 the different vlans:

  • 101 |  10.201.1.254/24
  • 102 |  10.201.2.254/24
  • 103 |  10.201.3.254/24
  • 104 |  10.201.4.254/24
  • 105 |  10.201.5.254/24
  • 106 |  10.201.6.254/24
  • 107 |  10.201.7.254/24
  • 108 |  10.201.8.254/24

Then configure the different DHCP servers for each vlan:

 

im06_edited.jpg

 

im07_edited.jpg

 

As the clients connect, the router gives them IP addresses. Then I click on the "Map Static IP" button to make sure I always give the same IP to the client.

PROBLEM

At first, everything seems to work well. Clients connect to access points, and receive an IP address from the Router. Depending on the access point to which they are connected, they will belong to the network 10.201.XXX.0/24 (XXX being from 1 to 8).

 

But it happens, that sometimes, it stops delivering IP addresses (the router). And when I access the access points, all the clients are at 192.168.10.1. I reboot the router, and after a long time, it starts to deliver IP addresses (because I assume that the CPE, once they have the address 192.168.10.1, do not ask for a new IP address until they restart the CPE antenna).

Even sometimes, I remove the DHCP server, re-create it, and automatically, it delivers IP to all the clients of the corresponding vlan.

 

The question I have is:  Do I need to configure something on the Switch/router? Is something misconfigured?

Does anyone have any ideas?


Viewing all articles
Browse latest Browse all 60861

Trending Articles