this may sound ridiculous, but i'm really not sure whether to use the 2nd NIC on a linux server. what do you do with your 2nd NIC? is it for redundancy or for throughput? on our mail server (postfix), we're very confused as to what is the optimal use of that 2nd NIC. thanks so much!
这可能听起来很荒谬,但我真的不确定是否在linux服务器上使用第二个NIC。你用你的第二个NIC怎么办?是冗余还是吞吐量?在我们的邮件服务器(postfix)上,我们对第二个NIC的最佳使用方式感到困惑。非常感谢!
3 个解决方案
#1
4
If you had a separate internal-only network, for security, you could use the second port for that. For example, if the link between your web server and database server was on an isolated network which your web server(s) had exclusive access to, this is where a second NIC would come in handy.
如果您有一个单独的仅限内部网络,为了安全起见,您可以使用第二个端口。例如,如果Web服务器和数据库服务器之间的链接位于您的Web服务器具有独占访问权限的隔离网络上,那么第二个NIC将派上用场。
#2
3
There is also NIC TEAMING, I think it's called Ethernet Bonding or Trunking on Linux, for redundancy or increased throughput.
还有NIC TEAMING,我认为它在Linux上称为以太网绑定或中继,用于冗余或增加吞吐量。
#3
1
Security is pretty tight where I work, and individual departments have their own subnets. My department has three subnets of its own. Several machines are shared between groups. The NICs on these machines (up to four at the moment) plug into each network, but a lot of the machines never use their second port (let alone ports three and four).
在我工作的地方,安全性非常紧张,各个部门都有自己的子网。我的部门有三个自己的子网。组之间共享多台机器。这些机器上的NIC(目前最多四个)插入每个网络,但很多机器从不使用他们的第二个端口(更不用说端口3和4)。
I also use some machines as jumphosts. That is a machine that runs nothing but sshd and is attached to two or more networks. The only way to get from a machine on network A to a machine on network B is to connect to a jumphost that is in both networks and the ssh from there to the machine on network B.
我也使用一些机器作为jumphosts。这是一台只运行sshd并连接到两个或多个网络的机器。从网络A上的机器到网络B上的机器的唯一方法是连接到两个网络中的跳转主机和从那里到网络B上的机器的ssh。
#1
4
If you had a separate internal-only network, for security, you could use the second port for that. For example, if the link between your web server and database server was on an isolated network which your web server(s) had exclusive access to, this is where a second NIC would come in handy.
如果您有一个单独的仅限内部网络,为了安全起见,您可以使用第二个端口。例如,如果Web服务器和数据库服务器之间的链接位于您的Web服务器具有独占访问权限的隔离网络上,那么第二个NIC将派上用场。
#2
3
There is also NIC TEAMING, I think it's called Ethernet Bonding or Trunking on Linux, for redundancy or increased throughput.
还有NIC TEAMING,我认为它在Linux上称为以太网绑定或中继,用于冗余或增加吞吐量。
#3
1
Security is pretty tight where I work, and individual departments have their own subnets. My department has three subnets of its own. Several machines are shared between groups. The NICs on these machines (up to four at the moment) plug into each network, but a lot of the machines never use their second port (let alone ports three and four).
在我工作的地方,安全性非常紧张,各个部门都有自己的子网。我的部门有三个自己的子网。组之间共享多台机器。这些机器上的NIC(目前最多四个)插入每个网络,但很多机器从不使用他们的第二个端口(更不用说端口3和4)。
I also use some machines as jumphosts. That is a machine that runs nothing but sshd and is attached to two or more networks. The only way to get from a machine on network A to a machine on network B is to connect to a jumphost that is in both networks and the ssh from there to the machine on network B.
我也使用一些机器作为jumphosts。这是一台只运行sshd并连接到两个或多个网络的机器。从网络A上的机器到网络B上的机器的唯一方法是连接到两个网络中的跳转主机和从那里到网络B上的机器的ssh。