User Tools

Site Tools


adsl_modem

This is an old revision of the document!


Accessing your ADSL modem In Bridge Mode

Introduction

For those of you that have ADSL connections but want to deploy a gargoyle router with a single NAT you with need to find a DSL router that can be set into a “simple ADSL modem”.

You can of course put another ADSL router in front of the Gargole router but you will run into issues with 'double NAT' (network address translation). This is where NAT occurs twice, once at the firstADSL router and then again at the Gargoyle router.

To prevent this you can covert a certain routers into a simple ADSL modem.

The benefits of this are that your xDSL Router becomes transparent and your Gargoyle router will obtain your WAN (wide area network) IP address directly. This is useful should you need to port forward or remotely gain access to your network from the internet.

Requrements

  • PPPoE connection (PPPoA is not suitable)
  • Suitable xDSL modem (Netgear DG834)
  • Gargole Router with SSH access

Medium linux skills are required as CLI (command line Interface) is needed.

Setup

xDSL Modem Setup

First set up your xDSL modem

Netgear DG834 example

Change the router IP address to 192.168.10.1

Then follow these instructions

http://vpncasestudy.com/download/DG/DG834_Tips100.pdf

NOTE Once in 'Modem only' mode the DG834 will act as a simply modem, its IP address will have no relevance except for connecting to the router to change settings or reconfigure. Remember this IP address, as DHCP will no longer function and you will need it if you wish to connect to the DG834 in future.

Gargoyle Router Setup

The default AP mode is fine, setup from the GUI.

With SSH access find and edit

/etc/ppp/ip-up.d/modemaccess.sh

#This script allows access to the ADSL modem web interface when pppoe is used.
#For this to work configure your modem in brdige mode with DHCP enabled on the modem.
#This will cause the modem to dish an address to the router interface when requested below.
#
#Alternatively you can manually set the below variable ROUTER_IP with the IP address
#you want to use. Make sure the IP address is on the same network as the modem.
#ROUTER_IP=10.0.0.2

Edit and Change <shell> #ROUTER_IP=10.0.0.2 </shell> to <shell> ROUTER_IP=192.168.10.2 </shell>

Reboot your Gargoyle router and everything should work

adsl_modem.1329294616.txt.gz · Last modified: 2012/02/15 08:30 by ispyisail