Patton electronic SmartNode 4110 Series 用户手册
Using an alternate source IP address for specific destinations
376
SmartWare Software Configuration Guide
32 • VPN configuration
Mode: Context ip /interface <if-name>
Using an alternate source IP address for specific destinations
Normally, locally originated IP packets use the IP address of the outbound IP interface as their source address.
However, when using VPN tunnels there are situations, where locally originated IP packets must be sent using
the source IP address of an alternate interface. You can specify using the following command that for one or
more destination network the IP address of an alternate IP interface should be used. This configuration com-
mand affects all locally originated IP packets except those, which originate from explicitly bound components
like SIP and H.323.
However, when using VPN tunnels there are situations, where locally originated IP packets must be sent using
the source IP address of an alternate interface. You can specify using the following command that for one or
more destination network the IP address of an alternate IP interface should be used. This configuration com-
mand affects all locally originated IP packets except those, which originate from explicitly bound components
like SIP and H.323.
Mode: context ip
Step
Command
Purpose
1
node(if-ip)[if-name]# [no] rtp-encryp-
tion
tion
Enable or disable RTP encryption support on an
IP interface.
IP interface.
Step
Command
Purpose
1
node(ctx-ip)[ctx-name]# [no] source-
address-map <destination-network>
<destination-mask> <ip-interface-
name>
address-map <destination-network>
<destination-mask> <ip-interface-
name>
Defines that locally originated packets destined
for the specified destination network shall use the
IP address of the specified IP interface as their
source address.
for the specified destination network shall use the
IP address of the specified IP interface as their
source address.