设为首页 收藏本站
查看: 1510|回复: 0

DHCP server configuration on the Cisco Aironet 1100 and 1200 series AP

[复制链接]

尚未签到

发表于 2015-5-24 08:13:30 | 显示全部楼层 |阅读模式
  
DHCP server configuration on the Cisco Aironet 1100 and 1200 series AP
  
  https://supportforums.cisco.com/docs/DOC-3628
  
Resolution
  
  Dynamic Host Configuration Protocol (DHCP) server capability was first available on the Cisco Aironet 1100 and 1200 series Access Points (APs) in version 12.2(11)JA1.
  When an AP is configured as a DHCP server, it can provide IP addresses to an Ethernet-capable PC connected to its Ethernet port or to wireless client devices that associate to the AP.
  Setting up the DHCP Server
  
  By default, access points are configured to receive IP settings from a DHCP server on your network. You can also configure an access point to act as a DHCP server to assign IP settings to devices on both your wired and wireless LANs.
  
  The access point becomes a mini-DHCP server by default when it is configured with factory default settings and it cannot receive IP settings from a DHCP server. As a mini-DHCP server, the access point provides up to 20 IP addresses between 10.0.0.11 and 10.0.0.30 to a PC connected to its Ethernet port and to wireless client devices configured to use no SSID, and with all security settings disabled. The mini-DHCP server feature is disabled automatically when you assign a static IP address to the access point. Because it has a console port to simplify initial setup.
  
  Note When you configure the access point as a DHCP server, it assigns IP addresses to devices on its subnet. The devices communicate with other devices on the subnet but not beyond it. If data needs to be passed beyond the subnet, you must assign a default router. The IP address of the default router should be on the same subnet as the access point configured as the DHCP server.
  
  For detailed information on DHCP-related commands and options, refer to the Configuring DHCP chapter in the Cisco IOS IP Configuration Guide, Release 12.3. Click this URL to browse to the "Configuring DHCP" chapter:
  
  http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt1/1cfdhcp.htm
  
  Beginning in privileged EXEC mode, follow these steps to configure an access point to provide DHCP service and specify a default router:
  

Command
Purpose  Step 1
  configure terminal
  Enter global configuration mode.
  Step 2
  ip dhcp excluded-addresslow_address [ high_address ]
  Exclude the wireless device IP address from the range of addresses the  wireless device assigns. Enter the IP address in four groups of  characters, such as 10.91.6.158.
  the wireless device assumes that all IP addresses in a DHCP address pool  subnet are available for assigning to DHCP clients. You must specify  the IP addresses that the DHCP Server should not assign to clients.
  (Optional) To enter a range of excluded addresses, enter the address at  the low end of the range followed by the address at the high end of the  range.
  Step 3
  ip dhcp poolpool_name
  Create a name for the pool of IP addresses that the wireless device  assigns in response to DHCP requests, and enter DHCP configuration mode.
  Step 4
  networksubnet_number
[mask | prefix-length ]
  Assign the subnet number for the address pool. The wireless device assigns IP addresses within this subnet.
  (Optional) Assign a subnet mask for the address pool, or specify the  number of bits that comprise the address prefix. The prefix is an  alternative way of assigning the network mask. The prefix length must be  preceded by a forward slash (/).
  Step 5
  lease { days [ hours ] [ minutes ] |
infinite }
  Configure the duration of the lease for IP addresses assigned by the wireless device.
  ·http://www.cisco.com/en/US/i/templates/blank.gifdays—configure the lease duration in number of days
  ·http://www.cisco.com/en/US/i/templates/blank.gif(optional) hours—configure the lease duration in number of hours
  ·http://www.cisco.com/en/US/i/templates/blank.gif(optional) minutes—configure the lease duration in number of minutes
  ·http://www.cisco.com/en/US/i/templates/blank.gifinfinite—set the lease duration to infinite
  Step 6
  default-router address [address2 ... address 8]
  Specify the IP address of the default router for DHCP clients on the  subnet. One IP address is required; however, you can specify up to eight  addresses in one command line.
  Step 7
  end
  Return to privileged EXEC mode.
  Step 8
  show running-config
  Verify your entries.
  Step 9
  copy running-config startup-config
  (Optional) Save your entries in the configuration file.
  
  
  Use the no form of these commands to return to default settings.
  
  This example shows how to configure the wireless device as a DHCP server, exclude a range of IP address, and assign a default router:
  
  AP# configure terminal
  AP(config)# ip dhcp excluded-address 172.16.1.1 172.16.1.20
  AP(config)# ip dhcp pool wishbone
  AP(dhcp-config)# network 172.16.1.0 255.255.255.0
  AP(dhcp-config)# lease 10
  AP(dhcp-config)# default-router 172.16.1.1
  AP(dhcp-config)# end
  
  To configure DHCP service on the AP, refer to the Configuring DHCP Service section of Administering the Access Point.
  
  Note: When you use an external DHCP server to provide IP addresses and if the DHCP server is behind a router you can use the ip helper-address  command to forward the bootp broadcast packets received on the Router interface to the DHCP server. DHCP protocol information is carried inside of BOOTP packets. To enable BOOTP broadcast forwarding for a set of clients, configure a helper address on the router interface closest to the client. The helper address should specify the address of the DHCP server. If you have multiple servers, you can configure one helper address for each server. Because BOOTP packets are forwarded by default, DHCP information can now be forwarded by the router. The DHCP server now receives broadcasts from the DHCP clients. For more information on the usage of this command read ip helper-address command.
  
  ip helper-address;-
  
  To enable the forwarding of User Datagram Protocol (UDP) broadcasts, including BOOTP, received on an interface, use the ip helper-address command in interface configuration mode. To disable the forwarding of broadcast packets to specific addresses, use the no form of this command.
  
  ip helper-address [vrf name | global] address [redundancy vrg-name]
  
  no ip helper-address [vrf name | global] address [redundancy vrg-name]
  
  Syntax Description
  

  vrf name
  (Optional) Enables VPN routing and forwarding (VRF) instance and VRF name.
  global
  (Optional) Configures a global routing table.
  address
  Destination broadcast or host address to be used when forwarding UDP  broadcasts. There can be more than one helper address per interface.
  redundancyvrg-name
  (Optional) Defines the VRG group name.
  
  
  Examples;-
  
  The following example defines an address that acts as a helper address:
  
  interface ethernet 1
  ip helper-address 121.24.43.2
  
  The following example defines an address that acts as a helper address and is associated with the VRF named red:
  
  interface ethernet 1/0
  ip helper-address vrf red 121.25.44.2
  
  The following example defines an address that acts as a helper address and is associated with the VRG named shop:
  
  interface ethernet 1/0
  ip helper-address 121.25.45.2 redundancy shop
  
  Administering the Access Point:-
  

http://www.cisco.com/en/US/docs/wireless/access_point/12.4_3g_JA/configuration/guide/s43adm.html
  
Problem Type
  
  Configure / Configuration issues
  
Products
  
  Access point

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-69978-1-1.html 上篇帖子: Cisco CRS:概述,管理,安全性 下篇帖子: CISCO技术大全
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表