[问题 虚拟机上UBUNTU 网卡问题

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
yishuguo
帖子: 17
注册时间: 2008-04-17 22:10
送出感谢: 0
接收感谢: 0

[问题 虚拟机上UBUNTU 网卡问题

#1

帖子 yishuguo » 2008-09-16 11:47

原本在虚拟机上安装UBUNTU LINUX 8.04 ,此时是一个网卡,可以正常上网。后来安装了下VM的TOOL,就不能上网了,用ifconfig eth0 up , 提示:没有这设备。 于是我就关闭虚拟机,再加了一网卡eth1,重启UBUNTU,运行ifconfig eth1 up ,
/etc/inti.d/networking restart . 再用ifconfig查看配置:情况如下》》


root@yishuguo-ubuntu-linux:/home/yishuguo# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0c:29:22:aa:88
inet6 addr: fe80::20c:29ff:fe22:aa88/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18641 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:1132762 (1.0 MB) TX bytes:796 (796.0 B)
Interrupt:17 Base address:0x1400

eth1 Link encap:Ethernet HWaddr 00:0c:29:22:aa:92
inet addr:192.168.1.109 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe22:aa92/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:43452 errors:0 dropped:0 overruns:0 frame:0
TX packets:7650 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17901916 (17.0 MB) TX bytes:603218 (589.0 KB)
Interrupt:16 Base address:0x1480

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:2296 errors:0 dropped:0 overruns:0 frame:0
TX packets:2296 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:114800 (112.1 KB) TX bytes:114800 (112.1 KB)


此时,eth0已经出现,问题是我现在上网是通过eth1的,为什么eth0里面没有ipv4?? :cry: :cry: :cry: :cry: :cry: :cry: :cry:
回复

回到 “网卡问题以及网络和拨号”