search

Home  >  Q&A  >  body text

linux - centos7双网卡如何配置内外网同时访问?

公司新购入一个服务器,双网卡的,现安装了centos7,我们打算让两个网卡各插一条,一条接内网,一条接外网(公司有专线固定外网IP),但试了很久都不成功,目前只能用一条线,请问高手该如何配置?

PHP中文网PHP中文网2867 days ago788

reply all(1)I'll reply

  • 迷茫

    迷茫2017-04-17 15:54:39

    Just a comment. It should be configured with a route (or gateway). For example, for a network segment going to the intranet, specify network card A. The other one defaults to network card B (for external network use). As for how to configure centOS7, you can search on Baidu and Google.

    reply
    0
  • Cancelreply