Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Tutorial on Ubiquiti Edgerouter for unifi/maxis, Edgerouter settings ftw

views
     
immensemorbid
post Sep 26 2017, 11:53 PM

New Member
*
Newbie
6 posts

Joined: Feb 2008


Hi, i need some help with setting up Edge Router X for unifi and hypptv. I got this from a friend and was trying to play around with it. I followed your guide and i managed to get pppoe set up on eth0, providing internet to switchports eth1-4 using basic setup. However i can't seem to set vlan on eth1, error saying switchport in use.

I did try setting up again with the steps provided

"e) click 'configure this section' on (Optional) Secondary LAN port (eth2)
f) uncheck 'Enable the DHCP server"

Hypptv was running but I'm not getting internet on other switch ports although pppoe is connected.

My idea is to use this router as a main router for internet and hypptv, and use it as a dhcp server while connecting an access point to it to provide wireless to wifi devices.

Appreciate your help guys smile.gif I'm still pretty new to this. Trying to move out from using the off the shelf consumer routers.
immensemorbid
post Jan 23 2020, 12:14 AM

New Member
*
Newbie
6 posts

Joined: Feb 2008


QUOTE(wanttotree @ Dec 26 2016, 03:09 PM)
user posted image
Hey guys! A few months ago i posted a topic regarding edgerouter lite and how i finally set it up to use with my tm unifi with hypptv. I got involved with ubiquiti forum(amazing forum btw), asked around and had many experiments with the settings including cli based settings. Dont be afraid though. I had a discussion a few months ago with ubiquiti engineer and they agree that they should implement vlan based connection. Lo and behold, firmware 1.9 came out with a wizard that set up PPPoE connection with vlan tag! Pretty awesome of them to hear an opinion from a couple of forumer in Malaysia. I say kudos to Ubiquiti. This is important to all users in Malaysia that mainly connect to the internet the 'vlan' way.LOL.

Enough background check, lets get to it. In this tutorial, i will be using edgerouter-lite as reference. Lets hit it!
1) Download the latest firmware from ( https://www.ubnt.com/download/edgemax ). As of the day im writing this, the latest firmware is at 1.9.1

2) Log into your router page at 192.168.1.1, click system, click 'upload a file' on upload system image, wait a few seconds and the router will ask to reboot, then reboot. =)

3) After aprox 3 minutes the router will finish booting, login into the router again then click wizards, then click;
a) basic setup
b) PPPoE
c) fill in your unifi/maxis/time account name and password
d) click to check vlan, fill in vlan according to your isp (eg: unifi= 500 / maxis fiber= 621)
e) click 'configure this section' on (Optional) Secondary LAN port (eth2)
f) uncheck 'Enable the DHCP server'
g) under 'user setup' choose 'create new admin user', fill in your new user and password(dont use default ubnt, change your password! very important)
h) click apply and reboot.

Viola! your router is set up for internet use! enjoy!!!

Part one of the setup is done, this is mainly for people who doesnt care about iptv like hypptv or astro via maxis fiber. U can hop away and start your beautiful day with the edgerouter! Now moving on to part two where we will set up iptv, hypptv and astro via maxis fiber. lets go!

1) On the router dashboard page click on
a) Add interface
b) Add Vlan
c) Fill in Vlan id (eg: unifi= 600 / maxis fiber= 823)
d) Select eth0 on 'interface'
e) Fill in 'Hyyptv' or 'astro' according to your iptv
f) Click save

2) At 'Local 2', click on 'actions', 'config', change 'manually define ip address' to 'no address', click save.

3) Click on 'Config tree',
a) click interfaces, bridge, click add, fill in 'br0'
b) click ethernet, eth0, vif, 600, bridge-group, fill in 'br0' in 'bridge'
c) click eth2, bridge-group, fill in 'br0' in 'bridge'
d) click 'preview' and 'apply'

4) At this point you can plug your iptv cable to eth2 of your router, make sure restart the iptv box after plugging it in.

Thats it guys! its not as complicated as u think. sure if i were to make a tutorial using cli then that would be a slightly different story. LOL.

I hope u guys enjoy the tutorial! Please point out something that i missed or mistakes.

This wraps up this tutorial, please tell me if any of u guys need to set up ipv6 and set up dns forwarding, ipv6 forwarding, upnp or upnp2 with nat-pmp. These can be done on the next one. Cheers!
*
Hi, I need help. I'm currently using edgerouter X. I cannot get tm hypptv to work. I've tried following your guide. Internet works now.
I have eth0 set for pppoe

eth0 has both vlan 500 and 600
local2 (eth1) set to no address
bridge group br0 added
eth0 vif 600 added bridge group br0
eth1 bridge group br0

hypptv still wont work. am i doing anything wrong?

My plan is to use eth0 for pppoe and eth1 for hypptv
eth234 will be used for other devices (access points etc.)

current firmware version 1.10.3

appreciate your advice. thanks.
immensemorbid
post Jan 23 2020, 09:00 AM

New Member
*
Newbie
6 posts

Joined: Feb 2008


QUOTE(wanttotree @ Jan 23 2020, 12:29 AM)
Remove eth1 from the switch0
*
Should I try to reset the whole thing and reconfigure again?
I've tried the basic setup wizard with either using single Lan option
or having two Lans option.
immensemorbid
post Jan 23 2020, 04:30 PM

New Member
*
Newbie
6 posts

Joined: Feb 2008


QUOTE(wanttotree @ Jan 23 2020, 12:16 PM)
Unnecessary. Just go to config tree interface, then switch0, look for interface eth1 and delete it. That will remove the eth1 from the switch chip.
*
OK got it to work now. Thanks Bro!

 

Change to:
| Lo-Fi Version
0.0238sec    1.21    7 queries    GZIP Disabled
Time is now: 1st December 2025 - 04:21 PM