Add tutorial 1

This commit is contained in:
Manuel Thalmann 2023-10-12 11:45:51 +02:00
parent 2a0b0422d7
commit 3b022fe5e0

28
Tutorial 1/README.md Normal file
View file

@ -0,0 +1,28 @@
# Tutorial 1
## Physical Setup
<!--- Insert picture here -->
## Configuration Commands
```sh
# Enter configuration
enable
configure terminal
# Assign ip addresses
interface gi0/0
ip address 10.3.44.113 255.255.255.0
interface gi0/1
ip address 192.168.1.1 255.255.255.0
# Enable network address translation
# ip nat pool <name> <start-ip> <end-ip> { netmask <netmask> | prefix-length <prefix-length> } [ type { rotary } ]
ip nat pool okayletsgo 10.3.44.113 10.3.44.113 netmask 255.255.255.0
# access-list acln {deny|permit} {host|source source-wildcard|any}
access-list 24 permit 192.168.1.0 255.255.255.0
# ip nat inside source { list <acln> pool <name> [overload] | static <local-ip><global-ip> }
ip nat inside source list 24 pool okayletsgo overload
```