12-07-2017 03:52 PM - edited 03-05-2019 09:36 AM
Hi,
I'm trying to simulate a PPPoE Server-SOHO Clients network in my lab and I can't make it to work. I'm not sure if I am missing something, so I badly need your help.
Here's the setup:
Cisco 2600 router is to be configured as PPPoE Server. One ethernet port of the router is connected to the Internet source, while the second ethernet port is connected to a Cisco switch that is also connected to 2 Windows computers (that will be used as PPPoE clients).
My problems:
1. PPPoE clients are not getting the correct subnet mask; instead of /24, clients are getting /32.
2. Clients do not have (or not receiving) default gateway. The only info they get from the DHCP server are: IP address, subnet mask (which is incorrect), and DNS server.
Below is the router config:
!
hostname PPPoE_Server
!
!
ip dhcp excluded-address 192.168.10.1 192.168.10.5
!
!
ip dhcp pool PPPoE_Clients
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 8.8.8.8
!
!
username MOMO password 123456789
!
!
bba-group pppoe PPPoE_LAB
virtual-template 1
!
!
interface FastEthernet0/0
description INTERNET_SOURCE
ip address 172.16.255.254 255.255.255.0
ip nat outside
duplex auto
speed auto
!
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
!
interface FastEthernet0/1.30
description SIMULATION_PPPoE
encapsulation dot1Q 30
ip nat inside
ip virtual-reassembly
pppoe enable group PPPoE_LAB
!
!
interface Virtual-Template1
ip address 192.168.10.1 255.255.255.0
peer default ip address dhcp-pool PPPoE_Clients
ppp authentication chap callin
!
Will really appreciate it if you can help me.
Solved! Go to Solution.
12-07-2017 05:17 PM
Hi Francesco,
Indeed, it would need to be a very specific setup; I have not come across it myself yet. By the way, on point-to-point links including PPPoE sessions, OSPF should ignore the netmask - that is by design (RFC 2328 Section 8.2).
Best regards,
Peter
12-07-2017 05:21 PM
12-07-2017 06:09 PM
Hi Francesco,
What I'm trying to accomplish here is to simulate the connection between regular home routers with DSL ISP, where, using PPPoE protocol, we can connect our home routers to the DSL modems and be able to get WIFI Internet.
So the assumption is we cannot do anything on the home router, except setting up the PPPoE username and password.
Thank you.
12-07-2017 06:15 PM
12-07-2017 07:41 PM
Actually, i am not very particular about the subnet mask. I was just thinking that PPPoE client should get the same info set on the DHCP server. Anyway, will it work even if the clients are not getting default gateway info?
Also, my assumption is based on the fact that really you cannot do much configuration on a home routers like Linksys or Netgear.
12-07-2017 07:44 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide