Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Multi context configuration on ASA

Dears

I am trying to configure multi context on the 5520 ASA , how can i configure 1 outside and 1 inside for the 2 context or how to configure both outside from the same subnet and insides also from the same subnet , i did the below configuration but didn't work :S

admin-context admin
context admin
  allocate-interface gi0/0 outside
  allocate-interface gi0/1 inside
  config-url disk0:/admin.cfg

interface gi0/0
!
!
interface gi0/1
!
!
interface gi0/2

interface gi0/2.12
vlan 212
!
interface gi0/2.13
vlan 213
!

interface gi0/3.14
vlan 214
!
interface gi0/3.15
vlan 215

context Context1

   allocate-interface gi0/0
   allocate-interface gi0/1
   allocate-interface gi0/2.12
   allocate-interface gi0/3.14
   config-url disk0:/Context1

!

!

context Context2

   allocate-interface gi0/0
   allocate-interface gi0/1
   allocate-interface gi0/2.13
   allocate-interface gi0/3.15

change context Context1
int gi0/1
ip address 10.10.10.10 255.255.255.0

change context Context2
int gi0/1
ip address 10.10.10.11 255.255.255.0

4 REPLIES
New Member

Multi context configuration on ASA

Friend, refer below document; this explains multiple context IP configuration.

http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a00808d2b63.shtml

New Member

Multi context configuration on ASA

Many thanks , i already checked it thanks for your help

Hall of Fame Super Silver

Multi context configuration on ASA

Typically you would allocate the physical interfaces to the admin context and then subinterfaces in the various other contexts.

Also, typically when you are using subinterfaces you do not assign an IP address to the parent interface as your downstream switch is expecting tagged traffic on the VLANs associated with the subinterfaces.

Have you had a look at this configuration guide?

New Member

Multi context configuration on ASA

Many thanks , yes i checked the mentioned configuration guide but didn't solve my problem , i can't assign 2 Vlans for out side (1 for context 1 and one for context 2 ) , i need to configure single inside and single outside for the system , then will allocate the sub interfaces as needed .

How can i achieve this??

366
Views
0
Helpful
4
Replies
CreatePlease to create content