以太网不工作 10.04

以太网不工作 10.04

我遇到了一个奇怪的问题。昨天,我错误地关闭了我的 Ubuntu 10.04 LTS 服务器。从那时起,网络就无法正常工作。正在使用的接口配置为eth1但现在我这样做时它没有显示任何以太网设备配置文件。它只显示环回接口和 virbr0 接口,没有以太网接口。这是 ifconfig 输出。

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

virbr0    Link encap:Ethernet  HWaddr ea:8d:e0:cd:aa:a1  
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          inet6 addr: fe80::e88d:e0ff:fecd:aaa1/64 Scope:Link
          UP BROADCAST RUNNING 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:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

以下是输出sudo lshw -C 网络

  *-network UNCLAIMED
       description: Ethernet controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       version: 05
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list
       configuration: latency=0
       resources: memory:fe400000-fe41ffff memory:fe428000-fe428fff ioport:f080(size=32)

这是 /etc/interfaces 文件,在发生这种情况之前,它一直在使用并且运行良好。我还配置了许多虚拟接口。

auto lo eth1 eth1:1 eth1:2 eth1:3 eth1:4 eth1:5 eth1:6 eth1:7 eth1:8 eth1:9 eth1:10
iface lo inet loopback

iface eth1 inet dhcp

iface eth1:1 inet static
    address 192.168.1.201
    netmask 255.255.255.0
    broadcast 192.168.1.255
    network 192.168.1.0

iface eth1:2 inet static
    address 192.168.1.202
    netmask 255.255.255.0
    broadcast 192.168.1.255
    network 192.168.1.0

iface eth1:3 inet static
    address 192.168.1.203
    netmask 255.255.255.0
    broadcast 192.168.1.255
    network 192.168.1.0

iface eth1:4 inet static
    address 192.168.1.204
    netmask 255.255.255.0
    broadcast 192.168.1.255
    network 192.168.1.0

iface eth1:5 inet static
    address 192.168.1.205
    netmask 255.255.255.0
    broadcast 192.168.1.255
    network 192.168.1.0

iface eth1:6 inet static
    address 192.168.1.206
    netmask 255.255.255.0
    broadcast 192.168.1.255
    network 192.168.1.0

iface eth1:7 inet static
    address 192.168.1.215
    netmask 255.255.255.0
    broadcast 192.168.1.255
    network 192.168.1.0

iface eth1:8 inet static
    address 192.168.1.216
    netmask 255.255.255.0
    broadcast 192.168.1.255
    network 192.168.1.0

iface eth1:9 inet static
    address 192.168.1.220
    netmask 255.255.255.0
    broadcast 192.168.1.255
    network 192.168.1.0

iface eth1:10 inet static
    address 192.168.1.225
    netmask 255.255.255.0
    broadcast 192.168.1.255
    network 192.168.1.0

任何帮助都将非常感激。

答案1

做了内核更新重启之前会发生什么?似乎一些 相似的 案例未声明的接口这显然是由于找不到司机为了它。

相关内容