全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 2377|回复: 1
打印 上一主题 下一主题

[疑问] debian 双网卡设置 问题

[复制链接]
跳转到指定楼层
1#
发表于 2010-3-17 11:01:46 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我本地的一台机器 双网卡 系统 debian

网卡配置
debian:~# vi /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo eth0 eth1
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
        address 192.168.0.205
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.206

iface eth1 inet static
        address 192.168.10.207
        netmask 255.255.255.0
        network 192.168.10.0
        broadcast 192.168.10.255


这样的配置 保存后 运行命令
debian:~# /etc/init.d/networking restart
Reconfiguring network interfaces...if-up.d/mountnfs[eth0]: waiting for interface eth1 before doing NFS mounts (warning).
done.

或者
debian:~# /etc/init.d/networking force-reload
Reconfiguring network interfaces...if-up.d/mountnfs[eth0]: waiting for interface eth1 before doing NFS mounts (warning).
done.


报这个错误 而且 两个网卡 依然能够 正常工作通信
可是如果只启动其中一个网卡 就不会报错


谁知道是什么问题吗
2#
 楼主| 发表于 2010-3-17 22:02:30 | 只看该作者
其实我是来浇水的 嘿嘿
。。。沉了 我顶一下 (*^__^*) 嘻嘻……
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-11-12 02:40 , Processed in 0.150248 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表