kjh00n의 기록저장소
DNS,Telnet GNS3 실습 본문
DNS=10.10.10.1 / yum -y install bind*
Telnet=20.20.20.1 / yum -y install telnet-server
Client=30.30.30.1 / yum -y install telnet /
ASW1
conf t
vlan 10
name v10
vlan 20
name v20
exit
int fa 3/0
switchport mode access
switchport access vlan 10
int fa 3/1
switchport mode access
switchport access vlan 20
int fa 3/15
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20,1002-1005
ASW2
conf t
vlan 30
name v30
exit
int fa 3/0
switchport mode access
switchport access vlan 30
int fa 3/15
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,30,1002-1005
R1
conf t
int fa 0/0
no shu
int fa 0/0.10
encapsulation dot1q 10
ip addr 10.10.10.254 255.255.255.0
int fa 0/0.20
encapsulation dot1q 20
ip addr 20.20.20.254 255.255.255.0
int fa 0/1
ip addr 60.60.60.1 255.255.255.0
no shu
ip route 0.0.0.0 0.0.0.0 60.60.60.2
R2
conf t
int fa 0/0
ip addr 60.60.60.2 255.255.255.0
no shu
int fa 0/1
ip addr 70.70.70.2 255.255.255.0
no shu
ip route 10.10.10.0 255.255.255.0 60.60.60.1
ip route 20.20.20.0 255.255.255.0 60.60.60.1
ip route 0.0.0.0 0.0.0.0 70.70.70.3
R3
conf t
int fa 0/0
ip addr 80.80.80.3 255.255.255.0
no shu
int fa 0/1
ip addr 70.70.70.3 255.255.255.0
no shu
int fa 1/0
ip addr 192.168.50.230 255.255.255.0
no shu
ip route 10.10.10.0 255.255.255.0 70.70.70.2
ip route 20.20.20.0 255.255.255.0 70.70.70.2
ip route 30.30.30.0 255.255.255.0 80.80.80.4
ip route 0.0.0.0 0.0.0.0 192.168.50.2
access-list 1 permit 30.30.30.0 0.0.0.255
ip nat inside source list 1 int fa 1/0
int fa 0/0
ip nat inside
int fa 1/0
ip nat outside
서버 인터넷 임시 설정
access-list 1 permit 10.10.10.0 0.0.0.255
access-list 1 permit 20.20.20.0 0.0.0.255
int fa 0/1
ip nat inside
int fa 1/0
ip addr 192.168.50.231 255.255.255.0 secondary
ip nat inside source static 20.20.20.1 192.168.50.231
int fa 0/1
ip nat inside
R4
conf t
int fa 0/0
no shu
int fa 0/0.30
encapsulation dot1q 30
ip addr 30.30.30.254 255.255.255.0
int fa 0/1
ip addr 80.80.80.4 255.255.255.0
no shu
ip route 0.0.0.0 0.0.0.0 80.80.80.3
'Network' 카테고리의 다른 글
GNS3설정) Linux에서 Router 원격 접근 (0) | 2024.10.29 |
---|---|
client,server 연결 실습 (0) | 2024.10.28 |
GNS3 VMware와 연결 실습 (0) | 2024.10.26 |
GNS3 VLAN 실습4 (0) | 2024.10.26 |
GNS3 VLAN 실습3 (0) | 2024.10.26 |