Skip to site navigation

Thomson TG605s - Routed IP Setup

Expand / Collapse
 

Thomson TG605s - Routed IP Setup


Thomson TG605s - Routed IP Setup

Aim of this article:

This article provides CLI setup instructions for the Thomson TG605s SHDSL router for Routed IP mode.

NOTE: This article requires the latest firmware, version 8.2.6.5. If you need to upgrade your firmware please see the 'Related Articles' section at the bottom of this page.

Configuring the router:

First connect the router to your SDSL line using the modem cable. Also connect your PC to the router using Ethernet cable.

Windows users click the Start button followed by Run...   Type cmd and press Enter.  This will launch the command prompt.

For Linux/Apple users launch a terminal screen.

Once the command prompt (Windows) or Terminal screen (Linux/Mac OS) window is open type the following:


Press Enter.

By default the username will be Administrator.  Type this and then press Enter.

No password is required by default. Press Enter.

We are now ready to run the following CLI commands to add the public IP range to the router.

NOTE: lines must be submitted to the router on a single line, we advise pasting the command into notepad ensuring the command does not break to the next line.

Where <IPADDRESS> and <SUBNETMASK> are listed please substitute these for your IP address information supplied by Zen internet removing the angle brackets '<>'

CLI Commands:

1) ip arpadd intf lan1 ip <IPADDRESS> hwaddr $_MACADDR

---------------------------
Command Response
---------------------------
{Administrator}=>ip arpadd intf lan1 ip <IPADDRESS> hwaddr $_MACADDR
{Administrator}=>


2) ip rtadd dst <IPADDRESS> dstmsk <SUBNETMASK> intf lan1

---------------------------
Command Response
---------------------------
{Administrator}=>ip rtadd dst <IPADDRESS> dstmsk <SUBNETMASK> intf lan1
Warning : truncating address prefix to fit mask.
{Administrator}=>


3) env set var=WANsub value= <IPADDRESS>/<SUBNETMASK>

---------------------------
Command Response
---------------------------
{Administrator}=>env set var=WANsub value=<IPADDRESS>/<SUBNETMASK>
{Administrator}=>

4) expr add name=public type=ip addr=$WANsub

---------------------------
Command Response
---------------------------
{Administrator}=>expr add name=public type=ip addr=$WANsub
(Sub)expression added successfully.
{Administrator}=>


5) nat mapadd intf=Internet type=nat outside_addr=$WANsub
inside_addr=$WANsub access_list=$WANsub weight=10

---------------------------
Command Response
---------------------------
{Administrator}=>nat mapadd intf=Internet type=nat outside_addr=$WANsub inside_
addr=$WANsub access_list=$WANsub weight=10
Warning : for NAT access list is automatically restricted to the inside address
range.
{Administrator}=>

6) firewall rule add chain=forward_level_Standard index=2 name=FromWAN_to_Public_IP_Range srcintf=wan dstip=public log=disabled state=enabled action=accept

---------------------------
Command Response
---------------------------
{Administrator}=>firewall rule add chain=forward_level_Standard index=2 name=Fr
omWAN_to_Public_IP_Range srcintf=wan dstip=public log=disabled state=enabled ac
tion=accept
{Administrator}=>


7) firewall rule add chain=forward_level_Standard index=3 name=FromPublic_IP_RANGE srcip=public log=disabled state=enabled action=accept

---------------------------
Command Response
---------------------------
{Administrator}=>firewall rule add chain=forward_level_Standard index=3 name=Fr
omPublic_IP_RANGE srcip=public log=disabled state=enabled action=accept
{Administrator}=>


8) firewall level modify name=Standard text="Use this Security Level to allow all outgoing connections and block all incoming traffic to the private network. Public IP Addresses are not protected."

---------------------------
Command Response
---------------------------
{Administrator}=>firewall level modify name=Standard text="Use this Security Le
vel to allow all outgoing connections and block all incoming traffic to the pri
vate network. Public IP Addresses are not protected."
{Administrator}=>

9) saveall
---------------------------
Command Response
---------------------------
{Administrator}=>saveall
{Administrator}=>


The device is now configured for Routed IP, you can now exit the telnet shell. The device will continue to work in both NAT and the new Routed IP range. 



Rate this Article:
     

Feedback on this Article


Comment require login or registration.

Details
Type: HOWTO
Article not rated yet.
Article has been viewed 9,721 times.
Options


Skip to site navigation