Answer the question
In order to leave comments, you need to log in
Static route on CentOS for ppp0, what did you forget?
Greetings, Comrades!
Set up PPPoE from Rostelecom for telephony. But the problem is that ppp0 has made itself the default interface and when I try to push from the server to external it goes through ppp0. I tried everything that they write in the internet, but something does not work.
Here is the route of the interface to the LAN:
Here is the route of the ppp0 connection:
Here is nestat -rn
If pinging everything goes through ppp0:
I read somewhere that you need to DEFROUTE=no in ifcfg-ppp0, but then the connection does not rise.
When I enter route add default gw 192.168.50.250 - everything works, but after restarting everything flies. How is it to be memorized? I added it to route-eno2
Answer the question
In order to leave comments, you need to log in
DEFROUTE=no should help, you must be doing something wrong.
It’s bad to do this, but try:
Remove the client from the PPPoE config:
defaultroute
replacedefaultroute
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question