Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

Router - TG582N - Using an external modem: Difference between revisions

m
Configure PPP to use the right destination (eth_WAN or eth_PPP)
m (I have actually switched back to the internal modem once, which I'd better own up to.)
m (Configure PPP to use the right destination (eth_WAN or eth_PPP))
(2 intermediate revisions by the same user not shown)
One may wish to use the TG582n just as a router, and use an external ADSL or VDSL modem. In your author's case, the performance of the TG582n as aan ADSL modem
was found to be very poor (3.2km from the exchange, 8km from a very powerful Medium Wave transmitter) and a different modem was much better (part of
a modem/router which can't do IPv6...).
 
One could use the configuration wizard to setup the TG582n for FTTC, but some of the settings aren't appropriate for ADSL - and my intention is
to make it easy to switch back to the internal modem (although since doing this, I've only switched back once!) and not lose my custom configuration.
 
=Sacrifice an Ethernet port=
:eth ifattach intf=eth_WAN
:eth ifconfig intf=eth_WAN wan=enabled priotag=disable
 
=For VDSL, create an interface with the appropriate VLAN=
 
BT's VDSL runs over a VLAN (101), and the Openreach modem (now discontinued)
and other modems expose the VLAN over the PPPoE link. So a 'shim' interface
is needed on the router to cope with the vlan.
 
:eth add vlan name=FTTx vid=101
:eth bridge vlan ifadd name=FTTx intf=virt untagged=disabled
:eth ifadd intf=eth_PPP
:eth ifconfig intf=eth_PPP dest=eth_WAN vlan=FTTx
:eth ifattach intf eth_PPP
 
=Switch PPP over to use this new interface=
 
One can't '''ppp ifconfig''' an interface which is administratively up, so one has to bring it down first:. The ''dest'' field
should be ''eth_WAN'' for ADSL or ''eth_PPP'' for VDSL.
 
:ppp ifdetach intf=Internet
:ppp ifconfig intf=Internet dest=eth_WAN|eth_PPP mru=1492
 
Then bring PPP back up:
editor
466

edits