32-2
Cisco Security Appliance Command Line Configuration Guide
OL-12172-03
Chapter 32 Configuring Remote Access IPSec VPNs
Configuring Interfaces
hostname(config)#
crypto dynamic-map dyn1 1 set reverse-route
hostname(config)#
crypto map mymap 1 ipsec-isakmp dynamic dyn1
hostname(config)#
crypto map mymap interface outside
hostname(config)#
write memory
Configuring Interfaces
A security appliance has at least two interfaces, referred to here as outside and inside. Typically, the
outside interface is connected to the public Internet, while the inside interface is connected to a private
network and is protected from public access.
To begin, configure and enable two interfaces on the security appliance. Then assign a name, IP address
and subnet mask. Optionally, configure its security level, speed and duplex operation on the security
appliance.
To configure interfaces, perform the following steps, using the command syntax in the examples:
Step 1
To enter Interface configuration mode, in global configuration mode enter the
interface
command with
the default name of the interface to configure. In the following example the interface is ethernet0.
hostname(config)#
interface ethernet0
hostname(config
-
if)#
Step 2
To set the IP address and subnet mask for the interface, enter the
ip address
command. In the following
example the IP address is 10.10.4.100 and the subnet mask is 255.255.0.0.
hostname(config-if)#
ip address 10.10.4.200 255.255.0.0
hostname(config-if)#
Step 3
To name the interface, enter the
nameif
command, maximum of 48 characters. You cannot change this
name after you set it. In the following example the name of the ethernet0 interface is outside.
hostname(config-if)#
nameif outside
hostname(config-if)#
#
Step 4
To enable the interface, enter the
no
version of the
shutdown
command. By default, interfaces are
disabled.
hostname(config-if)#
no shutdown
hostname(config-if)#
Step 5
To save your changes, enter the
write memory
command.
hostname(config-if)#
write memory
hostname(config-if)#
Step 6
To configure a second interface, use the same procedure.
Summary of Contents for 500 Series
Page 38: ...Contents xxxviii Cisco Security Appliance Command Line Configuration Guide OL 12172 03 ...
Page 45: ...P A R T 1 Getting Started and General Information ...
Page 46: ......
Page 277: ...P A R T 2 Configuring the Firewall ...
Page 278: ......
Page 561: ...P A R T 3 Configuring VPN ...
Page 562: ......
Page 891: ...P A R T 4 System Administration ...
Page 892: ......
Page 975: ...P A R T 5 Reference ...
Page 976: ......