电信IP分配问题

 

 

R1:

R1#sh run

Building configuration...

Current configuration : 1070 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname R1

!

boot-start-marker

boot-end-marker

!

no aaa new-model

memory-size iomem 5

!

ip cef

no ip domain lookup

!

interface Serial0/0

 ip address 12.1.1.1 255.255.255.252

 ip nat outside

 ip virtual-reassembly

 serial restart-delay 0

!

interface Serial0/1

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/2

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/3

 no ip address

 shutdown

 serial restart-delay 0

!

interface Ethernet1/0

 ip address 192.168.0.1 255.255.255.0

 ip nat inside

 ip virtual-reassembly

 half-duplex

!         

ip http server

no ip http secure-server

!

ip route 0.0.0.0 0.0.0.0 12.1.1.2

!

ip nat pool text 13.1.1.1 13.1.1.6 netmask 255.255.255.248

ip nat inside source list 1 pool text

!

access-list 1 permit any

!

control-plane

!

line con 0

 exec-timeout 0 0

 logging synchronous

line aux 0

line vty 0 4

!

end

R2:

R2#sh run

Building configuration...

Current configuration : 766 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname R2

!

boot-start-marker

boot-end-marker

!

no aaa new-model

memory-size iomem 5

!

ip cef

no ip domain lookup

!

interface Serial0/0

 ip address 12.1.1.2 255.255.255.252

 serial restart-delay 0

!         

interface Serial0/1

 ip address 23.1.1.1 255.255.255.252

 serial restart-delay 0

!

interface Serial0/2

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/3

 no ip address

 shutdown

 serial restart-delay 0

!

ip http server

no ip http secure-server

!

ip route 13.1.1.0 255.255.255.248 12.1.1.1

!

control-plane

!         

line con 0

 exec-timeout 0 0

 logging synchronous

line aux 0

line vty 0 4

!

End

R3:

R3#sh run

Building configuration...

Current configuration : 788 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname R3

!

boot-start-marker

boot-end-marker

!

no aaa new-model

memory-size iomem 5

!

ip cef

no ip domain lookup

!

interface Serial0/0

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/1

 ip address 23.1.1.2 255.255.255.252

 serial restart-delay 0

!

interface Serial0/2

 no ip address

 shutdown

 serial restart-delay 0

!

interface Serial0/3

 no ip address

 shutdown

 serial restart-delay 0

!

ip http server

no ip http secure-server

!

ip route 0.0.0.0 0.0.0.0 23.1.1.1

!       

control-plane

!

line con 0

 exec-timeout 0 0

 logging synchronous

line aux 0

line vty 0 4

!

end

测试:

 

本文出自 “cuter” 博客,谢绝转载!

你可能感兴趣的:(IP,职场,电信,分配,休闲)