分页: 1 / 1

关于loopback

发表于 : 2012-09-11 22:40
chu887
这是我的网卡配置情况,eth1是无线网卡,p3p1是有线网卡

[will@will-laptop ~]$ sudo ifconfig
[sudo] password for will:
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::216:44ff:feeb:6735 prefixlen 64 scopeid 0x20<link>
ether 00:16:44:eb:67:35 txqueuelen 1000 (Ethernet)
RX packets 29276 bytes 34258042 (32.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 54344
TX packets 15476 bytes 1933950 (1.8 MiB)
TX errors 2 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17 base 0xc000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 78 bytes 6304 (6.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 78 bytes 6304 (6.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

p3p1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:1e:c9:04:c2:ac txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17


关于lo 第一行 <>里头的 RUNNING 看着怎么不爽呢,我记得 以前好像没有的, 怎么关掉阿?
我说的不是 sudo ifconfig lo down, 而是 把那个 RUNNING 关闭。。。

Re: 关于loopback

发表于 : 2012-09-11 22:54
YeLee
亲,你关掉吧,你就关掉吧,关掉我就不信你不会回来哭。 :em01 :em01 :em01

Re: 关于loopback

发表于 : 2012-09-11 22:58
chu887
YeLee 写了:亲,你关掉吧,你就关掉吧,关掉我就不信你不会回来哭。 :em01 :em01 :em01
即使我运行 sudo ifconfig lo down ,也对我上网没有丝毫影响阿。。。还请楼上明讲

Re: 关于loopback

发表于 : 2012-09-11 23:06
YeLee
你确定你能关闭这设备?这是本地两个进程之间通信用的吧,用于模拟网络行为的。 :em01 :em01 :em01

Re: 关于loopback

发表于 : 2012-09-11 23:14
chu887
YeLee 写了:你确定你能关闭这设备?这是本地两个进程之间通信用的吧,用于模拟网络行为的。 :em01 :em01 :em01
[will@will-laptop ~]$ sudo ifconfig lo down
[will@will-laptop ~]$ sudo ifconfig
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::216:44ff:feeb:6735 prefixlen 64 scopeid 0x20<link>
ether 00:16:44:eb:67:35 txqueuelen 1000 (Ethernet)
RX packets 44649 bytes 47325741 (45.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 134019
TX packets 29190 bytes 4279146 (4.0 MiB)
TX errors 2 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17 base 0xc000

p3p1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:1e:c9:04:c2:ac txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17

Re: 关于loopback

发表于 : 2012-09-11 23:16
YeLee
天啊,当我路过的算了。 :em01

Re: 关于loopback

发表于 : 2012-09-11 23:17
chu887
YeLee 写了:天啊,当我路过的算了。 :em01
你的系统不可以么? 忘了说了,我的是 fedora17....10.4后没再用过ubuntu..

Re: 关于loopback

发表于 : 2012-09-11 23:32
YeLee
好吧,可以关掉,也许真的是我杞人忧天了吧,反正是一个127.0.0.1而已。 :em01 :em01 :em01