有人在UB Server版本上安装过两块网卡吗?

CPU/显卡/打印机/USB设备等硬件问题
回复
szbug
帖子: 14
注册时间: 2006-02-16 14:33

有人在UB Server版本上安装过两块网卡吗?

#1

帖子 szbug » 2006-08-01 1:36

应该怎么装啊?两块网卡在安装的时候都能找到,但是只能选择一块网卡做为主网卡,主要是IP怎么配,怎么让两块网卡公司工作?
szbug
帖子: 14
注册时间: 2006-02-16 14:33

#2

帖子 szbug » 2006-08-02 9:45

自己顶!
头像
5451vs5451
帖子: 345
注册时间: 2006-07-14 18:56
来自: Apple Valley, Planet Tux, Linux System

Re: 有人在UB Server版本上安装过两块网卡吗?

#3

帖子 5451vs5451 » 2006-08-02 11:20

szbug 写了:应该怎么装啊?两块网卡在安装的时候都能找到,但是只能选择一块网卡做为主网卡,主要是IP怎么配,怎么让两块网卡公司工作?
自己在/etc/network/interfaces里面设置,例如

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
szbug
帖子: 14
注册时间: 2006-02-16 14:33

Re: 有人在UB Server版本上安装过两块网卡吗?

#4

帖子 szbug » 2006-08-02 17:33

5451vs5451 写了:
szbug 写了:应该怎么装啊?两块网卡在安装的时候都能找到,但是只能选择一块网卡做为主网卡,主要是IP怎么配,怎么让两块网卡公司工作?
自己在/etc/network/interfaces里面设置,例如

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版本上安装过两块网卡吗?

#5

帖子 5451vs5451 » 2006-08-02 18:19

szbug 写了:
5451vs5451 写了:
szbug 写了:应该怎么装啊?两块网卡在安装的时候都能找到,但是只能选择一块网卡做为主网卡,主要是IP怎么配,怎么让两块网卡公司工作?
自己在/etc/network/interfaces里面设置,例如

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
请问你是不是试过?我之前这样写的,但是并不起作用。
之所以要修改interfaces文件,是为了使系统重启后设置仍然有效。如果不想重启可以用ifconfig工具修改当前设置。
回复