SlideShare a Scribd company logo
3
Most read
4
Most read
7
Most read
Basic Cisco 800 Router Configuration for
Internet Access
The Cisco 800 series routers are part of the “Branch Office” category, used mainly
for SOHO purposes or for connecting remote branch offices to a central location.
They are “fixed hardware configuration” devices, meaning that they don’t have
any plug-in hardware slots for inserting additional interfaces to the device (all the
interfaces are fixed).
All the 800 series models come with a 4-port 10/100 managed switch used for
connecting the internal LAN computers, and with an IOS software that supports
security features including the Firewall set. The main difference of each model is
the WAN interface. All models that end with “1” in the model number (i.e 851,
861, 871, 881, 891) have a 10/100 Fast Ethernet interface as a WAN port. The
other models have an xDSL type WAN port (i.e ADSL, G.SHDL, VDSL2). Also,
all models have the option of a WiFi Radio interface (the model number ends with
a “W”, e.g 851W, 857W, 861W etc).
In this post I will describe a basic configuration scenario for connecting a Cisco
800 router for Internet access. I will use a model with an Ethernet WAN interface
(such as 851, 861, 871, etc) since those models are the most popular.
Something to have in mind for all 800 series routers, the four LAN interfaces (FE0
up to FE3) are Layer2 switch interfaces that are assigned by default to Vlan1. This
means that you can not assign an IP address directly to the LAN interfaces. The IP
address for the LAN-facing side of the router is assigned under “interface Vlan1”.
On the other hand, the WAN interface (FE4) is a normal Layer3 router port, which
means you can assign an IP address directly on the interface (“interface
FastEthernet4”).
I will describe three basic scenarios which are frequently encountered in real
networks.
1. Scenario 1: WAN IP address of router is assigned dynamically by the ISP.
LAN IP addresses assigned dynamically from the router to the internal PCs.
2. Scenario 2: WAN IP address of router is static. LAN IP addresses assigned
dynamically from the router.
3. Scenario 3: WAN IP address of router is static. An internal LAN Web
Server exists. The router performs a static Port NAT (port redirection) to
forward traffic from Internet towards the internal Web Server.
Scenario 1:
Configuration:
The following is the basic configuration needed for the simple scenario above.
configure terminal
enable secret somesecretpassword
! Configure the DHCP pool to assign addresses to internal hosts
ip dhcp pool vlan1pool
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 100.100.100.36
! Do not assign addresses 1 to 30
ip dhcp excluded-address 192.168.1.1 192.168.1.30
! This is the LAN facing interface of the 800 router. Used as gateway for PCs
interface vlan 1
ip address 192.168.1.1 255.255.255.0
ip nat inside
no shut
! Interfaces FE0 to FE3 are Layer 2 interfaces
interface FastEthernet0
no shut
interface FastEthernet1
no shut
interface FastEthernet2
no shut
interface FastEthernet3
no shut
! This is the WAN interface getting address via DHCP from the ISP
interface FastEthernet 4
no shut
ip address dhcp
ip nat outside
! Configure NAT. All internal hosts will be nated on the WAN interface
ip nat inside source list 1 interface fastethernet4 overload
access-list 1 permit 192.168.1.0 0.0.0.255
ip route 0.0.0.0 0.0.0.0 fastethernet4
line vty 0 4
password somestrongpassword
Scenario 2:
Configuration:
This is the same configuration as scenario 1 except that the WAN IP address is
static and also the default gateway of our ISP is known.
The only difference from the configuration above is on the WAN interface and on
default route:
! This is the WAN interface with static IP
interface FastEthernet 4
no shut
ip address 100.100.100.1 255.255.255.0
ip nat outside
ip route 0.0.0.0 0.0.0.0 100.100.100.2
Scenario 3:
Configuration:
Here the WAN address is static and we have also an internal Web Server for which
we need to allow HTTP access from Internet. To do this we must configure a static
NAT with port redirection. Traffic that comes towards our WAN public address
100.100.100.1 on port 80 will be redirected by the router to the internal Web
Server at address 192.168.1.10 on port 80.
configure terminal
enable secret somesecretpassword
! Configure the DHCP pool to assign addresses to internal hosts
ip dhcp pool vlan1pool
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 100.100.100.36
! Do not assign addresses 1 to 30
ip dhcp excluded-address 192.168.1.1 192.168.1.30
! This is the LAN facing interface of the 800 router. Used as gateway for PCs
interface vlan 1
ip address 192.168.1.1 255.255.255.0
ip nat inside
no shut
! Interfaces FE0 to FE3 are Layer 2 interfaces
interface FastEthernet0
no shut
interface FastEthernet1
no shut
interface FastEthernet2
no shut
interface FastEthernet3
no shut
! This is the WAN interface with static IP
interface FastEthernet 4
no shut
ip address 100.100.100.1 255.255.255.0
ip nat outside
! Configure NAT. All internal hosts will be nated on the WAN interface
ip nat inside source list 1 interface fastethernet4 overload
access-list 1 permit 192.168.1.0 0.0.0.255
! Configure static NAT for port redirection
ip nat inside source static tcp 192.168.1.10 80 100.100.100.1 80 extendable
ip route 0.0.0.0 0.0.0.0 100.100.100.2
line vty 0 4
password somestrongpassword
About the Author
Harris Andrea is a Cisco Certified Professional with more than 18 years of experience
working with Cisco network technologies. He is the author of two Cisco Books
(“Cisco ASA Firewall Fundamentals” and “Cisco VPN Configuration Guide”) which
have been embraced by thousands of Cisco professionals all over the world. You can
find more Cisco configuration guides and tutorials on his blog here
http://www.networkstraining.com

More Related Content

PDF
PDF
IOS Cisco - Cheat sheets
PDF
BGP on RouterOS7 -Part 1
PPT
Introduction To Cisco Switching – Part 1
PDF
How to Configure Private VLANs on Cisco Switches
PDF
NAT (network address translation) & PAT (port address translation)
DOCX
How to configure vlan, stp, dtp step by step guide
IOS Cisco - Cheat sheets
BGP on RouterOS7 -Part 1
Introduction To Cisco Switching – Part 1
How to Configure Private VLANs on Cisco Switches
NAT (network address translation) & PAT (port address translation)
How to configure vlan, stp, dtp step by step guide

What's hot (20)

DOCX
Mikrotik basic configuration
PPTX
OSPF Basics
PDF
Router commands
PPTX
CCNA ppt Day 1
PDF
Ccnp workbook network bulls
PPTX
Spanning tree protocol
PPTX
Chapter 16 : inter-vlan routing
PPTX
Hot standby router protocol (hsrp) using
PPTX
MikroTik MTCNA
PDF
Policy and firewall_filters
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 6
PDF
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
PDF
Cisco IPv6 Tutorial
PPTX
Igmp presentation
PPTX
Firewall
PPT
Mpls L3_vpn
PPTX
DHCP Snooping
DOC
Basic command to configure mikrotik
PDF
Detectando DDoS e intrusiones con RouterOS
PPT
network Switch
Mikrotik basic configuration
OSPF Basics
Router commands
CCNA ppt Day 1
Ccnp workbook network bulls
Spanning tree protocol
Chapter 16 : inter-vlan routing
Hot standby router protocol (hsrp) using
MikroTik MTCNA
Policy and firewall_filters
CCNA 2 Routing and Switching v5.0 Chapter 6
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
Cisco IPv6 Tutorial
Igmp presentation
Firewall
Mpls L3_vpn
DHCP Snooping
Basic command to configure mikrotik
Detectando DDoS e intrusiones con RouterOS
network Switch
Ad

Viewers also liked (17)

PDF
Route Redistribution
PPT
Kewirausahaan
PPT
Overview on china's philanthropy for ACCP
PDF
Editioning use in ebs
PDF
How To Promote Your Business On Pinterest
PDF
Asat book0-fresh blood
TXT
Tao tai khoan google play
PDF
An incentive model of partialinformation sharing in supply chain
DOCX
JCLIC
PPTX
Case study: #GoogleMoLang
PDF
Jdj Foss Java Tools
PDF
Q3 2013 ASSA ABLOY investors presentation 28 october
PDF
Kedaulatan Rakyat 2 Maret 2014
PDF
Cob 20081113 1
PDF
فرانز كافكا - الآثار الكاملة - الجزء الأول
PPSX
Email & Social Media Training
Route Redistribution
Kewirausahaan
Overview on china's philanthropy for ACCP
Editioning use in ebs
How To Promote Your Business On Pinterest
Asat book0-fresh blood
Tao tai khoan google play
An incentive model of partialinformation sharing in supply chain
JCLIC
Case study: #GoogleMoLang
Jdj Foss Java Tools
Q3 2013 ASSA ABLOY investors presentation 28 october
Kedaulatan Rakyat 2 Maret 2014
Cob 20081113 1
فرانز كافكا - الآثار الكاملة - الجزء الأول
Email & Social Media Training
Ad

Similar to Basic Cisco 800 Router Configuration for Internet Access (20)

PPT
seminarr KJ CISCO SHDKNDSLKADASDAAOIASHD DAOIDAI
PDF
Switch inter vlan_routing
PPT
Training Day Slides
PPT
DOCX
Nat report2
DOCX
How to configure static nat on cisco routers
PDF
Case study
PDF
CCNA Case Study Word No Code
PDF
Minilink TN Ethernet Config.pdf
DOC
Enterprise Network Manager: the Router-On-A-stick
PDF
Kwfsbs67 en-v1
PDF
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
PDF
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
PDF
2024欧洲杯最好的投注软件-2024欧洲杯最好的投注软件网址-2024欧洲杯最好的投注软件|【​网址​🎉ac123.net🎉​】
PDF
2024欧洲杯平台-2024欧洲杯平台网址-2024欧洲杯平台|【​网址​🎉ac123.net🎉​】
PDF
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
PDF
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
PDF
9.VLAN+Principle - Network - ruijie.pdf (
PPTX
Network Design on cisco packet tracer 6.0
PPT
seminarr KJ CISCO SHDKNDSLKADASDAAOIASHD DAOIDAI
Switch inter vlan_routing
Training Day Slides
Nat report2
How to configure static nat on cisco routers
Case study
CCNA Case Study Word No Code
Minilink TN Ethernet Config.pdf
Enterprise Network Manager: the Router-On-A-stick
Kwfsbs67 en-v1
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
2024欧洲杯最好的投注软件-2024欧洲杯最好的投注软件网址-2024欧洲杯最好的投注软件|【​网址​🎉ac123.net🎉​】
2024欧洲杯平台-2024欧洲杯平台网址-2024欧洲杯平台|【​网址​🎉ac123.net🎉​】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
9.VLAN+Principle - Network - ruijie.pdf (
Network Design on cisco packet tracer 6.0

Recently uploaded (20)

PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Empathic Computing: Creating Shared Understanding
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Cloud computing and distributed systems.
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
NewMind AI Weekly Chronicles - August'25 Week I
Agricultural_Statistics_at_a_Glance_2022_0.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
The AUB Centre for AI in Media Proposal.docx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Network Security Unit 5.pdf for BCA BBA.
Chapter 3 Spatial Domain Image Processing.pdf
Machine learning based COVID-19 study performance prediction
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Empathic Computing: Creating Shared Understanding
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
20250228 LYD VKU AI Blended-Learning.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
MIND Revenue Release Quarter 2 2025 Press Release
Cloud computing and distributed systems.
Per capita expenditure prediction using model stacking based on satellite ima...
Reach Out and Touch Someone: Haptics and Empathic Computing
NewMind AI Weekly Chronicles - August'25 Week I

Basic Cisco 800 Router Configuration for Internet Access

  • 1. Basic Cisco 800 Router Configuration for Internet Access The Cisco 800 series routers are part of the “Branch Office” category, used mainly for SOHO purposes or for connecting remote branch offices to a central location. They are “fixed hardware configuration” devices, meaning that they don’t have any plug-in hardware slots for inserting additional interfaces to the device (all the interfaces are fixed). All the 800 series models come with a 4-port 10/100 managed switch used for connecting the internal LAN computers, and with an IOS software that supports security features including the Firewall set. The main difference of each model is the WAN interface. All models that end with “1” in the model number (i.e 851, 861, 871, 881, 891) have a 10/100 Fast Ethernet interface as a WAN port. The other models have an xDSL type WAN port (i.e ADSL, G.SHDL, VDSL2). Also, all models have the option of a WiFi Radio interface (the model number ends with a “W”, e.g 851W, 857W, 861W etc).
  • 2. In this post I will describe a basic configuration scenario for connecting a Cisco 800 router for Internet access. I will use a model with an Ethernet WAN interface (such as 851, 861, 871, etc) since those models are the most popular. Something to have in mind for all 800 series routers, the four LAN interfaces (FE0 up to FE3) are Layer2 switch interfaces that are assigned by default to Vlan1. This means that you can not assign an IP address directly to the LAN interfaces. The IP address for the LAN-facing side of the router is assigned under “interface Vlan1”. On the other hand, the WAN interface (FE4) is a normal Layer3 router port, which means you can assign an IP address directly on the interface (“interface FastEthernet4”). I will describe three basic scenarios which are frequently encountered in real networks. 1. Scenario 1: WAN IP address of router is assigned dynamically by the ISP. LAN IP addresses assigned dynamically from the router to the internal PCs. 2. Scenario 2: WAN IP address of router is static. LAN IP addresses assigned dynamically from the router. 3. Scenario 3: WAN IP address of router is static. An internal LAN Web Server exists. The router performs a static Port NAT (port redirection) to forward traffic from Internet towards the internal Web Server.
  • 3. Scenario 1: Configuration: The following is the basic configuration needed for the simple scenario above. configure terminal enable secret somesecretpassword ! Configure the DHCP pool to assign addresses to internal hosts ip dhcp pool vlan1pool network 192.168.1.0 255.255.255.0 default-router 192.168.1.1 dns-server 100.100.100.36 ! Do not assign addresses 1 to 30 ip dhcp excluded-address 192.168.1.1 192.168.1.30
  • 4. ! This is the LAN facing interface of the 800 router. Used as gateway for PCs interface vlan 1 ip address 192.168.1.1 255.255.255.0 ip nat inside no shut ! Interfaces FE0 to FE3 are Layer 2 interfaces interface FastEthernet0 no shut interface FastEthernet1 no shut interface FastEthernet2 no shut interface FastEthernet3 no shut ! This is the WAN interface getting address via DHCP from the ISP interface FastEthernet 4 no shut ip address dhcp ip nat outside ! Configure NAT. All internal hosts will be nated on the WAN interface ip nat inside source list 1 interface fastethernet4 overload access-list 1 permit 192.168.1.0 0.0.0.255 ip route 0.0.0.0 0.0.0.0 fastethernet4 line vty 0 4 password somestrongpassword
  • 5. Scenario 2: Configuration: This is the same configuration as scenario 1 except that the WAN IP address is static and also the default gateway of our ISP is known. The only difference from the configuration above is on the WAN interface and on default route: ! This is the WAN interface with static IP interface FastEthernet 4 no shut ip address 100.100.100.1 255.255.255.0 ip nat outside ip route 0.0.0.0 0.0.0.0 100.100.100.2
  • 6. Scenario 3: Configuration: Here the WAN address is static and we have also an internal Web Server for which we need to allow HTTP access from Internet. To do this we must configure a static NAT with port redirection. Traffic that comes towards our WAN public address 100.100.100.1 on port 80 will be redirected by the router to the internal Web Server at address 192.168.1.10 on port 80. configure terminal enable secret somesecretpassword
  • 7. ! Configure the DHCP pool to assign addresses to internal hosts ip dhcp pool vlan1pool network 192.168.1.0 255.255.255.0 default-router 192.168.1.1 dns-server 100.100.100.36 ! Do not assign addresses 1 to 30 ip dhcp excluded-address 192.168.1.1 192.168.1.30 ! This is the LAN facing interface of the 800 router. Used as gateway for PCs interface vlan 1 ip address 192.168.1.1 255.255.255.0 ip nat inside no shut ! Interfaces FE0 to FE3 are Layer 2 interfaces interface FastEthernet0 no shut interface FastEthernet1 no shut interface FastEthernet2 no shut interface FastEthernet3 no shut ! This is the WAN interface with static IP interface FastEthernet 4 no shut ip address 100.100.100.1 255.255.255.0 ip nat outside ! Configure NAT. All internal hosts will be nated on the WAN interface ip nat inside source list 1 interface fastethernet4 overload access-list 1 permit 192.168.1.0 0.0.0.255
  • 8. ! Configure static NAT for port redirection ip nat inside source static tcp 192.168.1.10 80 100.100.100.1 80 extendable ip route 0.0.0.0 0.0.0.0 100.100.100.2 line vty 0 4 password somestrongpassword About the Author Harris Andrea is a Cisco Certified Professional with more than 18 years of experience working with Cisco network technologies. He is the author of two Cisco Books (“Cisco ASA Firewall Fundamentals” and “Cisco VPN Configuration Guide”) which have been embraced by thousands of Cisco professionals all over the world. You can find more Cisco configuration guides and tutorials on his blog here http://www.networkstraining.com