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

    No WAN IP on new XG-7100 - with DrayTek Vigor 130 Bridged VDSL

    Official Netgate® Hardware
    2
    12
    782
    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.
    • J
      JayMcTee
      last edited by JayMcTee

      Hi Steve, thanks for taking the time to answer.

      1. No, I don't remember that working when the Vigor was in Bridged mode, laptop on DHCP, it would nog get a public IP, just some self-assigned one without an internet connection. I'll retry this tonight or tomorrow though.

      2. I did try this VLAN tag in pfSense, see this screenshot:

      Screenshot 2020-08-06 at 16.01.53.png

      Screenshot 2020-08-06 at 16.02.04.png

      This concept of parent interface confuses me though. This is the aforementioned lagg0:

      Screenshot 2020-08-06 at 16.02.31.png

      How would I know it's the right ports? It says UP in the Interface status, so I suppose it's the right one.

      Screenshot 2020-08-06 at 16.05.05.png

      Is the localhost 127.0.0.1 DNS server there up top even correct? I did not set that myself.

      1. That DHCP option 60, when I tick Advanced Configuration, it speaks of requiring a path to a config file. I don't seem to be able to just enter the required option right there. From documentation it seems like you used to be able to do that, but that as of now, it requires uploading a config file to the appliance. I'll try that though, I'll report back tonight/tomorrow.
      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        The Draytek V130 appears to be capable of either tagging the traffic on WAN itself or passing through the VLAN. I would suggest tagging the VLAN in the V130 for simplicity:
        https://www.draytek.com/support/knowledge-base/5367

        If you need to tag the traffic in XG-7100 you will need to configure the switch to pass VLAN 34 tagged between lagg0 and the chosen port. Like so:
        Selection_876.png

        You have any documentation from the ISP for Option 60? Does it require a value sent with the option 60 identifier?

        Steve

        1 Reply Last reply Reply Quote 0
        • J
          JayMcTee
          last edited by

          Thank you, thank you! I will try those routes regarding tagging.

          As for option 60, all they say is "it needs to be enabled".

          These docs say it's binary, so I suppose 1 will do:
          https://docs.netgate.com/tnsr/en/latest/dhcp/options.html

          This older thread talks about entering it in the UI with a string: https://forum.netgate.com/api/topic/78736/pfsense-2-2-interface-advanced-dhcp-client-configuration/3?_=1597061934316

          There is some mention of it here, but not quite clear on the exact required input:

          https://docs.netgate.com/pfsense/en/latest/dhcp/dhcp-server.html

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            I imagine it should look something like this:
            Selection_877.png

            What does it look like in the V130 GUI?

            Steve

            1 Reply Last reply Reply Quote 0
            • J
              JayMcTee
              last edited by

              @stephenw10 said in No WAN IP on new XG-7100 - with DrayTek Vigor 130 Bridged VDSL:

              What does it look like in the V130 GUI?

              Like this:

              Screenshot 2020-08-10 at 21.32.43.png

              What I did tonight was (no luck unfortunately):

              Vigor:

              • From https://www.draytek.com/support/knowledge-base/5367 the part that reads "Bridge VLAN Tag from ISP to LAN" so I have this:

              Screenshot 2020-08-10 at 21.31.23.png

              Which I now see the table columns have switched compared to the article so it seems I enabled the wrong one...

              Then MPoA in Bridged, no MAC spoofing and I did NOT set option 60 here since presumably with Bridged, it'll get lost anyhow.
              LAN DHCP Disabled

              So the Vigor is simply in MPoA bridged mode, with VLAN tagging on but left empty.

              Then on the pfSense side I can't find where you screenshotted the advanced DHCP settings. For me, under the WAN interface set to DHCP, it looks like this:

              Screenshot 2020-08-10 at 21.44.32.png

              Now tick Advanced:

              Screenshot 2020-08-10 at 21.44.42.png

              Still nowhere to enter DHCP options.

              So we tick Config Override:

              Screenshot 2020-08-10 at 21.45.00.png

              This is the file upload I mentioned before. I've not tried that yet as I'm not sure on the exact formatting of the file's content.

              PS ticking both yields the same:

              Screenshot 2020-08-10 at 21.45.12.png

              With your hint I found out how to figure out which port is which:

              Screenshot 2020-08-10 at 21.58.47.png

              So I tagged 1 through to 8 as 34:

              Screenshot 2020-08-10 at 22.00.04.png

              On the Interface Assignments I put things back to original as the wizard suggested:

              Screenshot 2020-08-10 at 22.03.51.png

              WAN on 4090 and LAN 4091

              By the way, only under Services > LAN did I find some extra DHCP options, but those are for the LAN side, not the WAN, right? So I didn't touch this:

              Screenshot 2020-08-10 at 22.09.18.png

              So it seems I need to reconfigure the Vigor as for the columns mishap, I'll try that now. And I still need to figure out where to set this Option 60 DHCP vendor class. I see how to upload a file and presumably, I will get a file path after upload I can enter in the Advanced DHCP settings. But what should I put in the file exactly?

              1 Reply Last reply Reply Quote 0
              • J
                JayMcTee
                last edited by

                Perhaps @frankh who solved it in this thread: https://forum.netgate.com/topic/137690/dhcp-server-option-60/7 can help me on my way with the DHCP override config file format?

                All the ISP says is, Option 60 needs to be Enabled. But there seems to be some confusion on whether it's dhcp-class-identifier or a vendor identifier. I've also seen posts suggesting the syntax 'option-60 "1"' also works. If I stick that on just a single line, will that suffice or do I need to copy the original DHCP config in there too?

                1 Reply Last reply Reply Quote 0
                • J
                  JayMcTee
                  last edited by

                  @JayMcTee said in No WAN IP on new XG-7100 - with DrayTek Vigor 130 Bridged VDSL:

                  Which I now see the table columns have switched compared to the article so it seems I enabled the wrong one...

                  I switched it to the right one, under Consumer, still no joy.
                  I also added Option 60 with data just the number 1 in the Vigor, still no joy.

                  Still have doubts about the interface assignment for WAN. I don't get why it has to be "VLAN 4090 on lagg0 (WAN)" instead of directly on the said ETH1 port, which I can't choose on its own.

                  Hopefully more luck tomorrow, we must be getting close...

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by stephenw10

                    DHCP server options are very different to dhcp client options. That thread is probably not helpful here unfortunately.

                    Here is what I would do:

                    Set the customer VLAN tag to 34 in the V130.

                    Remove the VLAN interface and vlan settings from the switch in pfSense.

                    Just use the WAN interface there directly with the default switch setup so that traffic arrives from pfSense untagged to the V130 and the V130 tags it onto the VDSL.

                    In the WAN dhcp setup check advanced options, uncheck config override.

                    In the lease requirements section that appears below that enter in the 'send options' field:
                    dhcp-class-identifier "dhcp-class-identifier1"

                    It probably doesn't matter what the data is there but that's what the Draytek is sending.

                    Try that then check the dhcp logs for dhclient entries.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • J
                      JayMcTee
                      last edited by

                      @stephenw10 said in No WAN IP on new XG-7100 - with DrayTek Vigor 130 Bridged VDSL:

                      In the WAN dhcp setup check advanced options, uncheck config override.
                      In the lease requirements section that appears below that enter in the 'send options' field:

                      Thanks again Steve!

                      This part though, I see it in your screenshot, but as per my screenshot, I don't have this field in the WAN DHCP setup:

                      Screenshot 2020-08-10 at 21.44.42.png

                      How did you browse to the "Lease Requirements and Requests" form that you screenshotted earlier?

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        It should appear imediately below the client config section when you enable advanced config:
                        Selection_880.png

                        It's normally hidden by client side script. Try a different browser if you don't see it or check your browser plugins, something may be blocking it.

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.