Nextelco:ASA dhcp
From its-wiki.no
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.
So first we will start with the external or outside interface.
- The fist step is to shutdown the ethernet and vlan 2 interfaces
- Then, we set vlan 2 interface to obtain the IP address through DHCP, together with the default route.
- Additionally, we set interface name and security level
- Lets turn on the interfaces and set interface ethernet 0/0 to use vlan 2</
- 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
ASA1(config)#interface ethernet 0/0 ASA1(config-if)#shutdown ASA1(config-if)#interface vlan 2 ASA1(config-if)#shutdown
ASA1(config-if)#ip address dhcp setroute
ASA1(config-if)#nameif outside ASA1(config-if)#security-level 0
Return to Phase 1 page.