Текст страницы
Parameter description
Parameter
Description
Specifies the IP address of the destination network.
When the Destination Network and Subnet Mask are both 0.0.0.0, it indicates that
this is the default route.
Destination Network
When the route of packets cannot be found in the routing table, the router will
forward the packets using the default route.
Subnet Mask
Specifies the subnet mask of the destination network.
Specifies the ingress IP address of the next hop route 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.
Port
Specifies the interface that the packet exits from.
Operation
: Used to add a static route rule.
: Used to delete a static route rule.
14.5.2 Add a static route 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.
Requirement: You can access both the internet and intranet at the same time.
Solution: You can configure the static route function to reach the requirements.
Assume the LAN IP addresses of these devices are:
−
Router: 192.168.0.1
−
Router1: 192.168.10.10
−
Router2: 192.168.10.20
The information about the intranet:
−
IP address: 172.16.105.0
−
Subnet mask: 255.255.255.0
123
Document Version: V1.0