@
maoyipeng 那比方说我现在网卡信息是这样的,
eth0 Link encap:Ethernet HWaddr 08:00:27:08:8f:aa
inet addr:192.168.2.127 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23556 errors:0 dropped:0 overruns:0 frame:0
TX packets:28189 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7171406 (7.1 MB) TX bytes:8542910 (8.5 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2756 errors:0 dropped:0 overruns:0 frame:0
TX packets:2756 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:137800 (137.8 KB) TX bytes:137800 (137.8 KB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:46.243.204.40 P-t-P:46.243.204.5 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1496 Metric:1
RX packets:2907 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:210385 (210.3 KB) TX bytes:90 (90.0 B)
-------------------------------------------------
如果要让 squid 走 ppp0 这个设备,要填写哪个 IP 呢? 46.243.204.40 吗?