pppoe with vyatta and external modem

Posted on 2011-03-08
Medium Priority
Last Modified: 2012-05-11
I have Vyatta 6.1 running. I have an ethernet cable connected from my Vyatta to my external modem.

I have successfully managed to log in and get assigned my local and remote IP from my ISP. However I still do not seem to have any internet connectivity. I can not ping from my vyatta box to the outside world

Below is my configuration

interfaces {
    ethernet eth0 {
        duplex auto
        hw-id bc:30:5b:cf:96:84
        pppoe 0 {
            default-route auto
            mtu 1492
            name-server auto
            password ****************
            user-id email@hq43.btclick.com
        smp_affinity auto
        speed auto
    ethernet eth1 {
        duplex auto
        hw-id bc:30:5b:cf:96:85
        smp_affinity auto
        speed auto
    ethernet eth2 {
        duplex auto
        hw-id 00:10:18:94:42:48
        smp_affinity auto
        speed auto
    ethernet eth3 {
        duplex auto
        hw-id 00:10:18:94:42:4a
        smp_affinity auto
        speed auto
    loopback lo {
service {
    nat {
        rule 2 {
            outbound-interface pppoe0
            source {
            type masquerade
    ssh {
        port 7711
        protocol-version v2
system {
    host-name vyatta
    login {
        user vyatta {
            authentication {
                encrypted-password ****************
            level admin
    ntp-server 0.vyatta.pool.ntp.org
    package {
        auto-sync 1
        repository community {
            components main
            distribution stable
            password ****************
            url http://packages.vyatta.com/vyatta
            username ""
    syslog {
        global {
            facility all {
                level notice
            facility protocols {
                level debug
    time-zone GMT

My routing table

vyatta@vyatta:~$ show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
       I - ISIS, B - BGP, > - selected route, * - FIB route

K>* is directly connected, pppoe0
C>* is directly connected, pppoe0
C>* is directly connected, lo
C>* is directly connected, eth1
C>* is directly connected, eth0

Here is my ppoe details

vyatta@vyatta:~$ show interfaces pppoe pppoe0
pppoe0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state UNKNOWN qlen 100
    inet peer scope global pppoe0

    RX:  bytes    packets     errors    dropped    overrun      mcast
            64          4          0          0          0          0
    TX:  bytes    packets     errors    dropped    carrier collisions
         17925        258          0          0          0          0


I need to get this setup quick so employees can move into their new office. So any help is appreciated.

Question by:saiyen_2002
  • 4
  • 2
LVL 35

Expert Comment

by:Duncan Roe
ID: 35081261
I am not familiar with the show command.
What is the output from ip route list?
Also why does show ip route claim eth0 is connected to network but the devices listing does not give it an address?
What is this "show" command anyway?

Author Comment

ID: 35081667
Duncan, show is the command used from vyatta interface to show configurations.

Re the eth0 showing, that is my mistake in copying and pasting.

ip route list gives me

vyatta@vyatta:~$ ip route list
default dev pppoe0  scope link dev pppoe0  proto kernel  scope link  src dev lo  proto kernel  scope link  src dev eth1  proto kernel  scope link  src dev eth0  proto kernel  scope link  src

Open in new window

The address is DHCP from the ISP so it is different from above.

This is my /etc/ppp/peers/ppoe0

# Configuration file for PPP, using PPP over Ethernet (PPPOE)
# to connect to a DSL provider.
# This configuration file is automatically generated by the Vyatta
# configuration templates.  Please do not manually edit it.

# Default parameters not set by Vyatta templates:
# Require peer to provide the local IP address if it is not
# specified explicitly in the config file.

# Don't show the password in logfiles:

# Standard Link Control Protocol (LCP) parameters:
lcp-echo-interval 20
lcp-echo-failure 3

# RFC 2516, paragraph 7 mandates that the following options MUST NOT be
# requested and MUST be rejected if requested by the peer:
# Address-and-Control-Field-Compression (ACFC)

# Asynchronous-Control-Character-Map (ACCM)

# Override any connect script that may have been set in /etc/ppp/options.
connect /bin/true

# Don't try to authenticate the remote node

# Don't try to proxy ARP for the remote endpoint. User can set proxy
# arp entries up manually if they wish.  More importantly, having
# the "proxyarp" parameter set disables the "defaultroute" option.

# Parameters set or changed by the Vyatta templates go here:

pty "/usr/sbin/pppoe -m 1412 -I eth0"
ipparam pppoe0
logfile /var/log/vyatta/ppp_pppoe0.log
mtu 1492
mru 1492
password "mypassword"
user "email@hg43.btclick.com"

Open in new window


Author Comment

ID: 35081692
Here is also the output of my logfile /var/log/vyatta/ppp_pppoe0.log

Wed Mar  9 10:38:31 GMT 2011: Starting PPP daemon for pppoe0
Serial connection established.
using channel 64
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x655a8641> <pcomp>]
rcvd [LCP ConfReq id=0x2a <mru 1492> <auth chap MD5> <magic 0x722fcacf>]
lcp_reqci: returning CONFACK.
sent [LCP ConfAck id=0x2a <mru 1492> <auth chap MD5> <magic 0x722fcacf>]
rcvd [LCP ConfRej id=0x1 <pcomp>]
sent [LCP ConfReq id=0x2 <mru 1492> <magic 0x655a8641>]
rcvd [LCP ConfAck id=0x2 <mru 1492> <magic 0x655a8641>]
sent [LCP EchoReq id=0x0 magic=0x655a8641]
rcvd [CHAP Challenge id=0x1 <5f9bc561a84ea0fa94124157ccba8def>, name = "bras-red5.l-ste"]
sent [CHAP Response id=0x1 <0cae32034072665eb1cf4578b4b973cd>, name = "c711241@hg43.btclick.com"]
rcvd [LCP EchoRep id=0x0 magic=0x722fcacf]
rcvd [LCP ConfReq id=0x2 <auth chap MD5> <magic 0x5f03c891>]
sent [LCP ConfReq id=0x3 <mru 1492> <magic 0xe60babd5> <pcomp>]
lcp_reqci: returning CONFACK.
sent [LCP ConfAck id=0x2 <auth chap MD5> <magic 0x5f03c891>]
rcvd [LCP ConfAck id=0x3 <mru 1492> <magic 0xe60babd5> <pcomp>]
sent [LCP EchoReq id=0x0 magic=0xe60babd5]
rcvd [CHAP Challenge id=0x2 <8647e7653c1b073eabf67a6d73efd960>, name = "R21CBIRLNS03"]
sent [CHAP Response id=0x2 <0842b0f5dc63c17b68a1be5b64ee8719>, name = "c711241@hg43.btclick.com"]
rcvd [CHAP Success id=0x2 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr> <ms-dns1> <ms-dns3>]
rcvd [IPCP ConfReq id=0x1 <addr>]
ipcp: returning Configure-ACK
sent [IPCP ConfAck id=0x1 <addr>]
rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 11 1a 04 78 00 18 04 78 00 15 03 2f]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr> <ms-dns1> <ms-dns3>]
rcvd [IPCP ConfNak id=0x2 <addr> <ms-dns1> <ms-dns3>]
sent [IPCP ConfReq id=0x3 <addr> <ms-dns1> <ms-dns3>]
rcvd [IPCP ConfAck id=0x3 <addr> <ms-dns1> <ms-dns3>]
ipcp: up
Script /etc/ppp/ip-pre-up started (pid 3561)
Script /etc/ppp/ip-pre-up finished (pid 3561), status = 0x0
local  IP address
remote IP address
primary   DNS address
secondary DNS address
Script /etc/ppp/ip-up started (pid 3582)
Script /etc/ppp/ip-up finished (pid 3582), status = 0x0

Open in new window

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

LVL 35

Expert Comment

by:Duncan Roe
ID: 35087821
Can you ping either DNS?
e.g. ping -c1 or ping -c1

Accepted Solution

saiyen_2002 earned 0 total points
ID: 35088188
Ok, I have figured it out. It was a problem with my Neatgear modem. I had to change my multiplexing method from VC to LLC.

A bit weird, when I had the Netgear in modem+router mode it worked fine in VC mode.

Author Closing Comment

ID: 35126393
I figured it out at the end

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This program is used to assist in finding and resolving common problems with wireless connections.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question