You are not logged in.

#1 2014-07-08 07:57:51

dxcqcv
Member
Registered: 2014-05-04
Posts: 38

[solved]cannot route ppp0

my arch auto linked to internet by network@enp3s0

my /etc/conf.d/network@enp3s0 config file is following

interface=enp3s0
address=192.168.2.2
netmask=24
broadcast=192.168.2.255
gateway=192.168.2.1

and I already configure initialize vpn and it can connect

but I got error when I try to route all traffic

the command is:

 # ip route add default dev ppp0

the error is

RTNETLINK answer: File exists

yes, before change the route I already have default route, and if I del it the ppp0 will disappear

so, how to fix it? help and thank you very much

Last edited by dxcqcv (2014-07-10 20:21:52)

Offline

#2 2014-07-10 20:21:36

dxcqcv
Member
Registered: 2014-05-04
Posts: 38

Re: [solved]cannot route ppp0

using following command to fix it

#systemctl // to check DHCP and disable it

#ip route replace default dev ppp0 // to change the route

#vi /etc/ppp/options
mtu 1400
mru 1400
silent
// to prevent disconnect after connect

Offline

Board footer

Powered by FluxBB