Cisco Wireless AP configuration as DHCP

I have 10 Cisco 1242 wireless Ap in my Office. 04 of them will be relocated in a different place where we dont have any DHCP server. I would like to configure those AP's as DHCP provider for their associated clients.
Is it possible I know but I dont know how to accomplish that.
Is there anyone who can answer this? If yes please let me know this from which option CLI or Web view I can configure those AP's?
Regards,
Sayeed.

Hi,
Here is the link which tells us how to accomplish  the task.. But make sure.. the IP addresses will be leased by the AP in the management ip subnet only.. please check the below doc before implementing..
http://www.cisco.com/en/US/docs/wireless/access_point/12.4_21a_JA1/configuration/guide/scg12421aJA1-chap5-admin.html#wp1090319
Lemme know if this answered your question!!
Regards
Surendra

Similar Messages

  • Cisco Catalyst 6500 version 12.2(33)SXI13 configured as DHCP server for a VLAN responds to Windows 7 client with status code NOA

    Can anyone help figure out why the Catalyst 6509 is not able to assign an IPv6 address? Thank you.
    Cisco Catalyst 6500 version 12.2(33)SXI13 configured as DHCP server for a VLAN responds to Windows 7 client with status code NOADDRS-AVAIL(2). My configuration on the 6500 for the DHCPv6 server is:
    ipv6 dhcp database disk0://DHCPV6-DB
    ipv6 dhcp pool VLAN206IPV6
     prefix-delegation pool VLAN206IPV6-POOL
     dns-server 2620:B700:0:1001::53
     domain-name global.bio.com
    ipv6 local pool VLAN206IPV6-POOL 2620:B700:0:12C7::/65 65
    interface Vlan206
     description *** IPv6 Subnet ***  
     ip address 10.2.104.2 255.255.255.0
     ipv6 address 2620:B700:0:12C7::2/64
     ipv6 nd prefix 2620:B700:0:12C7::/64 14400 14400 no-autoconfig
     ipv6 nd managed-config-flag
     ipv6 dhcp server VLAN206IPV6
     standby version 2
     standby 0 ip 10.2.104.1
     standby 0 preempt
     standby 6 ipv6 2620:B700:0:12C7::1/64
     standby 6 preempt
    I'm getting a result from my debug as follows:
    Apr 10 16:28:02.873 PDT: %LINK-3-UPDOWN: Interface GigabitEthernet2/2, changed state to up
    Apr 10 16:28:02.873 PDT: %LINK-SP-3-UPDOWN: Interface GigabitEthernet2/2, changed state to up
    Apr 10 16:28:02.877 PDT: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/2, changed state to up
    Apr 10 16:28:03.861 PDT: IPv6 DHCP: Received SOLICIT from FE80::5D5E:7EBD:CDBF:2519 on Vlan206
    Apr 10 16:28:03.861 PDT: IPv6 DHCP: detailed packet contents
    Apr 10 16:28:03.861 PDT:   src FE80::5D5E:7EBD:CDBF:2519 (Vlan206)
    Apr 10 16:28:03.861 PDT:   dst FF02::1:2
    Apr 10 16:28:03.861 PDT:   type SOLICIT(1), xid 8277025
    Apr 10 16:28:03.861 PDT:   option ELAPSED-TIME(8), len 2
    Apr 10 16:28:03.861 PDT:     elapsed-time 101
    Apr 10 16:28:03.861 PDT:   option CLIENTID(1), len 14
    Apr 10 16:28:03.861 PDT:     00010001195FD895F01FAF10689E
    Apr 10 16:28:03.861 PDT:   option IA-NA(3), len 12
    Apr 10 16:28:03.861 PDT:     IAID 0x0FF01FAF, T1 0, T2 0
    Apr 10 16:28:03.861 PDT:   option UNKNOWN(39), len 32
    Apr 10 16:28:03.861 PDT:   option VENDOR-CLASS(16), len 14
    Apr 10 16:28:03.861 PDT:   option ORO(6), len 8
    Apr 10 16:28:03.861 PDT:     DOMAIN-LIST,DNS-SERVERS,VENDOR-OPTS,UNKNOWN
    Apr 10 16:28:03.861 PDT: IPv6 DHCP: Option IA-NA(3) is not supported yet
    Apr 10 16:28:03.861 PDT: IPv6 DHCP: Sending ADVERTISE to FE80::5D5E:7EBD:CDBF:2519 on Vlan206
    Apr 10 16:28:03.861 PDT: IPv6 DHCP: detailed packet contents
    Apr 10 16:28:03.861 PDT:   src FE80::21D:E6FF:FEE4:4400
    Apr 10 16:28:03.861 PDT:   dst FE80::5D5E:7EBD:CDBF:2519 (Vlan206)
    Apr 10 16:28:03.861 PDT:   type ADVERTISE(2), xid 8277025
    Apr 10 16:28:03.861 PDT:   option SERVERID(2), len 10
    Apr 10 16:28:03.865 PDT:     00030001001DE6E44400
    Apr 10 16:28:03.865 PDT:   option CLIENTID(1), len 14
    Apr 10 16:28:03.865 PDT:     00010001195FD895F01FAF10689E
    Apr 10 16:28:03.865 PDT:   option STATUS-CODE(13), len 15
    Apr 10 16:28:03.865 PDT:     status code NOADDRS-AVAIL(2)
    Apr 10 16:28:03.865 PDT:     status message: NOADDRS-AVAIL

    Hello,
    maybe hitting the following bug.
    Pv6 Address Assignment Support for IPv6 DHCP Server
    CSCse81385
    Hope this helps

  • How i configure cisco wireless controller

    how i can confiure cisco wireless controller

    Cisco Wireless LAN Controller Configuration Guide, Release 7.0:
    http://www.cisco.com/c/en/us/td/docs/wireless/controller/7-0/configuration/guide/c70.html

  • Cisco Wireless LAN Controller Always disconnect

    Dear All,
    Please help to assist my issue.I used Cisco Wireless LAN Controller model: 5508 with version 7.0.98.0 and I got issue with connection always disconnect ping always loss or some time client can't get DHCP from Controller. 
    - I configure as Internal DHCP Server with 1 SSID.
    http://www.cisco.com/c/en/us/support/docs/wireless/4400-series-wireless-lan-controllers/110865-dhcp-wlc.html
    - DHCP least is not full and I also try to clear-lease all but still not work.

    1. Config dhcp proxy enable
    2. In case of internal Dhcp, try debug for clients
     using,
    debug client <MAC ADDRESS OF CLIENT>

  • Cisco WLC 2125 configuration help

    So in a nutshell, from My computer I can ping all VLANS - everything seems to in workding order.
    when telnet to the HP 5406zl core routing switch I can ping all VLANs and other parts of the network
    But when logged into the Cisco wireless Lan Controller I cant ping VLAN 108 gateway IP (172.24.156.2 ) from the neighbour switch or other services on this VLAN
    for example cant ping the DHCP on this vlan from WLC.
    The neighbour switch can ping IP of the management interface created on the WLC
    WLC cant ping VLAN 108
    WLC can ping all other VLAN 102,104,106
    Not sure where the problem is ??
    Configure Dynamic Interfaces on the WLC for the Guest and Internal Users - DONE
    Create WLANs for the Guest and Internal Users - DONE
    Configure the 5406zl Layer 2/3 Switch Port that Connects to the WLC as Trunk Port allowing the relevant vlans i.e. management vlan, vlan 102 and Vlan 108 - DONE
    Configure the Switch Port that Connects to the AP to VLAN 102 - DONE
    configure virtual interface IP 1.1.1.1 - DONE
    Configure the Router for the WLANs - DONE
    LAP is registered to the WLC - DONE
    WLAN and SSID broadcast - OK

    Not at present it is not, the port on the 5406zl that the WLC is connected was setup as a trunk group and All VLAN tagged.  When I tried this I lost all connectivity to the WLC.  Is there something on the WLC that need changing also?.

  • Cisco wireless and Apple Mac woes

    Hello all,
    I've been working with Cisco wireless and WLC's for a couple of years now but the recent onslaught of Apple Mac's is giving me heart burn.  I've seen this at numerous sites now and need to throw it to eht community for guidance.
    Basically we have had a number of instances where the Macs just fall off the wifi.  Sometimes it's when they wake from sleep and other times when roaming between AP's (1131s with same SSID's).  Our standard install is WPA2 and per ap local authentication.  PC's work fine and never an issue.
    We have completed a survey with a spectrum analyser and no RF interefence is present nor errors on the radio interface.
    Questions:
    - Is there a preferred Cisco config/setup for Mac's to work reliably?  I've heard loads of rumors but nothing concrete and nor can I find anything specific.
    - Should I be setting up WDS in case there is an authenticating issue.
    - For those who are Mac gurus and happen to be reading. What Mac options we should look at?
    This has all come to a head because the clients IT company who recommended the Macs (different from us doing the network infrastructure) are insisting that the problem is Cisco incompatibility and that we should rip out the Cisco kit and install airports (what tha!!!).
    Thanks in advance for any pointers.
    For those who like a config here it is .... Vanilla stuff really
    Building configuration...
    Current configuration : 2236 bytes
    version 12.4
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    hostname AP4
    no logging console
    enable secret xxxxxxxxxxxxxxxxx
    no aaa new-model
    dot11 syslog
    dot11 ssid Home
       vlan 1
       authentication open
       authentication key-management wpa
       guest-mode
       mbssid guest-mode
       wpa-psk ascii xxxxxxxxxxxx
    dot11 ssid avnet
       vlan 2
       authentication open
       authentication key-management wpa
       mbssid guest-mode
       wpa-psk ascii xxxxxxxxxxxxxxxx
    username abcd password 1234
    bridge irb
    interface Dot11Radio0
    no ip address
    no ip route-cache
    encryption vlan 1 mode ciphers tkip
    encryption vlan 2 mode ciphers tkip
    ssid Home
    mbssid
    speed  basic-1.0 basic-2.0 5.5 11.0 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0
    channel 2412
    station-role root
    interface Dot11Radio0.1
    encapsulation dot1Q 1 native
    no ip route-cache
    bridge-group 1
    bridge-group 1 subscriber-loop-control
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    bridge-group 1 spanning-disabled
    interface Dot11Radio0.2
    encapsulation dot1Q 2
    no ip route-cache
    bridge-group 2
    bridge-group 2 subscriber-loop-control
    bridge-group 2 block-unknown-source
    no bridge-group 2 source-learning
    no bridge-group 2 unicast-flooding
    bridge-group 2 spanning-disabled
    interface FastEthernet0
    no ip address
    no ip route-cache
    duplex auto
    speed auto
    hold-queue 80 in
    interface FastEthernet0.1
    encapsulation dot1Q 1 native
    no ip route-cache
    bridge-group 1
    no bridge-group 1 source-learning
    bridge-group 1 spanning-disabled
    interface FastEthernet0.2
    encapsulation dot1Q 2
    no ip route-cache
    bridge-group 2
    no bridge-group 2 source-learning
    bridge-group 2 spanning-disabled
    interface BVI1
    ip address 192.168.10.54 255.255.255.0
    no ip route-cache
    ip default-gateway 192.168.10.1
    no ip http server
    no ip http secure-server
    bridge 1 route ip
    line con 0
    line vty 0 4
    login local
    end

    Yeah!! even i have come across multiple issue with MAC and Cisco.. these are the below settings which i normally do on the cisco gears and most of the times this solved the issue..
    on the IOS AP disable Aironet Extentions and set the poer local and ofdm to max
    no dot11 extension aironet
    power local cck max
    power local ofdm max
    end
    On the WLC, disable Aironet IE..
    lemme know if this answered your question..
    Regards
    Surendra
    ====
    Please dont forget to rate the posts which answered your question and mark it as answered or was helpfull

  • I have a Cisco wireless router.  Can I buy an Airport Express plug in booster for a distant part of my house or do I need an Airport Extreme base station instead to make the Airport Express plug in booster work?

    Can I buy an Airport Express plug-in wifi signal booster to connect to a Cisco wireless router, or do I have to buy an Airport Extreme base station to make the Airport Express plug-in work?

    You would need either an AirPort Extreme or an AirPort Express connected to the Cisco router, with a permanent Ethernet cable connection.
    Configure the Extreme or Express that is connected to the Cisco router to "create a wireless network".
    Then, you could add an AirPort Express to "extend a wireless network" to provide more wireless coverage for the network that the Extreme or Express would be creating.
    Remember that the Express can only "extend" the quality of signal that it receives, so it must be located where it can receive a strong signal from the "main" AirPort.
    If you don't need the Cisco wireless signal, you could turn it off.....or use that network for guests or something similar.
    The bottom line here......you always need two Apple routers if you want to extend the network wirelessly.

  • MacBook Pro will not connect to Cisco Wireless Network

    I have just bought a brand new MacBook Pro, running Leopard (OSX 10.5.1) and I just cannot get it to connect to the Wireless Network at my workplace.
    The MBP connects to wireless network and authenticates just fine, but will not obtain an IP address from the DHCP server.
    The wireless network consists of 16 Cisco Aironet 1200 Access Points controlled by a Cisco Wireless Network Controller. It does not broadcast its SSID and is WEP 128-bit hex protected.
    Changing the network from WEP to WPA is out of the question for me as this is under the control of my customers IT Department and they do not have any problems with their PCs connecting to the network. It appears to be an Apple issue.
    For reference, my old Vaio PC, my Nokia N95 and my iPod Touch ALL connect to the same wireless network without any problems whatsoever, first time, every time!
    If I boot into Windows XP from my Boot Camp partition, XP can connect wirelessly to the network without any problems, so it is not MacBook hardware related...
    It has to be a bug in Mac OSX... doesn't it?!?
    Things I have already tried (following suggestions on many forums):
    * Switching Airport off/on
    * Deleting various network-related Plist files and rebooting
    * Manually assigning an IP Address (not really permitted but doesn't work anyway!)
    * Disabling all network adaptors except Airport
    AP Grapher shows that the MBP is connected to the wireless network, at good strength, and packets are being sent and received, but Internet Access is not possible as no IP Address has been assigned. Instead, my MBP shows a 169.* IP Address (self-assigned). It should be a 10.1.255.* address.
    Can anybody please help? Thank you.

    i posted this same reply elsewhere because it worked for me for my Buffalo wireless router: try manually setting your IP address instead of relying on DHCP, which sometimes (I don't know why) doesn't work well with Macs. It's a good get around. I am a happy Mac user but nothing is perfect on earth, and when the Mac gives problems, it does give a lot of frustration. Macs are not as easy to troubleshoot as Win because a Mac is built to be user friendly(and it works most of the time), meaning a lot of the background computing stuff is hidden away from users to avoid user accidentally upsetting some settings.
    Unfortunately, the highly automated troubleshooting wizards provided by OS X are not perfect so when these software wizards fail to resolve the problem, like my Network Diagnostics, I have to spend more time tinkering around. There's "Terminal" of course but then most of us, especially PC converts to Macs, don't know how to use it.
    You should also try updating your MBP, see if there are any new updates being released.

  • Warning page on Cisco Wireless Lan Controller for guest access

    Hi,
    We have an Cisco wireless LAN controller 4400 in our organization, and lots of guest using our Wi-Fi network.
    I would like to configure a warning and terms and condition page when guest using first time our network.
    Can you please let me know is that possible without adding external web server and how to configure.
    Many Thanks in Advance
    Amit Sharma

    Hi Amit,
    Hope you are doing great!!
    the below link will help you in getting the issue resolved!!
    http://www.cisco.com/en/US/products/ps6366/products_configuration_example09186a00809bdb5f.shtml
    Please dont forget to rate the usefull posts!!
    Regards
    Surendra

  • Cisco wireless control system

    we are using cisco wireless control system i need block some MAC address or devices how can i do it

    Hi,
    Yes you can block the specific client using MAC Address filtering option in WCS
    This option is avialbe in Configure> Security >MAC Filtering
    here you can create new template as per your requirement
    Go through below link for detail knowledge.
    http://www.cisco.com/c/en/us/td/docs/wireless/wcs/7-0/configuration/guide/WCS70cg/7_0temp.html#wp1095263

  • Cisco Wireless Location Appliance

    dear
    i have WCS with 500 ap License
    i need to have Cisco Wireless Location Appliance what lisens i need for 500 ap
    please explain to me that

    Hi Ahmed,
    This is the upgrade License SKU for upgrading WCS to WCS Location;
    WCS-LOC-UPG-K9
    Supports deployment of Cisco WCS on a single server only.
    For customers upgrading from their existing Cisco WCS base licenses to equivalent Cisco WCS location licenses running Cisco WCS Software Release 4.1 or later.
    Available as Cisco WCS location in increments of 50, 100, or 500 lightweight access points.
    Customers currently using this license with Cisco WCS Software Release 4.0 are encouraged to upgrade to Cisco WCS Software Release 4.1, but they are not required to do so.
    Order the Correct Cisco WCS SKUs
    The process to order Cisco WCS SKUs for WCS-STANDARD-K9, WCS-LOC-UPG-K9, WCS-WLSE-UPG-K9 and WCS-ENT-K9 is presented below. To request help with ordering, please contact Cisco Customer Service: http://www.cisco.com/go/customerservice.
    1. Login to the Cisco Ordering Tool.
    2. Enter the family SKU of WCS-STANDARD-K9 or WCS-LOC-UPG-K9 or WCS-WLSE-UPG-K9 or WCS-ENT-K9 into "Enter Product" in the Ordering Tool and then press "Enter."
    3. The family SKU will display in the ordering area. (Figure 6).
    4. Select the "Line" for the family SKU
    5. Once you have been taken to the configuration screen, select one of these options from the left side (Figure 7):
    For WCS-STANDARD-K9 select one of the sub-SKUs based on the following:
    Base: WCS Standard AP Base Option
    Location: WCS Standard AP Location Option
    For WCS-WLSE-UPG-K9 select one of the sub-SKUs based on the following:
    Base: WLSE to WCS AP Base Upgrade Option
    Location: WLSE to WCS AP Location Upgrade Option
    **For WCS-LOC-UPG-K9 select the sub-SKU:
    **WCS AP Location Upgrade Option
    For WCS-ENT-K9 select the sub-SKU:
    WCS Enterprise AP Location Option
    For the WCS-STANDARD-K9 or **WCS-LOC-UPG-K9 SKU families, customers are prompted to order the optional CD (WCS-CD-K9), for a nominal charge, during the ordering process. The WCS-CD-K9 contains one software image of Cisco WCS Software Release 4.1 on a CD for Windows and Linux. This CD is shipped by U.S. mail to the purchaser's address. The optional CD is not available for WCS-WLSE-UPG-K9 because this SKU family already ships in CD format.
    6. The right side of the screen will display the licenses available (Figure 7). The price for each SKU is displayed in the Ordering Tool.
    7. Each license is orderable in a quantity of one (1) for the quantity blocks specified. To add multiple quantities of license blocks, you must go back to the main screen and order additional family SKUs and then select the sub-SKU option and license quantity block required. Repeat this process as needed, until the correct quantity of license blocks for your sub-SKU have been ordered.
    From this good doc;
    http://www.cisco.com/en/US/products/ps6305/pro ducts_data_sheet0900aecd804b4646.html
    Hope this helps!
    Rob

  • Cisco Wireless Control System need wireless Lan Controller ?

    Cisco Wireless Control System need wireless Lan Controller , for Rogue detection

    Hi Joao,
    The WCS is used in conjuntion with the WLC (Wireless Lan Controller) for Rogue Detection. It is not a must for this function but more of an add-on :)
    The Cisco WCS is an optional network component that works in conjunction with Cisco Aironet Lightweight Access Points, Cisco wireless LAN controllers and the Cisco Wireless Location Appliance.
    From this doc;
    http://www.cisco.com/en/US/products/ps6305/index.html
    Overview of WCS
    The Cisco Wireless Control System (WCS) is a Cisco Unified Wireless Network Solution management tool that adds to the capabilities of the web user interface and command line interface (CLI), moving from individual controllers to a network of controllers. WCS includes the same configuration, performance monitoring, security, fault management, and accounting options used at the controller level and adds a graphical view of multiple controllers and managed access points.
    WCS runs on Windows 2003 and Red Hat Enterprise Linux ES 4.0 and AS 4.0 servers. On both Windows and Linux, WCS can run as a normal application or as a service, which runs continuously and resumes running after a reboot.
    The WCS user interface enables operators to control all permitted Cisco Unified Wireless Network Solution configuration, monitoring, and control functions through Internet Explorer 6.0 or later. Operator permissions are defined by the administrator using the WCS user interface Administration menu, which enables the administrator to manage user accounts and schedule periodic maintenance tasks.
    WCS simplifies controller configuration and monitoring while reducing data entry errors with the Cisco Unified Wireless Network Controller autodiscovery algorithm. WCS uses the industry-standard SNMP protocol to communicate with the controllers.
    From this good doc;
    http://www.cisco.com/en/US/products/ps6305/products_configuration_guide_chapter09186a00806b7270.html#wp1131195
    Detect and Locate Rogue Access Points
    From this WCS doc;
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_tech_note09186a00806f070a.shtml#new5
    Rogue Detection under Unified Wireless Networks
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_white_paper09186a0080722d8c.shtml
    Hope this helps!
    Rob

  • Windows 2k8 Radius Server with Cisco Wireless Controllers

    We currently are using a Cisco 4400 wireless controller with an older Cisco Secure ACS appliance that is going EOL.  My hope was to just connect our 4400 Wireless Controller to a Windows Server 2008 Radius Server (Just using Microsoft's Network Policy Server) but have not had any luck in getting this to work.  Does anyone have an easy to follow set of instructions on configuration of Microsoft Windows Server 2008 NPS for use with Cisco Wireless Controllers?  Any advise would be greatly appreciated.
    Thank You,
    Jim

    Hi NPT,
    Here is the post which may help you!!
    https://supportforums.cisco.com/message/3073519
    Regards
    Surendra

  • VLAN assignment without ACS on Cisco Wireless Controller 5508

    I was wondering if it is possible to do dynamic VLAN assignment on the Cisco Wireless Controller 5508 without using Cisco ACS but use Microsoft NPS server instead?  Is there a manual or article that someone can point me in the right direction?
    Thank you!

    Any RADIUS server will allow you to do the dynamic vlan assignment if you configure the right RADIUS attributes (64, 65 and 81 that Steve mentioned above).
    This doc shows example of dynamic vlan assignment with WLC and ACS.
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008076317c.shtml
    Same config on WLC is needed. However, on the RADIUS you need to configure the same attributes on the NPS instead.
    HTH
    Amjad
    Rating useful replies is more useful than saying "Thank you"

  • Which cisco wireless bridges support point to multipoint

    hi all i am really new to wireless. i am looking for information as which cisco wireless bridges support point to multipoint configuration.
    i have a cisco 1230G access-point will it support the same .
    any help would be great.
    regards
    sushil

    The Cisco 1300's and 1400's support point-to-point and point-to-multipoint. The 1230G can only support point-to-point (i think)
    http://www.cisco.com/en/US/products/hw/wireless/ps441/products_qanda_item09186a0080094644.shtml#q20

Maybe you are looking for

  • How can I steam from my early 2011 15-inch Mac Book Pro to my 2007 Samsung TV?

    I have an early 2011, 15-inch Mac Book Pro Software  OS X 10.9.5 (13F34). It does not have an HDMI port. I have a Samsung TV I bought in 2007 (Model LN-4061F). How can I stream from laptop to my TV? My laptop does not have an HDMI port. I've read I c

  • I can no longer get to Netflix.

    when I try to go to www.netflix.com it takes me to http://movies.netflix.com/WiHome and it is just a blank white page. Also my browser sometime says that it is not set-up to display inline frames, can I fix these problems?

  • Column order in ALV using in portal environment does not work

    Hello, I set the columns order of an ALV table ( in WD ABAP ).  For one portal user these settings are not applied. ( columns seems to be in random order )  For the other users it works fine. I tried to see the differences between the portal users, b

  • My ipad 2 won't hold a charge after installing ios 7

    I use the authentic Apple charger and my ipad 2 won't hold a charge after installing ios 7. What is the fix for this miserable wasteful upgrade that made all of our iPads unusable ! I Shut off location, turned off  brightness, shut down and  took off

  • Retriving a thread or class

    Can someone please guide me in the right direction I am trying to write a client server chat program for a module at uni class TCPServer{ while (true) { try { Socket clientSocket = server.accept(); Thread t = new Thread(c = new Client(clientSocket));