Hi everyone, this time we are going to configure a wireless router in Cisco Packet Tracer. A wireless router is a router that also broadcasts WiFi, so devices such as laptops and smartphones can join the network without a cable, while a PC can still be plugged into a LAN port.
The router used here is the Linksys WRT300N, the built in wireless router in Packet Tracer that is managed through a web interface (GUI) similar to a home WiFi router. In this article we change the WiFi name (SSID), set a WPA2 password, install a wireless card in the laptops, and then test the connection. I also try entering the wrong password so you can see what happens. Everything is done in Cisco Packet Tracer 8.2.1.
The Topology and Devices Used
One WiFi router, one wired PC, three wireless devices

Wireless Router0 (WRT300N) sits at the top center. PC0 connects to the router with a cable, while Laptop0, Laptop1, and Smartphone0 connect without a cable. The wavy dashed lines between the router and the devices are how Packet Tracer shows a wireless connection.
Devices
Wireless Router0 WRT300N (Network Devices > Wireless Devices)
PC0 PC-PT
Laptop0, Laptop1 Laptop-PT
Smartphone0 SMARTPHONE-PT
Cable
PC0 FastEthernet0 -> Wireless Router0 Ethernet 1 (straight-through)There is only one cable, a Copper Straight-Through from PC0 to the router’s Ethernet 1 port. Do not plug it into the Internet port, because that port is for the connection to the ISP, not to the LAN. The laptops and the smartphone need no cable at all.
Configuring the Wireless Router
Open Wireless Router0

Click Wireless Router0 at the top of the topology.
GUI tab and the Network Setup section

Click the GUI tab. The first page that appears is Setup. In the Network Setup section you can see the router IP 192.168.0.1 and the DHCP Server set to Enabled with a range from 192.168.0.100 to 192.168.0.149. I leave this section at its defaults, which means every device will automatically get an IP from the router.
Change the SSID in Basic Wireless Settings

Click the Wireless menu. The Basic Wireless Settings page opens right away. Change the Network Name (SSID) from Default to MamangLab, then scroll down and click Save Settings.
As soon as it is saved, every wireless line in the topology disappears. The smartphone, which had automatically connected to the Default SSID from the start, is disconnected too because the network name has changed.
Set a WPA2 password in Wireless Security

Still in the Wireless menu, click the Wireless Security submenu. Change Security Mode to WPA2 Personal, leave Encryption at AES, then fill in the Passphrase. In this lab I use belajarwifi123. Click Save Settings at the bottom of the page.
SSID : MamangLab
Security Mode : WPA2 Personal
Encryption : AES
Passphrase : belajarwifi123A WPA2 passphrase must be at least 8 characters. For a real network, use a longer combination and do not use the example above.
Connecting the PC with a Cable
Open PC0

Click PC0 at the bottom left.
Choose DHCP in IP Configuration

Click the Desktop tab, open IP Configuration, then choose DHCP. Within a few seconds the message DHCP request successful appears and PC0 gets the IP 192.168.0.103 with gateway 192.168.0.1. Close the PC0 window.
Installing a Wireless Card in the Laptops
A laptop in Packet Tracer uses a wired LAN card by default. To pick up WiFi, the card has to be replaced with a WPC300N. This step is often skipped and is the reason a laptop never connects.
Open Laptop0

Click Laptop0 below the router.
Turn off the laptop and remove the LAN card

In the Physical tab, click the power button on the left side of the laptop until its green light goes off. A module cannot be removed while the laptop is on. Once it is off, drag the LAN card in the slot I marked with a red box to the MODULES list on the left.
Install the WPC300N and turn it back on

Drag WPC300N from the MODULES list into the empty slot, then click the power button again to turn the laptop on. Do the same on Laptop1.
In my test, Laptop0 and Laptop1 connected automatically right away because the SSID was still Default with no password. If you install the card after the SSID and WPA2 are set, the laptop will not connect by itself and needs to be connected through PC Wireless as in the next step.
Connecting the Laptop to WiFi
Open PC Wireless on Laptop0

Open Laptop0, click the Desktop tab, then click the PC Wireless icon. This icon only appears once the WPC300N card is installed.
Find MamangLab and Connect

Click the Connect tab, then click Refresh. MamangLab appears with WPA2-PSK security. Select MamangLab and click Connect.
Enter the Pre-shared Key

Fill in the Pre-shared Key with the same passphrase as on the router, which is belajarwifi123, then click Connect.
The laptop is connected to the access point

The Link Information tab shows the message You have successfully connected to the access point, and the bottom right says Adapter is Active. The wireless line from the router to Laptop0 appears again in the topology.
Check the IP the laptop received

Close PC Wireless, then open IP Configuration. The interface in use is now Wireless0 and the laptop got the IP 192.168.0.101 from the router’s DHCP.
Ping from the laptop to PC0

Open the Command Prompt on Laptop0 and ping PC0.
ping 192.168.0.103All four replies come back with 0% loss. This means the wireless devices and the wired device are already on the same network behind the router.
Testing a Wrong Password
On Laptop1 I deliberately entered the wrong password first to see how the router reacts.
Wrong Pre-shared Key, the laptop is rejected

Through PC Wireless on Laptop1, I selected MamangLab and filled in the Pre-shared Key with passwordsalah. The result was the message No association with access point and the status Adapter is Inactive. There is no error message saying the password is wrong, so if a laptop refuses to connect, check the passphrase first.
After that I repeated the Connect step with belajarwifi123 and Laptop1 connected right away.
Connecting the Smartphone
The smartphone has no PC Wireless app, so the SSID and password are entered through the Config tab.
Open Smartphone0

Click Smartphone0 on the right side of the topology.
Fill in the SSID and WPA2-PSK on Wireless0

Click the Config tab and then Wireless0. Change the SSID to MamangLab, choose WPA2-PSK for Authentication, then fill in the PSK Pass Phrase with belajarwifi123. The Encryption Type changes to AES automatically. Close the window, and the wireless line to the smartphone will appear again.
Ping from the smartphone to the laptop

Open the Desktop tab, click Command Prompt, then ping Laptop0.
ping 192.168.0.101The ping succeeds with 0% loss. This proves that two devices that are both wireless can also talk to each other through the router.
My experience: When I typed ipconfig on the smartphone, the output was long and stopped at –More–. The ping command I typed next lost its first letter and turned into Invalid Command. Press Enter until the C:\> prompt comes back before typing a new command.
Common Problems and How to Fix Them
The PC Wireless icon is missing from the laptop Desktop
The laptop is still using the wired LAN card. Turn the laptop off in the Physical tab, replace the card with a WPC300N, then turn it back on.
The module cannot be dragged out of the laptop
The laptop is still on. Click the power button until the light goes off, then drag the module out.
The laptop shows No association with access point
The passphrase or SSID does not match the one on the router. Check uppercase and lowercase letters, because MamangLab and mamanglab are treated as different names.
The device is connected but gets a 169.254.x.x IP
IP Configuration is still on Static or DHCP has not had time to run. Choose Static and then DHCP again so the IP request is sent again.
At this point the wireless router is broadcasting WiFi with a WPA2 password, and every device, wired or wireless, can ping the others. If you want to learn how automatic IP assignment works in more detail on a regular Cisco router, also read my guide on the DHCP server on a Cisco router. If you want to know how a server on the local network can be reached from the internet, also read my guide on static and dynamic NAT on a Cisco router. If you run into any error while trying this, just leave a comment below.












