Схематическая структура корпоративной сети. Распределение IP адресации и настройка работоспособности корпоративной сети в программе CISCO PACKET TRACER, страница 18

ip address 192.168.8.1 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet1/0

ip address 192.168.2.2 255.255.255.0

duplex auto

speed auto

!

router ospf 1

log-adjacency-changes

network 192.168.3.0 0.0.0.255 area 0

network 192.168.2.0 0.0.0.255 area 0

network 192.168.8.0 0.0.0.255 area 0

!

!

router eigrp 1

network 10.10.6.0 0.0.0.255

network 20.20.0.0 0.0.0.255

network 20.20.1.0 0.0.0.255

no auto-summary

МаршрутизаторR7

hostname R7

!

boot-start-marker

boot-end-marker

!

!

no aaa new-model

!

resource policy

!

memory-size iomem 5

ip cef

!

!

no ip domain lookup

!

crypto isakmp policy 20

authentication pre-share

crypto isakmp key 123 address 0.0.0.0 0.0.0.0

!

!

crypto ipsec transform-set DMVPN-TR esp-des esp-md5-hmac

mode transport

!

crypto ipsec profile DMVPN

set transform-set DMVPN-TR

!

!

!

!

!

!

interface Tunnel1

ip address 20.20.0.7 255.255.255.0

no ip redirects

ip mtu 1416

ip nhrp authentication nhrppass

ip nhrp map 20.20.0.1 192.168.0.1

ip nhrp map multicast 192.168.0.1

ip nhrp network-id 999

ip nhrp nhs 20.20.0.1

ip nhrp registration no-unique

tunnel source FastEthernet0/0

tunnel destination 192.168.0.1

tunnel key 999

tunnel protection ipsec profile DMVPN

!

interface Tunnel2

ip address 20.20.1.7 255.255.255.0

no ip redirects

ip mtu 1416

ip nhrp authentication nhrppass

ip nhrp map 20.20.1.1 192.168.5.1

ip nhrp map multicast 192.168.5.1

ip nhrp network-id 111

ip nhrp nhs 20.20.1.1

ip nhrp registration no-unique

tunnel source FastEthernet0/0

tunnel destination 192.168.5.1

tunnel key 111

tunnel protection ipsec profile DMVPN

!

interface Loopback1

ip address 10.10.2.3 255.255.255.0

!

interface FastEthernet0/0

ip address 192.168.6.2 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

ip address 192.168.7.1 255.255.255.0

duplex auto

speed auto

!

!

router ospf 1

log-adjacency-changes

network 192.168.6.0 0.0.0.255 area 0

network 192.168.7.0 0.0.0.255 area 0

!

!

router eigrp 1

network 10.10.2.0 0.0.0.255

network 20.20.0.0 0.0.0.255

network 20.20.1.0 0.0.0.255

no auto-summary

МаршрутизаторR8

hostname R8

!

boot-start-marker

boot-end-marker

!

!

no aaa new-model

!

resource policy

!

memory-size iomem 5

ip cef

!

!

!

!

no ip domain lookup

!

!

!

crypto isakmp policy 20

authentication pre-share

crypto isakmp key 123 address 0.0.0.0 0.0.0.0

!

!

crypto ipsec transform-set DMVPN-TR esp-des esp-md5-hmac

mode transport

!

crypto ipsec profile DMVPN

set transform-set DMVPN-TR

!

interface Tunnel1

ip address 20.20.0.8 255.255.255.0

no ip redirects

ip mtu 1416

ip nhrp authentication nhrppass

ip nhrp map 20.20.0.1 192.168.0.1

ip nhrp map multicast 192.168.0.1

ip nhrp network-id 999

ip nhrp nhs 20.20.0.1

ip nhrp registration no-unique

tunnel source FastEthernet0/0

tunnel destination 192.168.0.1

tunnel key 999

tunnel protection ipsec profile DMVPN

!

interface Tunnel2

ip address 20.20.1.8 255.255.255.0

no ip redirects

ip mtu 1416

ip nhrp authentication nhrppass

ip nhrp map 20.20.1.1 192.168.5.1

ip nhrp map multicast 192.168.5.1

ip nhrp network-id 111

ip nhrp nhs 20.20.1.1

ip nhrp registration no-unique

tunnel source FastEthernet0/1

tunnel destination 192.168.5.1

tunnel key 111

tunnel protection ipsec profile DMVPN

!

interface Loopback1

ip address 10.10.7.3 255.255.255.0

!

interface FastEthernet0/0

ip address 192.168.7.2 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

ip address 192.168.8.2 255.255.255.0

duplex auto

speed auto

!

router ospf 1

log-adjacency-changes

network 192.168.7.0 0.0.0.255 area 0

network 192.168.8.0 0.0.0.255 area 0

!

router eigrp 1

network 10.10.7.0 0.0.0.255

 network 20.20.0.0 0.0.0.255

network 20.20.1.0 0.0.0.255

no auto-summary