How to make the interface not disappeared?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
11 views
Ubuntu 16.04. Ustanovlen pptpd PPTP-connections.
When a client raises the kind ppp0 interface (ppp1, 2...), and if a client disconnects or breakage of the pppX interface is lost. Vassline do to "fix" these interfaces?

When connected to the client:
root@vps5163:~# ifconfig
ens3 Link encap:Ethernet HWaddr
inet addr: Bcast: Mask:
inet6 addr: Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11055414 errors:0 dropped:0 overruns:0 frame:0
TX packets:8998077 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8354412375 (8.3 GB) TX bytes:10023295859 (10.0 GB)

lo Link encap:Local loop (Loopback)
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2311322 errors:0 dropped:0 overruns:0 frame:0
TX packets:2311322 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:365906009 (365.9 MB) TX bytes:365906009 (365.9 MB)

ppp0 Link encap:Protocol PPP (Point-to-Point Protocol)
inet addr:172.16.1.1 P-t-P:172.16.1.3 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1396 Metric:1
RX packets:113 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:19438 (19.4 KB) TX bytes:29949 (29.9 KB)

When the disconnected client:
root@vps5163:~# ifconfig
ens3 Link encap:Ethernet HWaddr
inet addr: Bcast: Mask:
inet6 addr: Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11055414 errors:0 dropped:0 overruns:0 frame:0
TX packets:8998077 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8354412375 (8.3 GB) TX bytes:10023295859 (10.0 GB)

lo Link encap:Local loop (Loopback)
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2311322 errors:0 dropped:0 overruns:0 frame:0
TX packets:2311322 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:365906009 (365.9 MB) TX bytes:365906009 (365.9 MB)
by | 11 views

1 Answer

0 like 0 dislike
impossible
you can script to pick up if dropped, on the client side
by

Related questions

0 like 0 dislike
4 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
110,608 questions
257,187 answers
0 comments
40,796 users