Introduction:
This is a basic network configuration guide for Cisco routers, and all exercises are based on a simulator (EVE-NG).
Enable and Configure Port IP Addresses
In this example,
interface Ethernet0/0
is theLAN
port, andinterface Ethernet0/1
is theWAN
port.
|
|
Check IP Addresses for Port
|
|
Interface IP-Address OK? Method Status Protocol Ethernet0/0 17.16.1.1 YES manual up up Ethernet0/1 19.86.11.96 YES manual up up
Configure DHCP Server
Each device that connects to the Internet needs a unique IP address. DHCP enables network administrators to monitor and allocate IP addresses from a central node. When a computer is moved to another location on the network, it can automatically receive a new IP address. From Wiki
|
|
Test with Client Computers:
NAT
(Network Address Translation)
Simply put, all devices on the internal network share one external IP address. This is a technology that rewrites the source IP address or destination IP address of IP packets when they pass through a router or firewall. From: Wiki
|
|
Route
A router is a networking device that forwards data packets between computer networks. Routers perform the traffic directing functions on the Internet. From Wiki
Default Route Configuration
A default route is a route that is used by a router when no other known route exists for a given IP address destination.
|
|
Check Routes:
|
|
Internet Connection Test:
Port-Forwarding
Port forwarding is a technique that is used to allow external devices access to a specific computer or service within a private local-area network (LAN). It is done by mapping a public IP address to a private IP address and specific port number. From Wiki
Configuration
In this example, we use port 3389 of Remote Desktop to access the computer (Windows7) with IP address 17.16.1.51 in the internal network.
|
|
Check with Test
Finally, remember to “save” all settings
|
|
Conclusion:
Compared with home routers, setting up Cisco routers is more cumbersome because home routers already have default
WAN
andLAN (bridge)
settings, while Cisco routers are based on commercial use, and each configuration step requires a deeper understanding of the network.