有人在UB Server版本上安装过两块网卡吗?
-
- 帖子: 14
- 注册时间: 2006-02-16 14:33
有人在UB Server版本上安装过两块网卡吗?
应该怎么装啊?两块网卡在安装的时候都能找到,但是只能选择一块网卡做为主网卡,主要是IP怎么配,怎么让两块网卡公司工作?
- 5451vs5451
- 帖子: 345
- 注册时间: 2006-07-14 18:56
- 来自: Apple Valley, Planet Tux, Linux System
Re: 有人在UB Server版本上安装过两块网卡吗?
自己在/etc/network/interfaces里面设置,例如szbug 写了:应该怎么装啊?两块网卡在安装的时候都能找到,但是只能选择一块网卡做为主网卡,主要是IP怎么配,怎么让两块网卡公司工作?
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255
-
- 帖子: 14
- 注册时间: 2006-02-16 14:33
Re: 有人在UB Server版本上安装过两块网卡吗?
请问你是不是试过?我之前这样写的,但是并不起作用。5451vs5451 写了:自己在/etc/network/interfaces里面设置,例如szbug 写了:应该怎么装啊?两块网卡在安装的时候都能找到,但是只能选择一块网卡做为主网卡,主要是IP怎么配,怎么让两块网卡公司工作?
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255
- 5451vs5451
- 帖子: 345
- 注册时间: 2006-07-14 18:56
- 来自: Apple Valley, Planet Tux, Linux System
Re: 有人在UB Server版本上安装过两块网卡吗?
之所以要修改interfaces文件,是为了使系统重启后设置仍然有效。如果不想重启可以用ifconfig工具修改当前设置。szbug 写了:请问你是不是试过?我之前这样写的,但是并不起作用。5451vs5451 写了:自己在/etc/network/interfaces里面设置,例如szbug 写了:应该怎么装啊?两块网卡在安装的时候都能找到,但是只能选择一块网卡做为主网卡,主要是IP怎么配,怎么让两块网卡公司工作?
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255