Routing
IP routing
TX54 User Guide
344
3. Add a new static route:
(config)> add network route static end
(config network route static 0)>
New static route instances are enabled by default. To disable:
(config network route static 0)> enable false
(config network route static 0)>
4. (Optional) set a label that will be used to identify this route. For example:
(config network route static 0)> label "route to accounting network"
(config network route static 0)>
5. Set the IP address or network of the destination of this route. For example:
(config network route static 0)> destination
ip_address[/netmask]
(config network route static 0)>
For example, to route traffic to the 192.168.47.0 network that uses a subnet mask of
255.255.255.0:
(config network route static 0)> dst 192.168.47.0/24
(config network route static 0)>
The
any
keyword can also be used to route packets to any destination with this static route.
6. Set the interface on the TX54 device that will be used with this static route:
a. Use the
?
to determine available interfaces:
(config network route static 0)> interface ?
Interface: The network interface to use to reach the destination.
Format:
/network/interface/defaultip
/network/interface/defaultlinklocal
/network/interface/lan1
/network/interface/lan_hotspot
/network/interface/loopback
/network/interface/wan1
/network/interface/wwan1
/network/interface/wwan2
Current value:
(config network route static 0)> interface
b. Set the interface. For example:
(config network route static 0)> interface /network/interface/wan1
(config network route static 0)>
7. (Optional) Set the IPv4 address of the gateway used to reach the destination. Set to blank if
the destination can be accessed without a gateway.
Содержание TX54
Страница 1: ...TX54 User Guide Firmware version 22 2 ...
Страница 190: ...Interfaces Bridging TX54 User Guide 190 ...
Страница 293: ...Hotspot Hotspot configuration TX54 User Guide 293 ...
Страница 332: ...Hotspot Show hotspot status and statistics TX54 User Guide 332 ...
Страница 584: ...Services Simple Network Management Protocol SNMP TX54 User Guide 584 4 Click Download ...
Страница 1069: ...Command line interface Command line reference TX54 User Guide 1069 reboot Reboot the system Parameters None ...