How to configure cisco PPPoE server, PPPoE client and dhcp server configuration
HTML-код
- Опубликовано: 1 окт 2024
- #PPOE #Providenttechnology #how_to_
PPPOE SERVER CONFIGURE
=========================================
username cisco password 0 cisco
!
bba-group pppoe test
virtual-template 1
!
!
interface GigabitEthernet0/0
ip address 10.10.0.157 255.255.255.0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
media-type rj45
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
media-type rj45
pppoe enable group test
!
interface Virtual-Template1
mtu 1492
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
peer default ip address pool pool1
ppp authentication chap
ppp ipcp dns 8.8.8.8 8.8.4.4
!
ip local pool pool1 192.168.10.2 192.168.10.254
!
ip nat inside source list 10 interface GigabitEthernet0/0 overload
ip route 0.0.0.0 0.0.0.0 10.10.0.1
!
access-list 10 permit 192.168.10.0 0.0.0.255
!
PPPOE CLIENT
================================================
ip dhcp excluded-address 172.16.0.2 172.16.0.100
!
ip dhcp pool abc
network 172.16.0.0 255.255.255.0
default-router 172.16.0.1
dns-server 8.8.8.8
lease 100
!
!
interface GigabitEthernet0/0
ip address 172.16.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
media-type rj45
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
media-type rj45
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
ppp chap hostname cisco
ppp chap password 0 cisco
!
ip nat inside source list 15 interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 192.168.10.1
!
!
access-list 15 permit any
!