From Home Router to Business Router

Last month, I got a Ubnt EdgeRouter Pro. It’s my first time dealing with this kind of router.

Most home routers have two interfaces, WAN and LAN. There is usually a 4 port switch for the LAN, and also a wireless AP connected to the LAN.

For the business router, there is no WAN or LAN, just many interfaces, and you define them, and setup their relations and connections.

 

Demo 1: A basic SOHO setup (WAN and LAN)

Here is how the interface dashboard looks like:

Screen Shot 2016-02-25 at 11.55.59

Follow this example from UBNT:

https://help.ubnt.com/hc/en-us/articles/205197660-EdgeMAX-SOHO-Example

remember, if you WAN  is using a public IP without DHCP, you should setup the system gateway [System(lower-left-corner) -> System gateway address:]

Demo 2: Setup Routed Native /48 IPv6

Assume you’ve already have an IPv6 allocation:
/64 Allocation :2001:64:64:64::/64

/64 Gateway:  2001:64:64:64::1

 

Now, you need a /48 IPv6 routed to 2001:64:64:64::2 (It could be any non-gateway address under your /64 assignment)

/48 Allocation:    2001:48:48::0/48

/48 Gateway defined by yourself: 2001:64:64:64::2

/48 LAN interface address: 2001:48:48::1/48

Your ISP will route 2001:48:48::0/48  to  2001:64:64:64::2 by your request.

 

(I searched over the Internet, only tunneled IPv6 setup instructions was found)

 

Here is my instruction:

  1. Set the /48 gateway [2001:64:64:64::2] as one of the WAN’s addresses.
  2. Set [2001:48:48::1/48] as the address for LAN (pickup the one you prefer, this is the LAN address,  just like 192.168.1.1 for you home router)
  3. ConfigTree – protocols – static – router6 [For step 4 and 5]
  4. add route to [0::0/0] update-list then set it’s next-hop to [2001:64:64:64::1] This will define the default route for /64
  5. Goto interface-route6 add route  [2001:48:48::0/48] next hop interface should be your LAN interface
  6. Move to interfaces – ethernet – eth0[depends on your WAN] – ipv6 – router-advert – prefix
  7. add perfix [2001:64:64:64::1] – update-list
  8. Move to firewall – ipv6-name add some rule sets on your demand
  9. Preview and Apply setting
  10. Setup your client’s (a server connected to LAN for example) IPv6 address.