在Linux中连接特定的以太网 [英] Connecting with a specific ethernet in Linux

查看:79
本文介绍了在Linux中连接特定的以太网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的计算机中有两个以太网卡,我想通过特定的接口将数据包发送到另一台计算机(另一台linux机器)上,如何在linux中进行操作.
该怎么做?

[edit]删除删除-OriginalGriff [/edit]

i have two ethernet cards in my computer and i want to send a packet to a another computer(another linux machine) via a specific interface how to do it in linux.
what are the steps to do ?

[edit]SHOUTING removed - OriginalGriff[/edit]

推荐答案

如果可以从任一接口访问远程计算机,则需要在两者之间设置一条静态路由系统,如此处所述. cyberciti.biz/faq/ubuntu-linux-add-static-routing/"target =" _ blank"title =" New Window> ^ ].
If the remote machine can be reached from either interface then you need to set up a static route between the two systems, as described here[^].


这篇关于在Linux中连接特定的以太网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆