Need help on pppd default route configuration
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm running pppd in a Ubuntu VM. When it's connected the ip route is like this
# ip route
default via 192.168.154.2 dev eth0 onlink
XX.XX.250.5 dev ppp0 proto kernel scope link src XX.XX.250.43
172.16.177.0/24 dev eth1 proto kernel scope link src 172.16.177.200
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.154.0/24 dev eth0 proto kernel scope link src 192.168.154.200
The eth0 is the default route out
# ip route get 8.8.8.8
8.8.8.8 via 192.168.154.2 dev eth0 src 192.168.154.200
cache
Now, I need to route everything through ppp0 (except for the remote PPP server), any ideas?
P.S I've tried the following and it just cut all internet connections,
route add default gw XX.XX.250.5
route
add a comment |Â
up vote
0
down vote
favorite
I'm running pppd in a Ubuntu VM. When it's connected the ip route is like this
# ip route
default via 192.168.154.2 dev eth0 onlink
XX.XX.250.5 dev ppp0 proto kernel scope link src XX.XX.250.43
172.16.177.0/24 dev eth1 proto kernel scope link src 172.16.177.200
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.154.0/24 dev eth0 proto kernel scope link src 192.168.154.200
The eth0 is the default route out
# ip route get 8.8.8.8
8.8.8.8 via 192.168.154.2 dev eth0 src 192.168.154.200
cache
Now, I need to route everything through ppp0 (except for the remote PPP server), any ideas?
P.S I've tried the following and it just cut all internet connections,
route add default gw XX.XX.250.5
route
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm running pppd in a Ubuntu VM. When it's connected the ip route is like this
# ip route
default via 192.168.154.2 dev eth0 onlink
XX.XX.250.5 dev ppp0 proto kernel scope link src XX.XX.250.43
172.16.177.0/24 dev eth1 proto kernel scope link src 172.16.177.200
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.154.0/24 dev eth0 proto kernel scope link src 192.168.154.200
The eth0 is the default route out
# ip route get 8.8.8.8
8.8.8.8 via 192.168.154.2 dev eth0 src 192.168.154.200
cache
Now, I need to route everything through ppp0 (except for the remote PPP server), any ideas?
P.S I've tried the following and it just cut all internet connections,
route add default gw XX.XX.250.5
route
I'm running pppd in a Ubuntu VM. When it's connected the ip route is like this
# ip route
default via 192.168.154.2 dev eth0 onlink
XX.XX.250.5 dev ppp0 proto kernel scope link src XX.XX.250.43
172.16.177.0/24 dev eth1 proto kernel scope link src 172.16.177.200
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.154.0/24 dev eth0 proto kernel scope link src 192.168.154.200
The eth0 is the default route out
# ip route get 8.8.8.8
8.8.8.8 via 192.168.154.2 dev eth0 src 192.168.154.200
cache
Now, I need to route everything through ppp0 (except for the remote PPP server), any ideas?
P.S I've tried the following and it just cut all internet connections,
route add default gw XX.XX.250.5
route
asked Jun 6 at 11:32
daisy
27.3k45157289
27.3k45157289
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
Problem resolved.
Simply instruct sstpc to save server route by adding the --save-server-route
parameter and let pppd replace the default route by enabling the replacedefaultroute
option.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
Problem resolved.
Simply instruct sstpc to save server route by adding the --save-server-route
parameter and let pppd replace the default route by enabling the replacedefaultroute
option.
add a comment |Â
up vote
0
down vote
accepted
Problem resolved.
Simply instruct sstpc to save server route by adding the --save-server-route
parameter and let pppd replace the default route by enabling the replacedefaultroute
option.
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
Problem resolved.
Simply instruct sstpc to save server route by adding the --save-server-route
parameter and let pppd replace the default route by enabling the replacedefaultroute
option.
Problem resolved.
Simply instruct sstpc to save server route by adding the --save-server-route
parameter and let pppd replace the default route by enabling the replacedefaultroute
option.
answered Jun 20 at 7:15
daisy
27.3k45157289
27.3k45157289
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f448169%2fneed-help-on-pppd-default-route-configuration%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password