티스토리 뷰
r1]
ip dhcp pool VLAN10
network 1.1.10.0 /25
default-router 1.1.10.126
lease 8
dhcp 유효기간8일 줌
dns-server 168.126.63.1
class V10
address range 1.1.10.1 1.1.10.125
exit
ip dhcp pool VLAN20
network 1.1.10.128 /25
default-router 1.1.10.254
lease 8
dhcp 유효기간8일 줌
dns-server 168.126.63.1
class V20
address range 1.1.10.129 1.1.10.253
exit
int f0/0.10
ip dhcp client class-id V10
exit
int f0/0.20
ip dhcp client class-id V20
exit
※ 특정 ip 제외는 conf t에서
ip dhcp excluded-address 1.1.10.254
※ 범위 ip 제외는 conf t에서
ip dhcp excluded-address 1.1.10.100 1.1.10.254
PC1]
int f0/0
no sh
ip add dhcp
PC2]
int f0/0
no sh
ip add dhcp
r1]
int f0/1
no sh
ip add dhcp
학원 컴퓨터 사설망 네트워크 dhcp방식으로 받아옴.
conf t
access-list 99 permit 1.1.10.0 0.0.0.255
ip nat inside source list 99 interface f0/1 overload
int f0/0.10
ip nat inside
exit
int f0/0.20
ip nat inside
exit
int f0/1
ip nat outside
exit
ip route 0.0.0.0 0.0.0.0 f0/1 10.0.0.1
'네트워크 > LAB실습 및 이론' 카테고리의 다른 글
IPv6 라우팅 (0) | 2023.03.23 |
---|---|
[keduit]Extended Access-list -2023/03/22 (0) | 2023.03.22 |
[keduit]RIP, Static 연결 partial_mesh -2023/03/16 (0) | 2023.03.17 |
[개념정리] 메모리, GPU (0) | 2023.03.15 |
[keduit]Dynamic Routing Protocol_RIP, Partially_Mesh -2023/03/14 (0) | 2023.03.14 |