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

多网卡 同内网ip 启用不同端口分发,出口IP一致 #575

Open
Mrqjj opened this issue Dec 16, 2024 · 4 comments
Open

多网卡 同内网ip 启用不同端口分发,出口IP一致 #575

Mrqjj opened this issue Dec 16, 2024 · 4 comments

Comments

@Mrqjj
Copy link

Mrqjj commented Dec 16, 2024

为避免浪费时间,一切不按着issue模版填写的问题,一律默认忽略处理,谢谢合作!

Avoid waste time, any report not match the issue template will be ignored.

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce

  1. 本机有28个网卡, 每个网卡下面都是默认的DHCP 分配的ip地址一致为192.168.1.2但是网卡名称不一致
  2. 服务启动之后,从每个端口进行请求, 出口ip一致,也就是说出口都在一个网卡上出去的, goProxy 和goProxyAdmin 均存在这个问题
  3. 28个网卡接入了28条宽带,由DHCP 自动分配每个网卡的内网IP都是192.168.1.2

Context (Environment)

  1. proxy version is : v14.7
  2. full command is : ./proxy socks -t tcp -p ":2000-2030" -a ":*" --bind-ip eno1:2000 --bind-ip eno2:2001 --bind-ip eno3:2002--bind-ip enp6s0f0:2003--bind-ip enp6s0f1:2004 --bind-ip enp6s0f2:2005 --bind-ip enp6s0f3:2006 --bind-ip enp4s0f0:2007 --bind-ip enp4s0f1:2008 --bind-ip enp4s0f2:2009 --bind-ip enp4s0f3:2010 --bind-ip enp129s0f0:2011 --bind-ip enp129s0f1:2012 --bind-ip enp129s0f2:2013 --bind-ip enp129s0f3:2014 --bind-ip enp130s0f0:2015 --bind-ip enp130s0f1:2016 --bind-ip enp130s0f2:2017 --bind-ip enp130s0f3:2018 --bind-ip enp131s0f0:2019 --bind-ip enp131s0f1:2020 --bind-ip enp131s0f2:2021 --bind-ip enp131s0f3:2022 --bind-ip enp132s0f0:2023 --bind-ip enp132s0f1:2024 --bind-ip enp132s0f2:2025 --bind-ip enp132s0f3:2026
  3. system is :ubuntu 22.02 server
  4. full log is: ?

Detailed Description

Possible Implementation

@snail007
Copy link
Owner

这是每个网卡IP一样导致的,这个功能要求每个网卡IP不能一样。

@Mrqjj
Copy link
Author

Mrqjj commented Dec 19, 2024

这是每个网卡IP一样导致的,这个功能要求每个网卡IP不能一样。

那有什么解决方案或者办法吗? 比如我修改每个网卡的静态IP?

@snail007
Copy link
Owner

这个功能要求每个网卡IP不能一样。满足这个条件即可!

@Mrqjj
Copy link
Author

Mrqjj commented Dec 20, 2024

这个功能要求每个网卡IP不能一样。满足这个条件即可!

ipv6的地址不一样,可以选择ipv6吗?

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

No branches or pull requests

2 participants