동적 DHCP
2023. 9. 25. 16:18ㆍ네트워크
토폴로지
기본 설정
GW conf t int fa 0/1 no shut ip add 10.1.10.254 255.255.255.0 ip nat inside exi int fa 0/0 no shut ip add 1.1.12.1 255.255.255.0 ip nat outside exi access-list 1 permit 10.1.10.0 0.0.0.255 ip nat inside source list 1 int fa 0/0 over ip route 8.8.8.0 255.255.255.0 1.1.12.2 |
Internet conf t int fa 0/0 no shut ip add 1.1.12.2 255.255.255.0 exi int lo 0 ip add 8.8.8.8 255.255.255.0 exi |
SW conf t vlan 10 exi int rang fa 1/0 - 4 sw mo a sw a v 10 spanning portfast exi |
DHCP_S conf t int fa 0/0 no shut ip add 10.1.10.250 255.255.255.0 exi ip route 0.0.0.0 0.0.0.0 10.1.10.254 |
DHCP 설정
DHCP_S conf t service dhcp ip dhcp pool vlan10_pool network 10.1.10.0 /24 dns-server 1.1.1.1 2.2.2.2 default-router 10.1.10.254 lease 10 update arp exi ip dhcp excluded-address 10.1.10.250 10.1.10.254 |
DHCP_C1,2,3 conf t int fa 0/0 no shu ip add dhcp end |
실습 결과
'네트워크' 카테고리의 다른 글
DHCP relay agent (0) | 2023.09.25 |
---|---|
정적 DHCP (0) | 2023.09.25 |
HSRP (0) | 2023.09.21 |
Port Security (0) | 2023.09.21 |
VTP (0) | 2023.09.21 |