Get online support
This is not a question, rather it's my attempt to record the steps that I took to use my preferred modem.
I am a new TPG NBN customer, previously using ADSL2+ with TPG.
My home has Fibre to the Curb (FTTC).
As part of the TPG plan, I was supplied with an NBN box that provides power to the NBN fibre adapter in the telecoms pit near my house and also with a pre-configured TP-Link Archer 1600 VDSL capable modem / router / wifi point.
In order to connect to the NBN box using FTTC it's necessary to have a PPPoE connection. This is different from some other NBN connections, some instead require a simple Ethernet connection to request a DHCP IP address.
Initially, I connected with the pre-configured TP-Link Archer 1600 gateway. That worked, but I prefer the functionality of the Ubiquity EdgeRouterX (https://www.ui.com/edgemax/edgerouter-x/). Unlike many devices, this device's 5 Ethernet ports are separate interfaces. It's not just a 4 port switch with a WAN port, it can support 5 separate subnets, more if used with other VLAN aware equipment.
I could have simply used the Archer TP-Link as a gateway, turned off the wireless radios, then configured the WAN port of the Unbiquiti EdgeRouterX to have a fixed IP address in the Subnet the TP-Link was providing. Indeed, that's what I did initially until I figured out how to make the EdgeX directly connect to the NBN box.
Now that I've got that working, it's a slightly cleaner configuration. I may decide to use the TP-Link later as a wireless access point, but for now I'm just leaving it turned off to save power. It seems to get VERY hot when both wireless bands are turned on, so I'm assuming it's quite power hungry.
In case anyone else wants to use a Ubiquity EdgeRouterX to connect to the NBN box with FTTC with TPG, here's the steps you need to go through. I can't promise this will work for everyone, but it's working for me for a few days now.
---------------------------------------------------------------------------------------------------------------------------
Assumptions Made
------------------------
I am assuming you are using ETH0 as the WAN interface on the EdgeX.
I assume you initially used one of the wizards to create a sensible default configuration for the EdgeX. I myself used "WAN + 2LAN", then I re-configured it to remove the switch and effectively set up what I'd call "WAN + 4 LAN"
I assume you previously had ETH0 connected to some subnet as a WAN, such as I was doing using the TP-Link Archer 1600.
I assume you have some familiarity with the GUI of the EdgeX. Luckily you don't need to use the command like to do this.
Steps:
--------
This step was one I didn't figure out for myself - I learned about this step from this web page: https://forums.whirlpool.net.au/archive/3rpmnwp3. A posting by "Silent Dog", near the end of that page. So the key parameters in this dialogue box are:
(a)VLAN ID of 2
(b) that the parent interface be ETH0.
(c) That the "Address" be "Use DHCP".
Other settings are less strict, but I kept an MTU of 1500.
(a) PPPoE ID = 0. This IS NOT the VLAN ID. Previously I thought it was the same, it's not. Set it to Zero.
(b) Interface = "eth0.2", so NOT "eth0", that would be the ETH0 interface, but not on VLAN2. We MUST use "eth0.2" to use the right VLAN ID that we created in Step #3. With other providers (say Telstra, iiNet...) the VLAN ID is likely to be different.
(c) Account name = My TPG account name. To my surprise, I could use just the username, without @TPG.com.au on the end.
(d) Password…. but in fact it seems anything works, even a blank password !
(e) MTU must be at least 8 less than that for ETH0 and for ETH0.VLAN2, so I picked 1492. I'm not certain that's optimal, but it works.
At this point, you may notice that the PPPoE interface of your EdgeX has a public IP address (e.g. 220.x.x.x). If you don't have that, there might be a problem. However even if you do see your address, there's still a step or two to perform. Don't stop here.
To change the WAN Masquerade settings, we must go away from the Dashboard Tab, over to the "Firewall/NAT" tab. Then on that tab, in to the sub-tab of "NAT". Under that tab, we see one existing NAT rule, named "masquerade for WAN". Choose from the "actions" button at the right side of the screen, Choose "Config", now in this dialogue box, you will see the WAN Masquerade interface is "eth0". Change this to be "pppoe0". If you don't perform this step, you will be connected to the internet, but no traffic you send out will ever be returned properly. So you will have an IP address, but you can't browse to any websites, or PING anything. Basically this allows replies coming back from the internet to be properly returned through NAT.
---------------------------------------------------------------------------------------------------------------------------
I hope that's helpful for someone else.
Kind regards.
S.Davey.
Hey @S-Davey ,
Thank you for sharing this awesome guide. This is very helpful for the community.
Cheers!
Thanks for your help. Fantastic.
Big caution here! The config posted will open your internal network to the internet unless you also reconfigure the firewall to us the ppoe0 interface.
You can test at the GRC site "Shields Up" which will attempt to probe your IP address to confirm it is blocking inbound connection attempts.
I had to sign up to give you a big thank you
Strangely enough, my TPG NBN FTTC connection works only with pppoe0 pointing to eth0, but doesnt work though created VLAN2 (eth0.2).
It was set up pppoe0 -> ETH0 from day one, on ER-X. I only tried your instruction in attempts to fix PPPOE0 interfase always shows status "disconnected" and not displaying external IP, but internet works fine.
Any idea what could cause it?
Thanks, Dmitry
Hi @kazakovdp
Do you know if you are under the Bundled NBN with VoIP service or the NBN Data only plan?
If bundled, then VLAN is required. If not, then the normal configuration with PPPoE connection type is sufficient for the service to work.
BasilDV
S, Davey,
Your documentation was golden. There was no way that I would have cracked this. I needed a VLAN of 2 & the pppoe0 to make this work.
I am now trying to get PPTP to work but am failing. If you have cracked this, would you mind outlining the steps to get this to work? I have an external static IP.
john
Hi MarkemCD.
Thank you for raising that point. I did indeed have a firewall configured and I use shields up whenever making changes like this. Very good points though.
I'm glad the posting was helpful.
HI kazakovdp, I'm sorry for the long delay replying.
I'm sorry, I never saw the type of issue you described. I hope you managed to get to the bottom of it.
Hi John,
I'm really glad the post was helpful.
Regarding PPTP - do you mean you are trying to host a VPN server (e.g. OpenVPN) on a machine behind the router ? Or are you trying to set up the PPTP on the router itself ?
I did briefly try setting it up on the router, but I was unable to make it work. So since I have a server behind the router, I just run open VPN on that and open up UDP port 1194 in the routers firewall. On the computer hosting the open VPN, I only allow a specific whitelist of source IP addresses to connect, mainly those obtainable when I'm on a Telstra 5G network, as my primary use case for the VPN is when I've tethered my phone to my laptop.
If you ever managed to get PPTP on the router working, I'd be most interested to hear what you did and how well it works.
Kind regards.