OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of Jessfu »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Topics - Jessfu

Pages: [1]
1
General Discussion / DHCP between OPNsense und Ubiquiti (VLANs) not working
« on: July 25, 2018, 08:47:27 am »
Hi.

Some guys in the German forum are looking for help because they do not get a DHCP lease on an untagged port of their UniFi switch (https://forum.opnsense.org/index.php?topic=9227.0).

This is the setup:
Code: [Select]
                                                                                             <-> UniFi Controller (Port 7)
ISP / WAN <-> Modem / Router <-> OPNSense (18.1.6) <-> UniFi Switch (UniFi Switch 8 POE-60W) <-> UniFi UAP-AC-Lite (Port 6)
                                                                                             <-> Laptop (Port 2 or 3)

Those interfaces are configured at OPNsense:
Code: [Select]
Interface     Port   
------------------------------------------
DEFAULT       re0 (physikalischer Port)
DMZ           VLAN 20 auf re0 (DMZ)
GUEST         VLAN 40 auf re0 (GUEST)
LAN           VLAN 10 auf re0 (LAN)
MANAGEMENT    VLAN 50 auf re0 (MANAGEMENT)   
VOICE         VLAN 30 auf re0 (VOICE)
WAN           re1

The VLAN interfaces have static IPs (192.168.X.100). For each VLAN a DHCP range from 192.168.X.1 to 192.168.X.99 is configured.

The uplink port (port 1) of the UniFi switch has profile "All", i.e. configured as Trunk or tagged port. Port 2 is configured as VLAN 10 (LAN). If a laptop is plugged to this port 2 it gets no IP. No DHCP lease is provided. This only works for the ports that are configured for the DEFAULT net (VLAN 0). On those ports a lease is provided immediatelly.

Anyone who has an idea what's wrong here? Many thanks!

Greetings
Joe

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2