
The scenario is as follows:
Your organization is using the private address of 10.0.0.0 /24. Your
ISP has assigned the public address of 200.200.200.0 /24 to your
organization.
Our goal is to configure Router A to provide us with address
translation to go from the private address to the public address. We
also want to advertise this public address out to the world.
The configuration commands that accomplish these goals are
presented in bold.
Current configuration:
!
version 11.3
no service password-encryption
!
hostname router_a
!
enable secret 5 $1$.s1R$iaEqZxLnYJo2QlZi8UNaO0
enable password guess
!
ip nat pool nat-example
200.200.200.1 200.200.200.255 prefix-length 24
ip nat inside source list 1 pool nat-example
!
interface Ethernet0/0
ip address 200.200.200.1 255.255.255.0
secondary
ip address 10.10.10.1 255.255.255.0
ip nat inside
!
interface Serial0/0
ip address 150.100.10.72 255.255.255.0
ip nat outside
encapsulation frame-relay
!
interface TokenRing0/0
no ip address
shutdown
ring-speed 16
!
interface FastEthernet1/0
no ip address
shutdown
!
router rip
network 200.200.200.0
network 150.100.0.0
!
ip classless
no logging buffered
access-list 1 permit 10.10.10.0 0.0.0.255
|
您将承担一切因您的行为、言论而直接或间接导致的民事或刑事法律责任
留言板管理人员有权保留或删除其管辖留言中的任意内容 本站提醒:不要进行人身攻击。谢谢配合。 |