Add step for configuring default gateway
This commit is contained in:
parent
d9d6a38e75
commit
936c3afbae
1 changed files with 4 additions and 1 deletions
|
@ -20,7 +20,7 @@ no shutdown
|
||||||
|
|
||||||
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
|
||||||
ip nat outside
|
ip nat inside
|
||||||
no shutdown
|
no shutdown
|
||||||
|
|
||||||
# Enable network address translation
|
# Enable network address translation
|
||||||
|
@ -44,6 +44,9 @@ exit
|
||||||
# Enable DHCP for inner network
|
# Enable DHCP for inner network
|
||||||
service dhcp gi0/1
|
service dhcp gi0/1
|
||||||
exit
|
exit
|
||||||
|
|
||||||
|
# Set default gateway
|
||||||
|
ip route 0.0.0.0 0.0.0.0 10.3.44.1
|
||||||
disable
|
disable
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue