cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1930
Views
0
Helpful
4
Replies

construction a PPPoE server for test

tomo456
Level 1
Level 1

I plan to construct 2 routers which connect with IPsec(Internet-VPN).
Therefore, I would like to construct a PPPoE server with [Cisco router] and confirm that [Router A] and [Router B] are configured correctly.

 

Network topology like this.
[Router A]-[Cisco router]-[Router B]


Could you create "running-config" ?

 

●Router A
LAN IP: 192.168.0.1/24
WAN IP: 1.1.1.1

 

●Router B
LAN IP: 192.168.1.1/24
WAN IP: 2.2.2.2

 

●both routers
Pre-shared key: test
encryption : aes-cbc
Authentication : sha-hmac
Protocols to allow on both routers: 5000 / tcp, 6000 / tcp

4 Replies 4

Hello,

 

it is unclear what you are asking: do you need a site to site VPN between Router A and Router B ? A PPPoE server would be something different...

In a test environment, I want to make the PPPoE server have the role of INTERNET and verify the setting of 2 routers.

 

・production environment

[Router A]-[INTERNET]-[Router B]

 

・test environment

[Router A]-[Cisco router]-[Router B]

Hello,

 

 

here is a generic sample config:

 

Server (Internet)

 

username admin password cisco
!
bba-group pppoe global
virtual-template 1
!
interface GigabitEthernet0/0
ip address 10.10.10.1 255.255.255.0
load-interval 30
duplex auto
speed auto
pppoe enable group global
!
interface Virtual-Template1
mtu 1492
ip unnumbered GigabitEthernet0/0
peer default ip address pool PPPoE_POOL
ppp authentication pap chap
!
ip local pool PPPoE_POOL 192.168.1.1 192.168.1.200

 

Clients (Router A and Router B)

 

interface GigabitEthernet0/0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
ip virtual-reassembly
ip tcp adjust-mss 1452
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
!
interface Dialer1
ip address negotiated
encapsulation ppp
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication pap chap callin
ppp pap sent-username admin password cisco
ppp chap hostname admin
ppp chap password cisco
!
ip route 0.0.0.0 0.0.0.0 Dialer1

 

janebutt1337
Level 1
Level 1

On [Cisco Router]:

  • Configure interface: interface <interface_name>, ip address <ip_address> <subnet_mask>
  • Enable PPPoE server: vpdn enable, vpdn-group 1, request-dialin, protocol pppoe
  • Create virtual template: interface Virtual-Template1, ip unnumbered <interface_name>, ppp authentication pap chap, ppp ipcp dns request

On [Router A]:

  • Configure interface: interface <interface_name>, ip address <ip_address> <subnet_mask>
  • Configure PPPoE client: interface Dialer1, ip address negotiated, ip mtu 1492, ip nat outside, encapsulation ppp, dialer pool 1, dialer-group 1, ppp authentication pap callin, ppp pap sent-username <username> password <password>

On [Router B]:

  • Configure interface: interface <interface_name>, ip address <ip_address> <subnet_mask>
  • Configure PPPoE client: interface Dialer1, ip address negotiated, ip mtu 1492, ip nat outside, encapsulation ppp, dialer pool 1, dialer-group 1, ppp authentication pap callin, ppp pap sent-username <username> password <password>

Note: Adapt the configuration to your specific network setup and Ciso router model. CEO of Budgeting Enterprise

 

Review Cisco Networking for a $25 gift card