Cisco router config
Find a file
2026-03-07 21:45:28 +02:00
config fix: fixed README.md fixed config 2026-03-07 21:45:28 +02:00
README.md fix: fixed README.md fixed config 2026-03-07 21:45:28 +02:00

hostname Router

no ip domain-lookup
no ip http server
no ip http secure-server
no service pad
no ip bootp server
no service config
no boot network

line console 0
 password cisco
 login
line vty 0 4
 no login
 no password
line aux 0
 no login
 no exec

vlan 10
 name LAN_NETWORK

interface range GigabitEthernet 0 - 6
 switchport mode access
 switchport access vlan 10
 no shutdown

interface GigabitEthernet 8
 ip address dhcp
 ip nat outside
 no ip proxy-arp
 no ip redirects
 no ip unreachables
 no cdp enable
 no shutdown

interface Vlan 10
 ip address 192.168.1.1 255.255.255.0
 ip nat inside
 no shutdown

access-list 1 permit 192.168.1.0 0.0.0.255
ip nat inside source list 1 interface GigabitEthernet8 overload

ip route 0.0.0.0 0.0.0.0 dhcp

ip dhcp excluded-address 192.168.1.1 192.168.1.10
ip dhcp pool LAN_POOL
 network 192.168.1.0 255.255.255.0
 default-router 192.168.1.1
 dns-server 8.8.8.8 8.8.4.4