Last active
March 20, 2018 17:34
-
-
Save davidcrx/e80880200410448facc1ae3860de9f70 to your computer and use it in GitHub Desktop.
DHCP Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!Router R2 configuration | |
enable | |
conf t | |
interface serial 0/0/1 | |
ip address 192.168.101.1 255.255.255.0 | |
no shutdown | |
end | |
conf t | |
ip dhcp excluded-address 192.168.102.1 192.168.102.3 | |
end | |
!Create DHCP Pool | |
conf t | |
ip dhcp pool N3 | |
network 192.168.102.0 255.255.255.0 | |
default-router 192.168.102.1 | |
end | |
!set ip route | |
conf t | |
ip route 192.168.102.0 255.255.255.0 192.168.101.2 | |
!Router R3 configuration | |
enable | |
conf t | |
interface serial 0/0/0 | |
ip address 192.168.101.2 255.255.255.0 | |
no shutdown | |
end | |
conf t | |
interface GigabitEthernet 0/0 | |
ip address 192.168.102.1 255.255.255.0 | |
no shutdown | |
ip helper-address 192.168.101.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment