Clarify workspace number
This commit is contained in:
parent
f4826100dd
commit
726a0df936
1 changed files with 6 additions and 2 deletions
|
@ -4,6 +4,10 @@
|
||||||
![](./network_connection.png)
|
![](./network_connection.png)
|
||||||
|
|
||||||
## Configuration Commands
|
## Configuration Commands
|
||||||
|
|
||||||
|
- `XX`:
|
||||||
|
Workplace number
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Enter configuration
|
# Enter configuration
|
||||||
enable
|
enable
|
||||||
|
@ -11,14 +15,14 @@ configure terminal
|
||||||
|
|
||||||
# Assign ip addresses
|
# Assign ip addresses
|
||||||
interface gi0/0
|
interface gi0/0
|
||||||
ip address 10.3.44.113 255.255.255.0
|
ip address 10.3.44.1XX 255.255.255.0
|
||||||
|
|
||||||
interface gi0/1
|
interface gi0/1
|
||||||
ip address 192.168.1.1 255.255.255.0
|
ip address 192.168.1.1 255.255.255.0
|
||||||
|
|
||||||
# Enable network address translation
|
# Enable network address translation
|
||||||
# ip nat pool <name> <start-ip> <end-ip> { netmask <netmask> | prefix-length <prefix-length> } [ type { rotary } ]
|
# 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
|
ip nat pool okayletsgo 10.3.44.1XX 10.3.44.1XX netmask 255.255.255.0
|
||||||
|
|
||||||
# access-list acln {deny|permit} {host|source source-wildcard|any}
|
# access-list acln {deny|permit} {host|source source-wildcard|any}
|
||||||
access-list 24 permit 192.168.1.0 255.255.255.0
|
access-list 24 permit 192.168.1.0 255.255.255.0
|
||||||
|
|
Loading…
Reference in a new issue