Текст страницы
Document version: V1.2
Parameter
Description
Specifies the ingress IP address of the next hop router after the data packet exits
from the interface of the router.
Gateway
0.0.0.0 indicates that the destination network is directly connected to the router.
WAN
Specifies the interface that the packet exits from.
The available options include:
: Used to modify a static routing rule.
Operation
: Used to delete a static routing rule.
Example of adding a static routing rule
Scenario: You have a router and another two routers. Router1 is connected to the internet and its
DHCP server is enabled. Router2 is connected to an intranet and its DHCP server is disabled.
Goal: You can access both the internet and intranet at the same time.
Solution: You can configure the static routing function to reach the goal.
Assume the LAN IP addresses of these devices are:
− Router: 192.168.0.1
− Router1: 192.168.10.10
− Router2: 192.168.10.20
− Information about the intranet:
− IP address: 172.16.105.0
− Subnet mask: 255.255.255.0
Router
113