VYOS(1.5 vyos-nightly-build) has one interface connected to the Internet and another connected to the internal network, with the internal network accessing through PPPoE. A PPPoE session has been established, but the PPPoE client cannot ping the external network. The packet transmission statistics on the PPP interface of the device have not changed. After attempting to configure a loopback interface on the same network segment on the device, the PPPoE client can ping successfully. Is this a bug in the system?
Did you setup default routing?
Without any configuration at all this is very hard/impossible to help you with.
The configuration and other information are as follows:
ibng@ibng:~$ show configuration
interfaces {
ethernet eth0 {
address 100.100.100.200/24
description MGN
hw-id 60:be:b4:09:8a:6f
offload {
gro
gso
sg
tso
}
}
ethernet eth1 {
address 20.20.20.10/24
description Radius
hw-id 60:be:b4:09:8a:70
offload {
gro
gso
sg
tso
}
}
ethernet eth2 {
description PPPoE&IPoE
hw-id 60:be:b4:09:8a:71
offload {
gro
gso
sg
tso
}
}
ethernet eth3 {
address dhcp
description WAN
hw-id 60:be:b4:09:8a:72
offload {
gro
gso
sg
tso
}
}
loopback lo {
address 11.11.11.11/24
}
}
service {
ntp {
allow-client {
address 127.0.0.0/8
address 169.254.0.0/16
address 10.0.0.0/8
address 172.16.0.0/12
address 192.168.0.0/16
address ::1/128
address fe80::/10
address fc00::/7
}
server ntp.aliyun.com {
}
}
pppoe-server {
authentication {
mode radius
radius {
server 20.20.20.20 {
key ****************
}
source-address 20.20.20.10
}
}
client-ip-pool pppoe_pool {
range 11.11.11.0/24
}
default-pool pppoe_pool
gateway-address 11.11.11.1
interface eth2 {
}
name-server 8.8.8.8
}
ssh {
port 22
}
}
system {
config-management {
commit-revisions 100
}
console {
device ttyS0 {
speed 115200
}
}
host-name ibng
login {
banner {
post-login “---------------Welcome to iBNG!---------------”
pre-login “---------------Welcome to iBNG!---------------”
}
user ibng {
authentication {
encrypted-password ****************
}
}
}
name-server eth3
syslog {
global {
facility all {
level info
}
facility local7 {
level debug
}
}
}
}
I have just sent out the configuration, which does not include a default route; it was auto-generated by the system.
Drop this as you ping VyOS itself but not external network. Devices behind eth3 do not know anything about 11.11.11.0/24 and you do not use SNAT
Thanks!Does SNAT need to be configured using VyOS commands? I remember in previous versions it was auto-generated.
SNAT was never generated by default for any VyOS version.
Configured SNAT, the issue has been resolved. Thank you very much!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.