라우터 telnet 설정
config t
line vty 0 4
transport input telnet
password 123456
exit
enable password 123456
exit
라우터설정전 맨처음 해야할것 인터페이스 확인할것
H써있는위에가초록색인 선꼽기
xshell에 라우터 접속
en(라우터 설정)
show ip interface brief
FastEthernet0
Serial0
[R1]
config t
hostname HACKER
interface fastethernet0
ip address 192.168.0.1 255.255.255.0
no shutdown
exit
interface serial0
ip address 1.1.1.1 255.255.255.252
no shutdown
exit
router rip
version 2
network 192.168.0.0
network 1.1.1.0
[R2]
config t
hostname ST
interface fastethernet0/0
ip address 125.246.95.254 255.255.255.0
no shutdown
exit
interface serial0/0/0
ip address 1.1.1.2 255.255.255.252
no shutdown
exit
router rip
version 2
network 125.246.95.0
network 1.1.1.0
내자리에서 연결
2번 내부연결(인터넷X) 1번누르면 인터넷 가능
2번누른후 xshell 192.168.0.1 telnet 으로 접속