• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3902
  • Last Modified:

pppoe with vyatta and external modem

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.

  • 4
  • 2
1 Solution
Duncan RoeSoftware DeveloperCommented:
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?
saiyen_2002Author Commented:
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

saiyen_2002Author Commented:
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

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Duncan RoeSoftware DeveloperCommented:
Can you ping either DNS?
e.g. ping -c1 or ping -c1
saiyen_2002Author Commented:
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.
saiyen_2002Author Commented:
I figured it out at the end
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now