How to configure the Cisco 851w Router to connect to internet
HTML-код
- Опубликовано: 21 окт 2024
- How to configure the Cisco 851w Router to connect to internet
Here is the Step by Step Configuration
Configure the router as a DHCP server
YOUR_ROUTER_NAME(config)#ip dhcp excluded-address 192.168.2.0 192.168.2.99
YOUR_ROUTER_NAME(config)# ip dhcp pool MY_POOL
YOUR_ROUTER_NAME(dhcp-config)#network 192.168.2.0 255.255.255.0
YOUR_ROUTER_NAME(dhcp-config)# default-router 192.168.2.1
YOUR_ROUTER_NAME(dhcp-config)# dns-server 192.168.1.1
Configure the wan interface
YOUR_ROUTER_NAME(config)# interface FastEthernet4
YOUR_ROUTER_NAME(config-if)# ip address 192.168.1.100 255.255.255.0
YOUR_ROUTER_NAME(config-if)#ip nat outside
Configuring the Wireless LAN Connection
YOUR_ROUTER_NAME(config)# bridge irb //Specifies the type of bridging
YOUR_ROUTER_NAME(config)# bridge 1 route ip //Specifies the protocol for the bridge group.
YOUR_ROUTER_NAME(config)# interface Dot11Radio0
YOUR_ROUTER_NAME(config-if)# broadcast-key vlan 1 change 45
YOUR_ROUTER_NAME(config-if)# encryption vlan 1 mode ciphers tkip
YOUR_ROUTER_NAME(config-if)# station-role root
YOUR_ROUTER_NAME(config-if)# bridge-group 1
YOUR_ROUTER_NAME(config-if)# ssid YOUR_SSID_NAME
YOUR_ROUTER_NAME(config-if-ssid)#vlan 1
YOUR_ROUTER_NAME(config-if-ssid)# authentication open
YOUR_ROUTER_NAME(config-if-ssid)# authentication key-management wpa
YOUR_ROUTER_NAME(config-if-ssid)# guest-mode
YOUR_ROUTER_NAME(config-if-ssid)# wpa-psk ascii 0 YOUR_KEY
Create and configure a radio subinterface
YOUR_ROUTER_NAME(config)# interface Dot11Radio0.1
YOUR_ROUTER_NAME(config-if)# encapsulation dot1Q 1 native
YOUR_ROUTER_NAME(config-if)# bridge-group 1
Configure interface vlan 1
YOUR_ROUTER_NAME(config)#interface vlan 1
YOUR_ROUTER_NAME(config-if)# bridge-group 1
Configuring the Bridge Virtual Interface (BVI)
YOUR_ROUTER_NAME(config)#interface BVI 1
YOUR_ROUTER_NAME(config-if)# ip address 192.168.2.1 255.255.255.0
YOUR_ROUTER_NAME(config-if)#ip nat inside
Configure a default static route
YOUR_ROUTER_NAME(config)# ip route 0.0.0.0 0.0.0.0 192.168.1.1
Configure nat
YOUR_ROUTER_NAME(config)# access-list 1 permit 192.168.2.0 0.0.0.255
YOUR_ROUTER_NAME(config)# ip nat inside source list 1 interface FastEthernet4 overload
Specifies a Name Server to use for name resolution
YOUR_ROUTER_NAME(config)# ip name-server 192.168.1.1
I just bought this router snd thought it would be nice to connect just as you just did... A friend offered to teach me configure 802.1X and I want to test the SDM.. Lots of things only on real equipment. Thanks
You're welcome.
Hello Moustapha, thank you for providing such great information. I just wanted to ask, do we have to set up a static IP route if our modem has DHCP service? Can I just tell my router to get the info from DHCP? sorry if this question sounds foolish I'm fairly new to networking.
Thanks for Sharing. This video was helpful i have a Cisco 881G for home lab i was facing some difficult to config some services.
You're welcome.
Good afternoon Moustapha. I just brought a Cisco 891-W router. I can't seem to get into the web interface. I'm new CLI. Hoping this video will help me get it up and running on the inter net. I have 3 computers, 3 smart phones and 1 smart TV. The SDM don't seem to work either. I will try this vido out. The 819 Video seem to help me configure the AP side of the 891-W. Thanks.
You're welcome.
Is the same configuration only for Ethernet LAN
I'm not able to add a static route on my internet router. Do you know how to just create a bridge instead of using new IP space?
Are you using a cisco 851 router ?
The static route as well as the BVI didn’t work for me as well. I put everything in a Bridge-Group 1, and it works.
I use the native vlan1 to do the inside nating, and I’m using an 871W.
Moustapha, can you talk about doing this scenario with just bridging?
Ok i got it.