Configuration Steps
- Configuring the router hostname
- Configuring users
- Defining the DNS IPs globally
- Setting the IP addresses on the LAN and WAN ports
- Configuring Default Gateway
- Configuring DHCP server
- Natting
- Configuring telnet/ssh
- Testing
DNS 41.203.208.18, 41.203.208.19
VLAN 770
Router name= Kopsiro
Lan Port= Vlan1
WAN port =fa4
Config Hostname
Config Hostname
R1>en
RI#configure terminal
RI(config)#hostname Kopsiro
Set DNS
p name-server
41.203.208.18
ip name-server
41.203.208.19
Config ports
WAN/Internet
port
untagged
interface
fastethernet4
no shutdown
description WAN
port
ip address 197.248.56.230
255.255.255.252
ip nat outside
or
tagged
interface
fastethernet4
no shutdown
interface
fastethernet4.770
description WAN
port
encapsulation
dot1q 770
ip address 197.248.56.230
255.255.255.252
ip nat outside
LAN port
interface vlan 1
no shutdown
description LAN
port
ip address 192.168.1.1
255.255.255.0
ip nat inside
Set default
Gateway
ip route 0.0.0.0
0.0.0.0 197.248.56.229 name ISP_Default_GW
Config DHCP
ip dhcp
excluded-address 192.168.1.1 192.168.1.10
ip dhcp pool KOPSIRO
import all
lease 1
network 192.168.1.0
255.255.255.0
default-router 192.168.1.1
dns-server
41.203.208.18 41.203.208.19
Config NAT and
ACL
ip access-list
extended KOPSIRO
permit ip 192.168.1.0
0.0.0.255 any
or
ip access-list
standard KOPSIRO
permit 192.168.1.0
0.0.0.255
or
access-list
(1-99) (1300-1999) permit 192.168.1.0 0.0.0.255
or
access-list
(100-199) (2000-2699) permit ip 192.168.1.0 0.0.0.255 any
ip nat inside
source list LAN1 interface fastethernet 4 overload (untagged)
ip nat inside
source list LAN1 interface fastethernet 4.770 overload
(tagged)
Config Telnet
line vty 0 4
login local
password W!M@x
transport input
telnet
Test
Testing browsing
ping 197.248.56.229
ping
41.139.20.41 source vlan 1
ping 8.8.8.8
ping 8.8.8.8
source vlan 1
traceroute
8.8.8.8
show interface
fastethernet 4
show run
interface fastethernet 4
sh ip route
sh ip route
static
Testing DHCP