Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加对多网卡的支持 #409

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

增加对多网卡的支持 #409

wants to merge 4 commits into from

Conversation

ligg
Copy link

@ligg ligg commented Nov 26, 2020

在surging配置文件里增加了"PreferredNetworks": ""配置节
添加ip前缀即可使系统获取ip的时候只获取该前缀下的ip
单网卡的可以空着

@fanliang11
Copy link
Owner

fanliang11 commented Nov 26, 2020

k you pull request, this pr cannot be merged into the master branch, because the test environment generally uses the IP address, the production environment is set to 0.0.0.0, and multi-network cards need to set the default route for 0.0.0.0 to take effect.
谢谢pull request, 这个PR不能合并到master 分支上,因 测试环境一般使用IP地址,生产环境设置为0.0.0.0,而多网卡需要设置默认路由,0.0.0.0才能生效。

@ligg
Copy link
Author

ligg commented Dec 7, 2020

不同的ip段分别有不同的工作场景,我希望微服务只工作于某一特定ip段

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants