天天看点

电信IP分配问题

电信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

interface Serial0/2

interface Serial0/3

interface Ethernet1/0

 ip address 192.168.0.1 255.255.255.0

 ip nat inside

 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

Current configuration : 766 bytes

hostname R2

 ip address 12.1.1.2 255.255.255.252

 ip address 23.1.1.1 255.255.255.252

ip route 13.1.1.0 255.255.255.248 12.1.1.1

End

R3:

R3#sh run

Current configuration : 788 bytes

hostname R3

 ip address 23.1.1.2 255.255.255.252

ip route 0.0.0.0 0.0.0.0 23.1.1.1

!       

下一篇: PPPOE

继续阅读