求教各位大侠:
小弟最近才开始用ubuntu,用的是vbox安装(先用习惯一下)。
配置了两块网卡,一块是NAT(用来上网),另一块是Bridged Adapter(想主机远程登录ubuntu)。
网卡配置如下:(eth0是NAT的,eth1是Bridged Adapter)
knull@knull-laptop:/etc/resolvconf/update-libc.d$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 08:00:27:66:30:90
inet6 addr: fe80::a00:27ff:fe66:3090/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:93 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5170 (5.1 KB) TX bytes:12292 (12.2 KB)
eth1 Link encap:Ethernet HWaddr 08:00:27:77:2a:af
inet6 addr: fe80::a00:27ff:fe77:2aaf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:104 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13359 (13.3 KB) TX bytes:1836 (1.8 KB)
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:38 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2100 (2.1 KB) TX bytes:2100 (2.1 KB)
很明显的看出来,eth0和eth1都只有inet6地址,没有inet地址(lo是有inet地址的)。
在此求教:这个是为什么啊?能不能把inet地址也配一下出来?
曾经有段时间,我配置是有inet地址的,而且曾经成功在主机telnet到虚拟机上。
但是突然现在没了,我也只能虚拟机直接操作了。。。
在此先谢过各位了。。。
ubuntu 只有inet6的地址,没有inet地址
-
- 帖子: 1
- 注册时间: 2011-07-14 21:22
Re: ubuntu 只有inet6的地址,没有inet地址
我也碰到了这问题,现在还没解决。但是无线网卡能连上无线路由器,我是在学校用的windows共享的方式上网的,有线网卡获取不到ip,无线网卡通过无线路由器能连上。
-
- 帖子: 10
- 注册时间: 2011-07-28 17:09
Re: ubuntu 只有inet6的地址,没有inet地址
LZ...
我怎么觉得你的IPV6应该无效...这明明是个私有地址...
