NAT
Static NAT:
ip nat inside source static 10.1.12 10.2.2.21
Dynamic NAT:
ip nat pool bigpool 10.2.2.41 10.2.2.41 netmask 255.255.255.0
ip nat inside source list 1 pool bigpool
!
access-list 1 permit 10.1.1.0 0.0.0.255
NAT Overloading:
ip nat inside source list 1 interface FastEthernet0 overload
!
access-list 1 permit 10.1.1.0 0.0.0.255
PPP
PAP
P1R1
hostname P1R1
!
username littlerouter password sanjose
!
interface serial0/1
ip address 10.1.1.1 255.255.255.0
encapsulation ppp
clockrate 1000000
ppp authentication pap
ppp pap sent-username bigrouter password sanfran
P1P2
hostname P1R2
!
username bigrouter password sanfran
!
interface serial0/0
ip address 10.1.1.2 255.255.255.0
no ip directed-broadcast
encapsulation ppp
ppp authentication pap
ppp pap sent-username littlerouter password sanjose
Chap
P1R1
hostname P1R1
!
username p1r2 password cisco
!
interface serial0/1
ip address 10.1.1.1 255.255.255.0
encapsulation ppp
clockrate 1000000
ppp authentication chap
P1R2
hostname P1R2
!
username p1r1 password cisco
!
interface serial0/0
ip address 10.1.1.2 255.255.255.0
encapsulation ppp
ppp authentication chap
ISAKMP:Internet Security Association and Key Management Protocol 安全連接和密鑰管理協議
|