说实话,我不懂,本想进来看看怎么解决的,万一以后有双网卡时可以用一下:)
看来还没有解决问题,就搜了一下,不知道有没有用,供参考: http://qref.sourceforge.net/quick/ch-gateway.en.html http://www.debuntu.org/2006/02/23/8-using-multiple-network-device-to-connect-to-the-internet 在 2010年5月31日 上午10:07,wolfman.wu <[email protected]> 写道: > lenny 里, 有 一块固定网卡 和 一块无线网卡。 > 1. /etc/network/interface 已做好配置 > 2. 开机后, ifconfig 或 iwconfig 都可以看到配置没问题,设备正常启动 > > > > 问题: > 但总是 ping 不通无线 ap 上的 ip, 这时默认(不加 I 参数)是从有线网卡 > ping 无线ap. (有线网卡没有连接任何东西,空置) > > 如果执行: > ifdown eth0 ; ifup eth0 > 后, 却又可以ping 通无线ap > > > > 上面的问题造成,每次开机后,都要执行一次 > ifdown eth0 ; ifup eth0 > > > > 请问 > 怎样才可以不用每次都执行一次 那两条命令? 又可以默认让无线网卡能 > ping 到 ap ? > > > > 谢谢! > > > -- > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact [email protected] > Archive: http://lists.debian.org/1275271648.5297.13.ca...@debian3 > >

