FIbre Support

Get expert support with your Fibre connection.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PPPoE Client Not Connecting - IPCP terminated by peer

BrackenD1
First Timer
Message 4 of 4

Hi, I'm trying to use my own modem & router and I'm having trouble getting PPPoE connected for more than half a second.

My setup:

  • Openreach HG612 Modem
  • HP Microserver N36L running VyOS 1.3
  • VyOS config (phone number redacted): 

 

 

firewall {
    name WAN-IN {
        default-action drop
        rule 10 {
            action accept
            state {
                established enable
                related enable
            }
        }
    }
    name WAN-LOCAL {
        default-action drop
        rule 10 {
            action accept
            state {
                established enable
                related enable
            }
        }
        rule 20 {
            action accept
            icmp {
                type-name echo-request
            }
            protocol icmp
            state {
                new enable
            }
        }
        rule 30 {
            action drop
            destination {
                port 22
            }
            protocol tcp
            recent {
                count 4
                time 60
            }
            state {
                new enable
            }
        }
        rule 31 {
            action accept
            destination {
                port 22
            }
            protocol tcp
            state {
                new enable
            }
        }
    }
}
interfaces {
    ethernet eth0 {
        hw-id d4:85:64:c8:c6:bb
    }
    ethernet eth1 {
        hw-id e4:1f:13:f9:4b:c5
    }
    ethernet eth2 {
        hw-id e4:1f:13:f9:4b:c4
    }
    ethernet eth3 {
        hw-id e4:1f:13:f9:4b:c7
    }
    ethernet eth4 {
        address 192.168.0.1/24
        description LAN
        hw-id e4:1f:13:f9:4b:c6
    }
    loopback lo {
    }
    pppoe pppoe0 {
        authentication {
            user 01962******@talktalk.net
        }
        default-route auto
        firewall {
            in {
                name WAN-IN
            }
            local {
                name WAN-LOCAL
            }
        }
        mtu 1432
        source-interface eth0
    }
}
nat {
    source {
        rule 100 {
            outbound-interface eth0
            source {
                address 192.168.0.0/24
            }
            translation {
                address masquerade
            }
        }
    }
}
service {
    dhcp-server {
        shared-network-name LAN {
            authoritative
            subnet 192.168.0.0/24 {
                default-router 192.168.0.1
                dns-server 1.1.1.1
                dns-server 1.0.0.1
                lease 86400
                range 0 {
                    start 192.168.0.100
                    stop 192.168.0.254
                }
            }
        }
    }
    ssh {
        port 22
    }
}
system { ...​

 

 

 

The pppd logs are a loop of this:

 

 

Dec 5 21:20:18 vyos pppd[10611]: PPP session is 109
Dec 5 21:20:18 vyos pppd[10611]: Connected to 2a:8a:1c:ed:23:92 via interface eth0
Dec 5 21:20:18 vyos pppd[10611]: Renamed interface ppp0 to pppoe0
Dec 5 21:20:18 vyos pppd[10611]: Using interface pppoe0
Dec 5 21:20:18 vyos pppd[10611]: Connect: pppoe0 <--> eth0
Dec 5 21:20:18 vyos pppd[10611]: CHAP authentication succeeded
Dec 5 21:20:18 vyos pppd[10611]: CHAP authentication succeeded
Dec 5 21:20:18 vyos pppd[10611]: peer from calling number 2A:8A:1C:ED:23:92 authorized
Dec 5 21:20:18 vyos pppd[10611]: executing /etc/ppp/ip-pre-up.d/1000-vyos-pppoe-pppoe0
Dec 5 21:20:18 vyos pppd[10611]: local IP address 92.25.19.225
Dec 5 21:20:18 vyos pppd[10611]: remote IP address 92.25.0.1
Dec 5 21:20:18 vyos pppd[10611]: primary DNS address 79.79.79.77
Dec 5 21:20:18 vyos pppd[10611]: secondary DNS address 79.79.79.78
Dec 5 21:20:18 vyos pppd[10611]: IPCP terminated by peer
Dec 5 21:20:18 vyos pppd[10611]: Connect time 0.0 minutes.
Dec 5 21:20:18 vyos pppd[10611]: Sent 152 bytes, received 4 bytes.
Dec 5 21:20:18 vyos pppd[10611]: Modem hangup
Dec 5 21:20:18 vyos pppd[10611]: Connection terminated.
Dec 5 21:20:18 vyos pppd[10611]: Sent PADT
Dec 5 21:20:18 vyos pppd[]: executing /etc/ppp/ip-up.d/1000-vyos-pppoe-pppoe0
Dec 5 21:20:19 vyos pppd[]: added default route via pppoe0 
Dec 5 21:20:20 vyos pppd[]: executing /etc/ppp/ip-down.d/1000-vyos-pppoe-pppoe0

 

 

It looks like it comes up and gets an IP for about half a second and then I think TalkTalk hangs up?

My provided HG633 router works fine but I want to use NAT loopback which it doesn't support.

Things I have tried:

  • Installed pfsense on the same hardware. Same behaviour, connects, gets an IP address, disconnects within 1 second.
  • Used my MacBook as the PPPoE client connected to the openreach modem. Same behaviour.
  • Swapped the openreach modem for my HG633 in bridge mode. Same behaviour.
  • Took the leading zero off my username. Same behaviour.
  • Set the password to "" (empty string). Same behaviour. 
  • Set no user or password and set the MTU to 1500. Same behaviour.

Any advice on how to go about debugging this would be greatly appreciated.
Thanks,
Bracken.

0 Likes
3 REPLIES 3

Message 1 of 4
Glad to hear it's now working.

Message 2 of 4

Thank you Birchcroft, you are quite right. It appears I tried everything except simply plugging it in, working now.

Birchcroft
Philosopher
Message 3 of 4

@BrackenD1 I'll say up front I have not fully read your post, but if you are trying to connect to TalkTalk's fibre broadband, as implied but the location of your post, then you are trying to connect with the wrong protocol.  Their fibre broadband uses MPoA rather than PPPoE.  You can find a guide to setting 3rd party routers here.

 

Hope this helps

0 Likes