{ Berbagi, Menulis, Dan Mengajar } Ilmu… » 7. Operating System » Cara Merubah Nilai MTU pppoe Linux
Cara Merubah Nilai MTU pppoe Linux
#ip link set ppp0 mtu 1412
—
add it to start up script somewhere
ppp0 – is ppp network interface inside linux kernel. where 1452 – mtu size actually.
To see if you have ppp0 interface do “ip link”
I assume that iproute is installed.
—–
Tambahkan SCRIPT #Ip Link set ppp0 … ke dalam /etc/init.d/networking (Sebelum Exit 0)
—-
log_action_end_msg $?
else
log_action_end_msg $?
fi
;;
*)
echo “Usage: /etc/init.d/networking {start|stop|reload|restart|force-re
exit 1
;;
esac
ip link set ppp0 mtu 1412
exit 0
—–
ppp0 Link encap:Point-to-Point Protocol
inet addr:36.82.125.18 P-t-P:36.82.120.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1412 Metric:1
RX packets:6922 errors:0 dropped:0 overruns:0 frame:0
TX packets:5566 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
Filed under: 7. Operating System