Doc. # 1-00000430
Date Updated 10-26-2018 Date Created 09-12-2017
Document Type Knowledge Base Related OS
Related Product RT3G-300/ RT3G-300-W/ RT3G-300RAC/ RT3G-302/ RT3G-304/ RT3G-310/ RT3G-310-W/ RT3G-311/ RT3G-320-W/ RT3G-320RAC-W/ RT3G-322/ RT3G-324/ RT3G-330/ RT3G-340-W/ RT3G-340RAC-W/ RTLTE-300-VZ/ RTLTE-302-VZ
How do you add a Static IP Route or Table to the Spectre Routers?
Solution:
You can add static IP routes and tables to the Routers routing table by putting them directly in Startup Script in the Routers configuration or you can use a Telnet/SSH tunnel to access the routers CLI. The router runs on Linux and commands can be found from Linux Man Pages. A few simple examples of adding an IP route or table can be found below: #Add routing IP address 192.168.3.1 through gateway 192.168.1.2 Ip route add 192.168.3.1 via 192.168.1.2 #Add routing networks 192.168.3.0/24 through interface eth0 Ip route add 192.168.3.0/24 dev eth0 #Redirect incoming TCP connections to port 8080 on IP address 192.168.1.2 and port 80 iptables -t nat -A napt -p tcp --dport 8080 -j DNAT --to-destination 192.168.1.2:80 These are examples from the Commands and Scripts Guide. The Guide can be downloaded on the link below. Commands and Script Guide
Download File Release Date Download Site
Commands_and_scripts_for_SPECTRE3G_routers_1413.pdf (Commands and Scripts for Spectre 3G Routers) 10-17-2017
  1. Primary
  2. Secondary