Cisco ESW-520-48P-K9 Software Guide - Page 41

Example:, Con Network Address Translation

Page 41 highlights

Chapter 3 Configuring PPP over Ethernet with NAT Configure Network Address Translation Step 5 Step 6 Command ppp authentication {protocol1 [protocol2...]} Example: Router(config-if)# ppp authentication chap Router(config-if)# Purpose Sets the PPP authentication method to Challenge Handshake Authentication Protocol (CHAP). For details about this command and additional parameters that can be set, see the Cisco IOS Security Command Reference. dialer pool number Example: Router(config-if)# dialer pool 1 Router(config-if)# Specifies the dialer pool to use to connect to a specific destination subnetwork. Step 7 dialer-group group-number Example: Router(config-if)# dialer-group 1 Router(config-if)# Assigns the dialer interface to a dialer group (1-10). Tip Using a dialer group controls access to your router. Step 8 exit Exits the dialer 0 interface configuration. Example: Router(config-if)# exit Router(config)# Step 9 dialer-list dialer-group protocol protocol-name {permit | deny | list access-list-number | access-group} Example: Router(config)# dialer-list 1 protocol ip permit Router(config)# Creates a dialer list and associates a dial group with it. Packets are then forwarded through the specified interface dialer group. For details about this command and additional parameters that can be set, see the Cisco IOS Dial Technologies Command Reference. Step 10 ip route prefix mask {interface-type interface-number} Example: Router(config)# ip route 10.10.25.2 255.255.255.255 dialer 0 Router(config)# Sets the IP route for the default gateway for the dialer 0 interface. For details about this command and additional parameters that can be set, see the Cisco IOS IP Command Reference, Volume 2; Routing Protocols. Configure Network Address Translation Network Address Translation (NAT) translates packets from addresses that match a standard access list, using global addresses allocated by the dialer interface. Packets that enter the router through the inside interface, packets sourced from the router, or both are checked against the access list for possible address translation. You can configure NAT for either static or dynamic address translations. OL-14210-01 Cisco Secure Router 520 Series Software Configuration Guide 3-5

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162

3-5
Cisco Secure Router 520 Series Software Configuration Guide
OL-14210-01
Chapter 3
Configuring PPP over Ethernet with NAT
Configure Network Address Translation
Configure Network Address Translation
Network Address Translation (NAT) translates packets from addresses that match a standard access list,
using global addresses allocated by the dialer interface. Packets that enter the router through the inside
interface, packets sourced from the router, or both are checked against the access list for possible address
translation. You can configure NAT for either static or dynamic address translations.
Step 5
ppp authentication
{
protocol1
[
protocol2
...]}
Example:
Router(config-if)#
ppp authentication chap
Router(config-if)#
Sets the PPP authentication method to Challenge
Handshake Authentication Protocol (CHAP).
For details about this command and additional
parameters that can be set, see the
Cisco IOS
Security Command Reference
.
Step 6
dialer pool
number
Example:
Router(config-if)#
dialer pool 1
Router(config-if)#
Specifies the dialer pool to use to connect to a
specific destination subnetwork.
Step 7
dialer-group
group-number
Example:
Router(config-if)#
dialer-group 1
Router(config-if)#
Assigns the dialer interface to a dialer group
(1–10).
Tip
Using a dialer group controls access to
your router.
Step 8
exit
Example:
Router(config-if)#
exit
Router(config)#
Exits the dialer 0 interface configuration.
Step 9
dialer-list
dialer-group
protocol
protocol-name
{
permit
|
deny
|
list
access-list-number
|
access-group
}
Example:
Router(config)#
dialer-list 1 protocol ip
permit
Router(config)#
Creates a dialer list and associates a dial group
with it. Packets are then forwarded through the
specified interface dialer group.
For details about this command and additional
parameters that can be set, see the
Cisco IOS Dial
Technologies Command Reference
.
Step 10
ip route
prefix mask
{
interface-type
interface-number
}
Example:
Router(config)#
ip route 10.10.25.2
255.255.255.255 dialer 0
Router(config)#
Sets the IP route for the default gateway for the
dialer 0 interface.
For details about this command and additional
parameters that can be set, see the
Cisco IOS IP
Command Reference, Volume 2; Routing
Protocols
.
Command
Purpose