ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Static Router - EdgeRouter Lite

    IT Discussion
    6
    34
    4.8k
    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.
    • hobbit666H
      hobbit666
      last edited by

      I'm sure this is something simple and just missed something simple but i'm having an issue with Static Routes and EdgeRouter Lite.

      So I have HO Site and WHS Site. The WHS Site is the one that has a EdgeRouter Lite and that connected to the HO Site via a VPN (Draytek), through this VPN from the EdgeRouter I can ping the 10.0.1.220 address that's a Cisco Layer3 core switch.

      However on this Cisco Switch at HO I have some VLAN's setup and it's those I need WHS to see as well, but can't seem to get the routing right.

      How do you configure the EdgeRouter to route a network address 172.20.0.X through a VPN Link???

      1 Reply Last reply Reply Quote 0
      • DashrenderD
        Dashrender
        last edited by

        Are you sure it's a ERL problem and not on on the client side?

        in other words, what does the routing table at the client see? Does it show that traffic destined for 172.20.x.x should go through the VPN? Assuming something like a split tunnel, the client might be sending the 172.20.x.x traffic to the normal default gateway.

        What do you have for static routes already?

        1 Reply Last reply Reply Quote 1
        • hobbit666H
          hobbit666
          last edited by

          Pretty sure it ERL.
          From a server at the WHS site if I traceroute to 10.0.1.220 it goes:-
          Default Gateway(ERL) --> Draytek --> HO LAN

          If I tracert to 172.20.0.X it goes
          Default Gateway --> ISP Router --> ISP Router --> Timesout.

          I've tried adding the 172.20.0 address to a static IP Via both 10.0.1.220 and Draytek (10.0.1.242) but that doesn't seem to work either.

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            Yup, sounds like a missing route on the ERL.

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @hobbit666
              last edited by

              @hobbit666 said:

              I've tried adding the 172.20.0 address to a static IP Via both 10.0.1.220 and Draytek (10.0.1.242) but that doesn't seem to work either.

              It's a static route that is needed.

              1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender
                last edited by

                Have you done a route add command?

                hobbit666H scottalanmillerS 2 Replies Last reply Reply Quote 0
                • hobbit666H
                  hobbit666 @Dashrender
                  last edited by

                  @Dashrender said:

                  Have you done a route add command?

                  On the ERL? I've tried adding via the web interface

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    What does the current routing table look like?

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @Dashrender
                      last edited by

                      @Dashrender said:

                      Have you done a route add command?

                      I don't believe that there is a route add command on the ERL.

                      DashrenderD 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        This is what adding a route looks like on VyOS:

                        set protocols static route 0.0.0.0/0 next-hop '190.66.11.49'

                        1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender @scottalanmiller
                          last edited by

                          @scottalanmiller said:

                          @Dashrender said:

                          Have you done a route add command?

                          I don't believe that there is a route add command on the ERL.

                          Good to know, but you still knew what I was getting at. 😉

                          1 Reply Last reply Reply Quote 0
                          • dafyreD
                            dafyre
                            last edited by dafyre

                            You will need to add static routes both on the ERL for EACH VLAN on the other end of the VPN that you want to access.

                            On your core switch at HO, you'll need to add a static route back to WHS...

                            Assume the following Networks:

                            WHS Subnet: 192.168.100.0/24
                            WHS ERL: 192.168.100.1/24
                            WHS VPN to HO: 192.168.5.158/24

                            HO Subnet: 192.168.5.0/24
                            HO Core Switch, VLAN 5: 192.168.5.1/24
                            HO Core Switch, VLAN 10: 192.168.10.1/24
                            HO Core Switch, VLAN 15: 192.168.15.1/24

                            On the WHS ERL, you'll need to add static routes:
                            192.168.5.0/24 via 192.168.5.158
                            192.168.10.0/24 via 192.168.5.158
                            192.168.15.0/24 via 192.168.5.158

                            On the HO Core switch, I believe you only have to add the following route:

                            192.168.100.0/24 via 192.168.5.158

                            Does that make sense?

                            Edit: The above is an idea only... Figure out the appropriate web or cli synax to make it happen.

                            1 Reply Last reply Reply Quote 1
                            • J
                              Jason Banned
                              last edited by

                              Can the VPN not advertise the routes, so you don't have to do it statically on each client?

                              JaredBuschJ 1 Reply Last reply Reply Quote 1
                              • JaredBuschJ
                                JaredBusch @Jason
                                last edited by

                                @Jason said:

                                Can the VPN not advertise the routes, so you don't have to do it statically on each client?

                                Depends on the VPN technology in use. But yes it can be specified in the ERL GUI for IPSEC or command line for OpenVPN

                                1 Reply Last reply Reply Quote 0
                                • hobbit666H
                                  hobbit666
                                  last edited by

                                  0_1457365258208_basic whs route.png

                                  So I've setup the draytek and ERL VPN adding the main IPs to the Local/Remote boxes.
                                  As default from whs I can ping the Core switch and everything on the "HO LAN", but nothing on the VLAN15 side even the VLAN IP on the Cisco Switch.

                                  I've tried a few ways of adding the static route to the ERL but nothing seems to help.

                                  The draytek can ping all addresses.

                                  dafyreD 1 Reply Last reply Reply Quote 0
                                  • hobbit666H
                                    hobbit666
                                    last edited by

                                    Here is the ERL GUI
                                    0_1457365996217_ERL-IPSEC.png
                                    I have tried added the VLAN lan to that but still no go.

                                    dafyreD 1 Reply Last reply Reply Quote 0
                                    • dafyreD
                                      dafyre @hobbit666
                                      last edited by

                                      @hobbit666 said:

                                      0_1457365258208_basic whs route.png

                                      So I've setup the draytek and ERL VPN adding the main IPs to the Local/Remote boxes.
                                      As default from whs I can ping the Core switch and everything on the "HO LAN", but nothing on the VLAN15 side even the VLAN IP on the Cisco Switch.

                                      I've tried a few ways of adding the static route to the ERL but nothing seems to help.

                                      The draytek can ping all addresses.

                                      Can we get a screenshot of the Static Routes page on the ERL, and the show route command on the Cisco?

                                      1 Reply Last reply Reply Quote 0
                                      • dafyreD
                                        dafyre @hobbit666
                                        last edited by

                                        @hobbit666 said:

                                        Here is the ERL GUI
                                        0_1457365996217_ERL-IPSEC.png
                                        I have tried added the VLAN lan to that but still no go.

                                        Is this screen shot the page of the VPN setup?

                                        dafyreD 1 Reply Last reply Reply Quote 0
                                        • hobbit666H
                                          hobbit666
                                          last edited by

                                          0_1457366167790_ERL Routes.png

                                          1 Reply Last reply Reply Quote 0
                                          • hobbit666H
                                            hobbit666
                                            last edited by

                                            I've tried adding the route here via 10.0.1.220 and 10.0.1.242 but doesn't do anything

                                            dafyreD 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post