Home > Ask the Networking Experts > Wireless networking with Lisa Phifer Questions & Answers > How does a wireless client obtain an IP address if IPsec is enabled and can you tell me about pre-shared keys?
Ask The Networking Expert: Questions & Answers
EMAIL THIS

How does a wireless client obtain an IP address if IPsec is enabled and can you tell me about pre-shared keys?

Lisa Phifer EXPERT RESPONSE FROM: Lisa Phifer

Pose a Question
Other Networking Categories
Meet all Networking Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 02 May 2003
I am trying to understand how a wireless client can obtain an IP address if only IPsec based security is enabled on the Access Point.

Could you please point me to a document with a walk through? I would like to understand a situation when either pre-shared keys or certificates are used.


>
EXPERT RESPONSE
Let's start with how stations get IP addresses:
  1. The station can be pre-configured with a static IP
  2. The station can use DHCP to lease an IP
    1. If the AP has a DHCP server, it can supply the IP
    2. A DHCP server on the AP's Ethernet can supply the IP
    3. The AP can relay DHCP to a specific DHCP server

Next, let's look at the role of the station's IP address in IPsec. When using pre-shared keys (PSK) in IKE Main Mode, the gateway will find the matching PSK by looking up the station's IP in its security policy database. This works when the station is using a static IP. When the station is using a DHCP-assigned IP, this works only if the same PSK is used for the entire DHCP address pool. Some gateways can support group PSKs; others cannot.

A common alternative is to use PSK in IKE Aggressive Mode. This lets the VPN client's Identity be something other than IP address - usually an e-mail address (User-FQDN). The gateway uses the client's e-mail address to find the matching PSK in its security policy database. Every client can have its own PSK, or several clients can share the same identity and PSK. Group PSKs are frequently used in conjunction with user-level subauthentication - for example, if your gateway uses XAUTH to prompt the client for a username/password after passing IKE authentication with the group PSK.

A much stronger alternative is to use digital certificates instead. Certificates work in IKE Main Mode using either static IPs or something other than IP address as the VPN client's identity. When the certificate is issued, it is bound to the subject's identity - an e-mail address or an X.500 Distinguished Name (a long, structured value that carries organization, location, and the user's first/last name.) The gateway uses the client's identity to see whether this user is allowed to authenticate by certificate, and then uses public key crypto to check the validity of the certificate.

Once the VPN client is authenticated, it must keep the same IP address for the lifetime of the IPsec tunnel. IPsec uses the source IP address on every packet to make sure the authenticated client really sent that packet. So, if the client's IP address changes, it must go through IKE authentication again to create a new IPsec tunnel.

There is one last trick to making IPsec and DHCP work together - letting the station renew its IP address. Depending upon the VPN client and the DHCP server, you may need to define the client's security policy to allow DHCP to pass outside the VPN tunnel, over the WLAN to the AP.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Wireless Network Implementation
Will mixing 802.11g and n APs in the same network cause conflicts?
How each wireless technology differs: Wi-Fi, WiMax and WLANs
Voice over wireless LAN is on the rise: Prepare your networks
Wireless networking problems combining 802.11n and 802.11g APs cause
Wireless LAN tips from Iraq: Networking Joint Base Balad
Wireless LAN vulnerabilities
Are there 802.11n wireless network range extenders to boost my signal?
Accessing printers on a LAN while connected to a WLAN
Will different wireless card link speeds cause network latency?
Open source authenticator implementation for LANs: How is open1x an 802.1X supplicant?

Wireless networking with Lisa Phifer
Problem connecting to virtual private network (VPN) through Linksys router
Why wireless network cards show activity when no one uses the computer
Wireless networking problems combining 802.11n and 802.11g APs cause
How to implement VLAN switches across wireless LAN (WLAN) links
Are there 802.11n wireless network range extenders to boost my signal?
How does WiMAX compare to other wireless broadband services?
How many more users will 802.11n wireless access points support?
Accessing printers on a LAN while connected to a WLAN
How to maintain corporate VPN connection while printing to a private network
How to connect wireless networks for printing capabilities

Wireless LAN Deployment and Security
Combining VPN and WLAN technologies
PDA VPN options
Using PPTP or IPsec VPN tunnels for WLAN security/gateway
Can you explain why certain wireless routers will not work with VPN connections?
Troubleshooting Nortel Contivity VPN over a wireless network
How can I increase the distance of coverage of WLAN?
Can I push a policy (ACL) onto a pocket PC
Comment on Apple's Airport Extreme base station
Implementing VPN with access points (and sources for free VPN clients)
Do all 802.11b/g access points use Time Division Duplex

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
802.11a  (SearchNetworking.com)
Asynchronous Pulsed Radiated Incident Light  (SearchNetworking.com)
cognitive radio  (SearchNetworking.com)
direct sequence spread spectrum  (SearchNetworking.com)
frequency-hopping spread spectrum  (SearchNetworking.com)
phase-locked loop  (SearchNetworking.com)
radio frequency  (SearchNetworking.com)
wireless mesh network  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Expert networking advice and tips for IT professionals
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersNetworking Product Trials
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts