Difference between revisions of "Nextelco:ASA dhcp"

From its-wiki.no
Jump to: navigation, search
Line 6: Line 6:
  
  
 
+
So first we will start with the external or outside interface.
 +
<ol>
 +
<li>The fist step is to shutdown the ethernet and vlan 2 interfaces</li>
 +
ASA1(config)#interface ethernet 0/0
 +
ASA1(config-if)#shutdown
 +
ASA1(config-if)#interface vlan 2
 +
ASA1(config-if)#shutdown
 +
<li>Then, we set vlan 2 interface to obtain the IP address through DHCP, together with the default route.</li>
 +
ASA1(config-if)#ip address dhcp setroute
 +
<li>Additionally, we set interface name and security level</li>
 +
ASA1(config-if)#nameif outside
 +
ASA1(config-if)#security-level 0
 +
<li>Lets turn on the interfaces and set interface ethernet 0/0 to use vlan 2</<li>
 +
ASA1(config-if)#no shutdown
 +
ASA1(config-if)#interface ethernet 0/0
 +
ASA1(config-if)#switchport access vlan 2
 +
ASA1(config-if)#no shutdown
 +
ASA1(config-if)#exit
 +
</ol>
  
  
 
Return to [[Nextelco:Phase_1|Phase 1]] page.
 
Return to [[Nextelco:Phase_1|Phase 1]] page.

Revision as of 12:34, 30 May 2014

ASA DHCP

Lets configure ASA in order to obtain automatically an IP address in its outside interface and be the dhcp server for those nodes sitting behind inside interface. We assume that ASA has already been configured in the last steps. This is the configuration we would like to setup.


DHCP


So first we will start with the external or outside interface.

  1. The fist step is to shutdown the ethernet and vlan 2 interfaces
  2. ASA1(config)#interface ethernet 0/0
    ASA1(config-if)#shutdown
    ASA1(config-if)#interface vlan 2
    ASA1(config-if)#shutdown
    
  3. Then, we set vlan 2 interface to obtain the IP address through DHCP, together with the default route.
  4. ASA1(config-if)#ip address dhcp setroute
    
  5. Additionally, we set interface name and security level
  6. ASA1(config-if)#nameif outside
    ASA1(config-if)#security-level 0
    
  7. Lets turn on the interfaces and set interface ethernet 0/0 to use vlan 2</
  8. ASA1(config-if)#no shutdown ASA1(config-if)#interface ethernet 0/0 ASA1(config-if)#switchport access vlan 2 ASA1(config-if)#no shutdown ASA1(config-if)#exit


Return to Phase 1 page.