06-22-2021 03:28 AM - edited 06-22-2021 03:30 AM
Hi,
Im setting an ISR4K (4331) with IOS XE Fuji for voice functionality connected to a providers on-premise router for SIP trunking and voice functionality.
The specs datasheet from the provider states that for the voice functionality to work over their SIP cloud, our ISR needs to get or learn dinamically the providers DNS server IP address vía PPPoE.
Also, provider doesn´t give any network addressing for our CUBE in order to connect to their equipment onsite, so I suspect our ISR needs to have its WAN interface facing provider´s equipment to automatically retrieve its network addressing and static route to providers network...
I have set up an Gi interface in the voice gw for the connection to providers router, but I don't know how to enable PPPoE and make the router get the DNS server address, IP addressing and static route directly vía providers connection/interface, as Im a voice engineer not familiar at all with similar setups.
I did not find much documentation on this but I wrote a short config snippet based on what I´ve seen on these forums, if anybody could verify it or give a hint on this id appreciate.
!
interface GigabitEthernet0/0/1
description SIP ISP
no ip address
no cdp enable
negotiation auto
pppoe enable group global --> this would enable PPPoE on WAN interface
pppoe-client dial-pool-number 1 --> this is for Dialer 1 config if I understood well
!
!
interface Dialer1
ip address negotiated --> this would get an IP from providers DHCP?
ip mtu 1492 --> not sure on the purpose of this line or if it will be necessary
encapsulation ppp
dialer pool 1
dialer-group 1
ppp ipcp dns request --> this would request provider´s DNS ip address vía Gi0/0/1 ??
ppp ipcp route default --> this would request static route to providers network vía Gi0/0/1 ??
!
Thanks in advance!
Solved! Go to Solution.
06-22-2021 03:46 AM
Hello,
You got it almost correct. This is my suggestion:
interface GigabitEthernet0/0/1 description SIP ISP no ip address no cdp enable negotiation auto pppoe-client dial-pool-number 1 no shutdown ! interface Dialer1 encapsulation ppp ip address negotiated ip mtu 1492 ip tcp adjust-mss 1452 dialer pool 1 ppp ipcp dns request ppp ipcp route default no shutdown
To comment on individual commands:
You may need additional configuration - for example, for PAP or CHAP authentication (depending on what the provider is using), for NAT, but this configuration here is a good start, I'd say.
Please feel welcome to ask further!
Best regards,
Peter
06-22-2021 07:14 AM
Hello,
For troubleshooting the PPPoE session, the suggested commands are awesome. I'd complete the set with:
debug ppp negotiation debug pppoe packets show ppp all show pppoe session show pppoe session all show interface dialer1 show ip name-servers show ip route
Should there be any issue with setting this up and getting this running, please feel free to tag me in the new thread if you open it. I'd love to have a look - PPP et al. are close to my heart (I guess that's because we share the initials ; ) ).
Best regards,
Peter
06-22-2021 03:46 AM
Hello,
You got it almost correct. This is my suggestion:
interface GigabitEthernet0/0/1 description SIP ISP no ip address no cdp enable negotiation auto pppoe-client dial-pool-number 1 no shutdown ! interface Dialer1 encapsulation ppp ip address negotiated ip mtu 1492 ip tcp adjust-mss 1452 dialer pool 1 ppp ipcp dns request ppp ipcp route default no shutdown
To comment on individual commands:
You may need additional configuration - for example, for PAP or CHAP authentication (depending on what the provider is using), for NAT, but this configuration here is a good start, I'd say.
Please feel welcome to ask further!
Best regards,
Peter
06-22-2021 05:11 AM
WOW Peter thank you very much for your super fast reply.
Ok - I´ll keep your suggested setup as a template. I hope it would not need much change on the final config as Im not used at all with this technology....
so basically ip mtu 1492 and ip tcp adjust-mss 1452 need to be present in any PPPoE setup if I understood correctly?
Provider did specify username and password but just for specific SIP trunk authentication and registration towards their domain. They didn´t specify any other credentials like PAP/CHAP or anything PPPoE related, is this mandatory info in this setup or can PPPoE work without authentication needed?
thank you !!
06-22-2021 06:11 AM
Hello,
WOW Peter thank you very much for your super fast reply.
Nah, I just happened to walk by at the right time : )
so basically ip mtu 1492 and ip tcp adjust-mss 1452 need to be present in any PPPoE setup if I understood correctly?
Correct. Without them, some large IP packets would need to be fragmented before being forwarded across the PPPoE session. This both decreases the performance, but can also lead to some nasty packet losses with some firewalls that don't like handling packet fragments. Not nice to troubleshoot - so better to avoid right away.
can PPPoE work without authentication needed?
Absolutely. The authentication is technically optional. It is up to the provider whether they require it.
Feel welcome to ask further!
Best regards,
Peter
06-22-2021 06:57 AM
thank you, I guess all makes sense now.
My last question would be what PPPoE related commands should I take into account in case any troubleshooting is needed from my side.
I noted a couple of them although Im not sure if I will be able to interpret them properly and make a diagnose, however if any additional help is needed I´ll open a new different thread.
debug ppp negotiation
show pppoe session
I´ll soon mark this thread as resolved. You help is super appreciated, Peter !!
06-22-2021 07:14 AM
Hello,
For troubleshooting the PPPoE session, the suggested commands are awesome. I'd complete the set with:
debug ppp negotiation debug pppoe packets show ppp all show pppoe session show pppoe session all show interface dialer1 show ip name-servers show ip route
Should there be any issue with setting this up and getting this running, please feel free to tag me in the new thread if you open it. I'd love to have a look - PPP et al. are close to my heart (I guess that's because we share the initials ; ) ).
Best regards,
Peter
06-22-2021 07:26 AM
thanks for such valuable info !! Sure, will tag you then if any issue arises when working with the ISP. The installation is planned by next week
again, many thanks for your help and time.
06-22-2021 08:08 AM
Hello,
You are very, very welcome. Thank you!
Best regards,
Peter
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: