• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Trouble with DHCP and VLAN

Scheduled Pinned Locked Moved DHCP and DNS
3 Posts 2 Posters 2.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    ahtonks
    last edited by Jul 11, 2007, 3:50 PM

    I have trouble with using DHCP server in my VLAN.
    I hope that somebody cab help me with my problem.
    I do not know what im doing wrong, i add here my steps from setting up VLAN.

    • i assign new VLAN with name (student) and tag (2)
    • create new interface OPT1
    • set network IP (192.168.2.0/24) and enable interface OPT1
    • enable DHCP for OPT1
    • add IP range (192.168.2.100-192.168.2.250) in DHCP server
      If I connect my computer with VLAN (tag2) then i get results:
      Dhcp Enabled. . . . . . . . . . . : Yes
      Autoconfiguration Enabled . . . . : Yes
      IP Address. . . . . . . . . . . . : 192.168.2.254
      Subnet Mask . . . . . . . . . . . : 255.255.255.0
      Default Gateway . . . . . . . . . : 192.168.2.0
      DHCP Server . . . . . . . . . . . : 192.168.2.0
      DNS Servers . . . . . . . . . . . : 192.168.2.0
      Everything works with LAN, i get correct gateway, DNS and DHCP server addresses.
      Dhcp Enabled. . . . . . . . . . . : Yes
      Autoconfiguration Enabled . . . . : Yes
      IP Address. . . . . . . . . . . . : 192.168.1.244
      Subnet Mask . . . . . . . . . . . : 255.255.255.0
      Default Gateway . . . . . . . . . : 192.168.1.1
      DHCP Server . . . . . . . . . . . : 192.168.1.1

    Same problem with version 1.0.1, 1.2-BETA.1 and 1.2-BETA.2
    Did anybody can help me?
    Sorry for my english.
    Thanks

    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by Jul 12, 2007, 12:16 AM

      You need to use a valid IP on the OPT interface, not the network address. i.e. it needs to be 192.168.2.1/24, not 2.0 as that's the network address and not a usable IP. It looks like it's working as would be expected, if you just use a legit IP you should be fine.

      1 Reply Last reply Reply Quote 0
      • A
        ahtonks
        last edited by Jul 12, 2007, 8:34 PM

        It helps,
        Thank you very mutch!  :)

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received