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

    Ubiquiti Edge Router - Multiple IPs

    IT Discussion
    3
    5
    750
    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've thinking of replacing a Draytek here at HeadOffice and possible 2nd Location for some EdgeRouters.

      But I have no question. Both these drayteks have 5 IP's assigned to them and are used for different things, 1 IP for CCTV1, other for CCTV2 etc.
      How is this setup with the EdgeRouter?

      Will I need to setup a VDSL modem in bridge mode to the EdgeRouter? Or have it with one of the IP's and let routing take over?.

      JaredBuschJ 2 Replies Last reply Reply Quote 0
      • Mike DavisM
        Mike Davis
        last edited by

        Do you mean that your ISP assigned 1 IP for your public interface, and then gave you 5 more public IPs that need to ARP to WAN interface?

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

          @hobbit666 said in Ubiquiti Edge Router - Multiple IPs:

          Will I need to setup a VDSL modem in bridge mode to the EdgeRouter? Or have it with one of the IP's and let routing take over?.

          If the Draytek is a modem, then of course you will need a modem in bridged mode. The ERL is a router, not a modem.

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

            @hobbit666 said in Ubiquiti Edge Router - Multiple IPs:

            But I have no question. Both these drayteks have 5 IP's assigned to them and are used for different things, 1 IP for CCTV1, other for CCTV2 etc.
            How is this setup with the EdgeRouter?

            Will I need to setup a VDSL modem in bridge mode to the EdgeRouter? Or have it with one of the IP's and let routing take over?.

            How are you getting the IP addresses? If it is a statically assigned thing, then you simply assign the IP addresses in the router on the WAN port and make SNAT & DNAT rules for things.

            
            ubnt@erl# show interfaces
             ethernet eth0 {
                 address XXX.XXX.XXX.42/29
                 address XXX.XXX.XXX.43/29
                 address XXX.XXX.XXX.44/29
                 description WAN
                 duplex auto
                 firewall {
                     in {
                         name WAN_IN
                     }
                     local {
                         name WAN_LOCAL
                     }
                 }
                 poe {
                     output off
                 }
                 speed auto
             }
            ubnt@erl# show service nat
             rule 1 {
                 description "NginX Proxy"
                 destination {
                     address XXX.XXX.XXX.43
                     group {
                         port-group HTTP_HTTPS
                     }
                 }
                 inbound-interface eth0
                 inside-address {
                     address 10.202.1.16
                 }
                 log disable
                 protocol tcp_udp
                 type destination
             }
             rule 3 {
                 description "RDS HTTPS"
                 destination {
                     address XXX.XXX.XXX.44
                     port 443
                 }
                 inbound-interface eth0
                 inside-address {
                     address 10.202.1.13
                     port 443
                 }
                 log disable
                 protocol tcp
                 type destination
             }
             rule 4 {
                 description "RDS RDP"
                 destination {
                     address XXX.XXX.XXX.44
                     port 3389
                 }
                 inbound-interface eth0
                 inside-address {
                     address 10.202.1.13
                     port 3389
                 }
                 log disable
                 protocol tcp
                 source {
                     group {
                         address-group RDP_Allowed_IP
                     }
                 }
                 type destination
             }
             rule 5 {
                 description "PBX Restricted Port Forward"
                 destination {
                     address XXX.XXX.XXX.42
                     group {
                         port-group PBX_Ports
                     }
                 }
                 inbound-interface eth0
                 inside-address {
                     address 10.202.1.9
                 }
                 log disable
                 protocol udp
                 type destination
             }
             rule 5000 {
                 description "Nginx Proxy"
                 destination {
                 }
                 log disable
                 outbound-interface eth0
                 outside-address {
                     address XXX.XXX.XXX.43
                 }
                 protocol all
                 source {
                     address 10.202.1.16
                     group {
                     }
                 }
                 type source
             }
             rule 5002 {
                 description "RDS HTTPS"
                 log disable
                 outbound-interface eth0
                 outside-address {
                     address XXX.XXX.XXX.44
                     port 443
                 }
                 protocol tcp
                 source {
                     address 10.202.1.13
                     port 443
                 }
                 type source
             }
             rule 5003 {
                 description "RDS RDP"
                 destination {
                     group {
                         address-group RDP_Allowed_IP
                     }
                 }
                 log disable
                 outbound-interface eth0
                 outside-address {
                     address XXX.XXX.XXX.44
                     port 3389
                 }
                 protocol tcp
                 source {
                     address 10.202.1.13
                     port 3389
                 }
                 type source
             }
             rule 5005 {
                 description "Default NAT Masquerade"
                 log disable
                 outbound-interface eth0
                 protocol all
                 type masquerade
             }
            
            hobbit666H 1 Reply Last reply Reply Quote 1
            • hobbit666H
              hobbit666 @JaredBusch
              last edited by

              @JaredBusch Yes they are static assign /29 IP's from the ISP.
              In the draytek you specify the IP's you have and then use the NAT screen to open ports on each IP to a local IP on the network.

              Just wanted to check a similar thing can be done with the EdgeRouter.

              And yes I know the EdgeRouter has no modem, just want to check if Bridge mode would work or would I need to assign the Modem an IP and the others to the EdgeRouter.

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post