Draytek Vigor 2950 User Manual Page 25

  • Download
  • Add to my manuals
  • Print
  • Page
    / 137
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 24
Telnet Command Reference Guide V1.1
19
2.4.11 ip route
This command allows users to set static route.
ip route add [dst] [netmask][gateway][iface][rtype]
ip route del [dst] [netmask][rtype]
ip route status
Syntax Description
add It means to add an IP address as static route.
del It means to delete specified IP address.
status It means current status of static route.
dst It means the IP address of the destination.
netmask It means the netmask of the specified IP address.
gateway It means the gateway of the connected router.
iface It means the connection interface., 0 : LAN; 3: WAN1; 4: WAN2
rtype It means the type of the route, default : default route; static: static
route.
Example
> ip route add 172.16.2.0 255.255.255.0 172.16.2.4 3 static
> ip route status
Codes: C - connected, S - static, R - RIP, * - default, ~ - private
C~ 192.168.1.0/ 255.255.255.0 is directly connected, IF0
S 172.16.2.0/ 255.255.255.0 via 172.16.2.4, IF3
Page view 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 136 137

Comments to this Manuals

No comments