Draytek Vigor 160 Series User Manual page 261

Hide thumbs Also See for Vigor 160 Series:
Table of Contents

Advertisement

Diagnose for Policy Route
-s [value]
-d [value]
-p [value]
-t [value]
E
x
a
m
p
l
E
x
a
m
p
> ip policy_rt diagnose -s 192.168.1.100 -d any -p any -t ICMP
-------------------------------------------------
-------------------------------------------------
* No_Match
-------------------------------------------------
-------------------------------------------------
* Policy_1 (200)
* Conclusion:The packet was dropped because the send-to interface of the
matched
> ip policy_rt -i -1 -o add -1 range -s 192.168.1.10 -S 192.168.1.20 -2
ip_range –d 202.211.100.10 -D 202.211.100.20 -g 202.211.100.1 -I WAN1
T
e
l
n
e
t
C
o
m
m
T
e
l
n
e
t
C
o
m
m
This command is used to set LAN DNS profiles. With such feature, the user can configure some
services (such as ftp, www or database) with domain name which is easy to be accessed.
S
y
n
t
a
x
S
y
n
t
a
x
ip lanDNSRes [-<command> <parameter> | ... ]
Parameter
-a <IP Address>
-c <CNAME>
-d <address mapping index
number>
-e <0/1>
Vigor160 Series User's Guide
-v: View current failback setting.
It means "source IP".
Value: Available settings include:
Any: It indicates any IP address can be used as source IP address.
"xxx.xxx.xxx.xxx": The type format (e.g, 192.168.1.0).
It means "destination IP".
Value : Available settings include:
Any: It indicates any IP address can be used as destination IP address.
"xxx.xxx.xxx.xxx": Specify an IP address.
It means "destination port".
Value: Specify a number or type Any (indicating any number).
It means "protocol".
Value: Available settings include "ICMP", "TCP", "UDP" and "Any".
e
l
e
Matched Route (Priority)
Matched Policy (Priority)
a
n
d
:
i
p
l
a
n
D
N
S
R
e
a
n
d
:
i
p
l
a
n
D
N
S
R
e
Description
It is used to configure IP address mapping (IPv4/IPv6 Address or
multiple subnet addresses).
IP Address: type the IP address (e.g., 192.168.1.56).
It is used to set CNAME for such profile.
It means to delete index number with address mapping configured.
address mapping index number : type the index number which
represents the address mapping profile.
It means to enable or disable the function of LAN DNS or DNS
Forwarding Profile.
0: disable
1: enable
s
s
251

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents