Конфигурирование маршрутизаторов фирмы Cisco Systems. Пуцев А.Ю. - 31 стр.

UptoLike

Составители: 

31
no ip address
no ip directed-broadcast
shutdown
!
interface Serial3
no ip address
no ip directed-broadcast
shutdown
!
interface BRI0
no ip address
no ip directed-broadcast
shutdown
!
ip nat translation timeout never
ip nat translation tcp-timeout never
ip nat translation udp-timeout never
ip nat translation finrst-timeout never
ip nat translation syn-timeout never
ip nat translation dns-timeout never
ip nat translation icmp-timeout never
ip nat pool NET40-pool 10.3.35.42 10.3.35.42 prefix-length 24
ip nat pool NET48-pool 10.3.35.51 10.3.35.54 prefix-length 24
ip nat inside source route-map Net40 pool NET40-pool overload
ip nat inside source route-map Net48 pool NET48-pool overload
ip nat inside source static tcp 192.168.0.30 22 10.3.35.50 22
extendable
ip nat inside source static tcp 192.168.0.30 22 10.3.35.42 22
extendable
ip classless
ip route 0.0.0.0 0.0.0.0 10.3.35.49
ip route 0.0.0.0 0.0.0.0 10.3.35.41
!
access-list 10 permit 192.168.0.0 0.0.0.255
access-list 40 permit 192.168.0.0 0.0.0.127
access-list 48 permit 192.168.0.128 0.0.0.127
route-map Net48 permit 10
match ip address 10
match interface Serial0
!
route-map Net40 permit 10
match ip address 10
match interface Serial1
!
route-map all permit 20
match ip address 40
set ip next-hop 10.3.35.41