- 积分
- 606
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 注册时间
- 2011-12-23
- 最后登录
- 1970-1-1
- 阅读权限
- 40
- 听众
- 收听
中级工程师
|
两台设备直连配置PPPOE 获取到了地址 但是ping不通。接口下直接配置地址就可以通。用的是WEB-iou
R26是服务器端
Cisco IOS Software, Linux Software (I86BI_LINUX-TPGEN+ADVENTERPRISEK9-M), Experimental Version 12.4
R27是客户端
Cisco IOS Software, Linux Software (I86BI_LINUX-ADVENTERPRISEK9-M), Version 15.2(2.15)T, ENGINEERING WEEKLY BUILD, synced to V151_4_M3_5
下面开始上配置
R26(config)#do show run
Building configuration...
Current configuration : 2942 bytes
!
! Last configuration change at 16:13:27 CET Wed Oct 9 2013
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R26
!
boot-start-marker
boot-end-marker
!
security passwords min-length 1
no logging console
enable secret 5 $1$kzu8$2rJNAqei3FAPbh7eSnOXC0
!
no aaa new-model
clock timezone CET 1
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip source-route
!
!
!
!
ip cef
ip multicast-routing
ipv6 unicast-routing
no ipv6 traffic interface-statistics
ipv6 cef
!
multilink bundle-name authenticated
vpdn enable
!
!
!
!
!
!
!
!
!
username cc1eR26 password 0 cisco
!
redundancy
!
!
!
!
!
!
!
!
bba-group pppoe global
virtual-template 1
!
!
interface Loopback0
ip address 100.26.26.26 255.255.255.255
ipv6 address 2001:CC1E:ABCD:26:26:26:26:26/128
!
interface Ethernet0/0
ip address 192.168.20.1 255.255.255.252
ip nat inside
ip virtual-reassembly
pppoe enable group global
!
!
interface Virtual-Template1
mtu 1492
ip unnumbered Ethernet0/0
ip tcp adjust-mss 1452
peer default ip address pool POOL
ppp authentication chap
!
router ospf 3
router-id 100.26.26.26
log-adjacency-changes
area 0 authentication message-digest
network 100.26.26.26 0.0.0.0 area 0
!
router rip
version 2
network 192.168.20.0
default-information originate
no auto-summary
!
ip local pool POOL 192.168.20.2
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
ip nat inside source list 100 interface Loopback0 overload
ip nat inside source static 192.168.20.2 interface Loopback0
!
access-list 100 permit ip host 100.26.26.26 any
ipv6 router ospf 1
log-adjacency-changes
!
------------------------------------------------------------------------------------------------------------------------------------------------------
R27(config)#do show run
Building configuration...
Current configuration : 1519 bytes
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R27
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$8M3s$6zjgcKopn1UgiqUmisB5/1
!
no aaa new-model
!
clock timezone CET 1 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip auth-proxy max-login-attempts 5
ip admission max-login-attempts 5
!
!
!
!
!
ip cef
no ipv6 traffic interface-statistics
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 100.27.27.27 255.255.255.255
!
interface Ethernet0/0
no ip address
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface Dialer1
mtu 1492
ip address negotiated
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
dialer idle-timeout 0
dialer persistent
ppp chap hostname cc1eR26
ppp chap password 0 cisco
!
router rip
version 2
network 100.0.0.0
network 192.168.20.0
no auto-summary
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
login
line aux 0
exec-timeout 0 0
password cisco
logging synchronous
login
line vty 0 4
exec-timeout 0 0
password cisco
logging synchronous
login
transport input telnet
!
!
end
-----------------------------------------------------------------------------------------------------------------------------------------
do show ip int br
R26(config)#do show ip int br
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 192.168.20.1 YES TFTP up up
Ethernet0/1 unassigned YES TFTP administratively down down
Ethernet0/2 unassigned YES TFTP administratively down down
Ethernet0/3 unassigned YES TFTP administratively down down
Serial1/0 unassigned YES TFTP up up
Serial1/1 unassigned YES TFTP up up
Serial1/2 unassigned YES TFTP administratively down down
Serial1/3 unassigned YES TFTP administratively down down
NVI0 100.26.26.26 YES unset up up
Multilink1 100.26.26.26 YES TFTP up up
Virtual-Access1 unassigned YES unset down down
Virtual-Template1 192.168.20.1 YES unset down down
Virtual-Access2 unassigned YES unset up up
Virtual-Access2.1 192.168.20.1 YES unset up up
Loopback0 100.26.26.26 YES TFTP up up
Loopback10 unassigned YES TFTP up up
--------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
R27(config)# do show ip int br
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 unassigned YES TFTP up up
Ethernet0/1 unassigned YES TFTP administratively down down
Ethernet0/2 unassigned YES TFTP administratively down down
Ethernet0/3 unassigned YES TFTP administratively down down
Dialer1 192.168.20.2 YES IPCP up up
Loopback0 100.27.27.27 YES TFTP up up
Virtual-Access1 unassigned YES unset up up
Virtual-Access2 unassigned YES unset up up
PPPOE获取到了地址但是就是不通
|
|