各位大侠,小弟装了个unbuntu11.04,发现不能上网,用ifconfig一看,居然只有ipv6地址,没有ipv4,我在网络连接里设置了ipv4的,求解
ifconfig
eth0 Link encap:Ethernet HWaddr b8:70:f4:8a:fc:37
inet6 addr: fe80::ba70:f4ff:fe8a:fc37/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:284 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:37470 (37.4 KB) TX bytes:3810 (3.8 KB)
Interrupt:47
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:960 (960.0 B) TX bytes:960 (960.0 B)
wlan0 Link encap:Ethernet HWaddr cc:af:78:30:2f:94
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ubuntu11.04 只有ipv6没有ipv4
-
- 帖子: 2
- 注册时间: 2011-05-05 12:58
ubuntu11.04 只有ipv6没有ipv4
上次由 presley 在 2011-07-02 11:19,总共编辑 1 次。
-
- 帖子: 159
- 注册时间: 2011-06-29 19:18
- 系统: Archlinux
-
- 帖子: 442
- 注册时间: 2010-09-08 23:33
Re: ubuntu11.04 只有ipv6没有ipv4
ipv6是链路地址,只要起ipv6协议,就会有链路地址。这个地址是局域网内用的,不能用在互联网上。你的上网方式是?
- Steve Jobs
- 帖子: 824
- 注册时间: 2011-04-28 12:27
Re: ubuntu11.04 只有ipv6没有ipv4
有V6 的很正常啊
-
- 帖子: 2
- 注册时间: 2011-05-05 12:58
Re: ubuntu11.04 只有ipv6没有ipv4
我这边直接获取ip地址就能上网的,用有线上,和通过路由器上网类似。以前用过10.04,系统会自动分配一个ipv4地址和一个ipv6地址的,现在就只有v6没有v4
- Steve Jobs
- 帖子: 824
- 注册时间: 2011-04-28 12:27
Re: ubuntu11.04 只有ipv6没有ipv4
用宽带的路过,不懂 

- c43035
- 帖子: 724
- 注册时间: 2008-10-22 14:29
- 联系:
-
- 帖子: 206
- 注册时间: 2010-07-27 9:44
-
- 帖子: 115
- 注册时间: 2010-01-30 19:15
Re: ubuntu11.04 只有ipv6没有ipv4
搜到这个帖子,手动设置了个 IPv4 的地址,
果然有了,还能连上互联网,
那么请教各位大侠,如何可以正常DHCP拿到地址呀?
谢谢
果然有了,还能连上互联网,
那么请教各位大侠,如何可以正常DHCP拿到地址呀?
谢谢
Samuel G. L.
Mobile: 139-0-171-35-61
Mobile: 139-0-171-35-61