Could not disable DEFROUTE in ppp connection in CentOS-6.8

Issues related to configuring your network
Post Reply
sekar
Posts: 4
Joined: 2013/04/26 06:37:26

Could not disable DEFROUTE in ppp connection in CentOS-6.8

Post by sekar » 2016/09/09 07:04:32

Hello All,

I have disabled DEFROUTE=no in my PPP configuration file. But when I bring up the ppp interface it will automatically add default route with ppp interface. I need to disable this auto defroute. Please check if there is anything missing. Note : NetworkManager already stopped.

USERCTL=yes
BOOTPROTO=dialup
NAME=DSLppp0
DEVICE=ppp0
TYPE=xDSL
ONBOOT=no
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=0
LCP_FAILURE=0
LCP_INTERVAL=0
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
SYNCHRONOUS=no
DEFROUTE=no
ETH=eth1
PROVIDER=DSLppp0
USER="xxxx@xxx.xx"
PEERDNS=no
DEMAND=no

route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
xx.xx.xx.xx 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
xx.xx.xx.xx 0.0.0.0 255.255.255.252 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth1
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0

sekar
Posts: 4
Joined: 2013/04/26 06:37:26

Re: Could not disable DEFROUTE in ppp connection in CentOS-6.8

Post by sekar » 2016/09/13 09:26:41

I dig more on this today and found the parameter changed from DEFROUTE to DEFAULTROUTE in CentOS-6.8 . Now it is working as expected and we can mark this thread as Solved.

Thanks

Post Reply