linux - centos7双网卡如何配置内外网同时访问?
PHP中文网
PHP中文网 2017-04-17 15:52:39
0
1
773

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

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
迷茫

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template