HI
Sorry i can speak English very well so let screenshot tell the story
Router 1
Router>
Router>en
Router#show run
Building configuration...
Current configuration : 1259 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
username a password 0 a
!
!
license udi pid CISCO2811/K9 sn FTX1017K0LR-
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
bba-group pppoe ISP
virtual-template 1
!
interface Loopback0
ip address 10.0.10.1 255.255.255.0
!
interface Loopback1
no ip address
shutdown
!
interface Virtual-Template1
peer default ip address pool ISP
ppp authentication chap
ip unnumbered FastEthernet0/1
encapsulation ppp
ppp authentication chap
!
interface FastEthernet0/0
ip address 20.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.0.0.1 255.255.255.0
pppoe enable group ISP
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 10.0.0.0 0.0.0.255 area 0
network 20.0.0.0 0.0.0.255 area 0
network 10.0.10.0 0.0.0.255 area 0
!
ip local pool ISP 10.0.10.100 10.0.10.200
ip classless
ip route 10.0.0.0 255.255.255.0 10.0.10.0
ip route 10.0.0.0 255.255.255.0 10.0.0.0
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end