# tail -f /var/log/messages
Sep 27 15:43:34 host-192-168-1-73 kernel: ppp: compressor dropped pkt
Sep 27 15:43:34 host-192-168-1-73 kernel: ppp: compressor dropped pkt
Sep 27 15:43:34 host-192-168-1-73 kernel: ppp: compressor dropped pkt
Sep 27 15:43:34 host-192-168-1-73 kernel: ppp: compressor dropped pkt
Sep 27 15:43:34 host-192-168-1-73 kernel: ppp: compressor dropped pkt
Sep 27 15:43:34 host-192-168-1-73 kernel: ppp: compressor dropped pkt
Sep 27 15:43:34 host-192-168-1-73 kernel: ppp: compressor dropped pkt
Sep 27 15:43:34 host-192-168-1-73 kernel: ppp: compressor dropped pkt
Sep 27 15:43:34 host-192-168-1-73 kernel: ppp: compressor dropped pkt
Sep 27 15:43:34 host-192-168-1-73 kernel: ppp: compressor dropped pkt
# ifconfig ppp0ppp0 Link encap:Point-to-Point Protocol
inet addr:10.10.10.1 P-t-P:10.10.10.10 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1396 Metric:1
RX packets:6953 errors:0 dropped:0 overruns:0 frame:0
TX packets:7247 errors:799 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:742725 (725.3 KiB) TX bytes:6875610 (6.5 MiB)
# cat > /etc/ppp/ip-up.local
#!/bin/sh
CURRENT_MTU="`ifconfig $1 | grep -Po '(?<=MTU:)([0-9]+)'`"
FIXED_MTU="`expr $CURRENT_MTU + 4`"
ifconfig $1 mtu $FIXED_MTU
echo "Increased MTU for $1 to $FIXED_MTU (from $CURRENT_MTU) to fix MPPE Microsoft Point-to-Point bug #330973"
# chmod +x /etc/ppp/ip-up.local
ppp µð¹ÙÀ̽º°¡ ¿Ã¶ó¿Ã¶§¸¶´Ù... /etc/ppp/ip-up ¼³Á¤ ³ì»ö°ª¿¡ ÀÇÇØ ip-up.local ½ºÅ©¸³Æ® ½ÇÇà
# cat /etc/ppp/ip-up
#!/bin/bash
# This file should not be modified -- make local changes to
# /etc/ppp/ip-up.local instead
PATH=/sbin:/usr/sbin:/bin:/usr/bin
export PATH
LOGDEVICE=$6
REALDEVICE=$1
[ -f /etc/sysconfig/network-scripts/ifcfg-${LOGDEVICE} ] && /etc/sysconfig/network-scripts/ifup-post --realdevice ${REALDEVICE} ifcfg-${LOGDEVICE}
/etc/ppp/ip-up.ipv6to4 ${LOGDEVICE}
[ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local "$@"
exit 0
# ifconfig ppp-0
ppp-0: error fetching interface information: Device not found
[root@host-192-168-1-73 ppp]# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.10.10.1 P-t-P:10.10.10.10 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:457 errors:0 dropped:0 overruns:0 frame:0
TX packets:298 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:37503 (36.6 KiB) TX bytes:207403 (202.5 KiB)
[ÀÌ °Ô½Ã¹°Àº ÃÖ°í°ü¸®ÀÚ´Ô¿¡ ÀÇÇØ 2016-09-27 16:11:45 OpenStack¿¡¼ À̵¿ µÊ]