NCS/Security(Hacking)

Switch LAB (VTP,HSRP)

장성한군사 2017. 4. 22. 14:31

Network Simulation Program  : EVE-ng

Network Device Image : c3725-adventerprisek9_sna-mz.124-15.T7.image

Linux : Kali

Windows : Windows 7 sp1

Topology

Configuration

37251 

 !! 37251

en

conf t

username root password toor

service password-encryption

no ip domain-lookup

line console 0

logging synchronous

exec-timeout 0

login local

exit

line vty 0 4

login local

transport input ssh

exit

vlan 10

 name HR

 exit

interface range fa1/0 - 3

 switchport access vlan 10

 exit

hostname ASW

37252

 !! 37252

en

conf t

username root password toor

service password-encryption

no ip domain-lookup

line console 0

logging synchronous

exec-timeout 0

login local

exit

line vty 0 4

login local

transport input ssh

exit

vlan 10

 name HR

 exit

interface range fa1/0

 switchport access vlan 10

 exit

hostname DSW2

spanning-tree vlan 10 root primary

interface vlan 10

 ip address 10.1.1.2 255.255.255.0

 standby 10 ip 10.1.1.1

 standby 10 priority 110

 standby 10 name KGHSRP

 standby 10 preempt

 no shutdown

 exit

interface fa1/1

 no switchport

 ip address 1.1.24.2 255.255.255.0

 no shutdown

ip dhcp excluded 10.1.1.1 10.1.1.10

ip dhcp pool KG

 network 10.1.1.0 /24

 default-router 10.1.1.1

 lease 0 8

 exit

interface loopback 0

 ip address 1.1.1.2 255.255.255.255

 exit

router ospf 1

 router-id 1.1.1.2

 network 1.1.24.2 0.0.0.0 area 0

 network 10.1.1.2 0.0.0.0 area 0

 passive-interface fa1/0

 exit


 37253

 !! 37253

en

conf t

username root password toor

service password-encryption

no ip domain-lookup

line console 0

logging synchronous

exec-timeout 0

login local

exit

line vty 0 4

login local

transport input ssh

exit

vlan 10

 name HR

 exit

interface range fa1/1

 switchport access vlan 10

 exit

hostname DSW3

spanning-tree vlan 10 root secondary

interface vlan 10

 ip address 10.1.1.3 255.255.255.0

 standby 10 ip 10.1.1.1

 standby 10 priority 100

 standby 10 name KGHSRP

 standby 10 preempt

 no shutdown

 exit

interface fa1/0

 no switchport

 ip address 1.1.34.3 255.255.255.0

 no shutdown

interface loopback 0

 ip address 1.1.1.3 255.255.255.255

 exit

router ospf 1

 router-id 1.1.1.3

 network 1.1.34.3 0.0.0.0 area 0

 network 10.1.1.3 0.0.0.0 area 0

 passive-interface fa1/1

 exit

 37254

 !! 37254

en

conf t

username root password toor

service password-encryption

no ip domain-lookup

line console 0

logging synchronous

exec-timeout 0

login local

exit

line vty 0 4

login local

transport input ssh

exit

hostname CoreSW

interface fa0/0

 ip address 1.1.45.4 255.255.255.0

 no shutdown

interface fa1/1

 no switchport

 ip address 1.1.24.4 255.255.255.0

 no shutdown

interface fa1/0

 no switchport

 ip address 1.1.34.4 255.255.255.0

 no shutdown

interface loopback 0

 ip address 1.1.1.4 255.255.255.255

 exit

router ospf 1

 router-id 1.1.1.4

 network 1.1.24.4 0.0.0.0 area 0

 network 1.1.34.4 0.0.0.0 area 0 

 network 1.1.45.4 0.0.0.0 area 0

 exit


 37255

 !! 37255

en

conf t

username root password toor

service password-encryption

no ip domain-lookup

line console 0

logging synchronous

exec-timeout 0

login local

exit

line vty 0 4

login local

transport input ssh

exit

hostname BBR

interface fa0/0

 ip address 1.1.45.5 255.255.255.0

 no shutdown

 exit

interface fa 0/1

 ip address dhcp

 no shutdown

 exit

interface loopback 0

 ip address 1.1.1.5 255.255.255.255

 exit

router ospf 1

 router-id 1.1.1.5

 network 1.1.45.5 0.0.0.0 area 0

 passive-interface fa0/1

 default-information originate

 exit