kjh00n의 기록저장소
DHCP,DNS,Telnet을 GNS3에서 연결 실습 본문
R1
conf t
int fa 0/0
ip addr 50.50.50.254 255.255.255.0
no shu
int fa 0/1
ip addr 10.10.10.1 255.255.255.0
no shu
int fa 1/0
ip addr 192.168.50.222 255.255.255.0
no shu
ip route 0.0.0.0 0.0.0.0 192.168.50.2
ip route 100.100.100.0 255.255.255.0 10.10.10.2
ip route 150.150.150.0 255.255.255.0 10.10.10.2
access-list 1 permit 100.100.100.0 0.0.0.255
access-list 1 permit 50.50.50.0 0.0.0.255
access-list 1 permit 150.150.150.0 0.0.0.255
ip nat inside source list 1 int fa 1/0
int fa 0/0
ip nat inside
int fa 0/1
ip nat inside
int fa 1/0
ip nat outside
R2
conf t
int fa 0/1
ip addr 10.10.10.2 255.255.255.0
no shu
int fa 0/0
ip addr 100.100.100.254 255.255.255.0
ip helper-address 140.140.140.1
no shu
int fa 1/0
ip addr 20.20.20.2 255.255.255.0
no shu
ip route 0.0.0.0 0.0.0.0 10.10.10.1
ip route 150.150.150.0 255.255.255.0 20.20.20.3
R3
conf t
int fa 0/0
ip addr 150.150.150.254 255.255.255.0
ip helper-address 140.140.140.1
no shu
int fa 1/0
ip addr 20.20.20.3 255.255.255.0
no shu
ip route 0.0.0.0 0.0.0.0 20.20.20.2
DHCP
DNS
Telnet
yum- y install telnet-server
systemctl start telnet.socket
Client