config t
hostname ATTACK
interface FastEthernet0/0
ip address 100.100.100.254 255.255.255.0
no shutdown
exit
interface Serial1/0 ip address 1.1.1.1 255.255.255.248
no shutdown
exit
router rip
version 2
network 100.100.100.0
network 1.1.1.0
exit
exit
show ip protocols
show ip route
[R2 한방설정]
config t
hostname IBJ
interface FastEthernet0/0
ip address 210.125.239.254 255.255.255.0
no shutdown
exit
interface Serial1/0
ip address 1.1.1.2 255.255.255.248
no shutdown
exit
router rip
version 2
network 210.125.239.0
network 1.1.1.0
exit
exit
show ip protocols
show ip route
라우터 DHCP 설정
configure terminal
interface fastEthernet0/0
ip address 210.125.239.254 255.255.255.0
no shutdown
ip dhcp excluded-address 210.125.239.1 210.125.239.10
ip dhcp pool IBJ
network 210.125.239.0 255.255.255.0
default-router 210.125.239.254
dns-server 210.125.239.35
lease 7
end
write memory
포트 미러링
config t
monitor session 1 source interface fastEthernet 1/1 - 14
monitor session 1 destination interface fastEthernet 1/15
end
show monitor session 1
설정 해제
config t
no monitor session 1