Jump to content

双网卡能单独设置哪些docker走某一个单独网卡吗


Recommended Posts

如题

家里网络是这样的,光猫拨号(光猫192.168.10.1)下面接AC(AC IP可能是192.168.10.100),然后后面接了一个8口poe交换机,因为交换机被插满了,平时unraid只插了一个网卡在这个交换机上,unraid的IP是192.168.10.103,网关之前一直是192.168.10.1 平时使用都挺好的,后来突然docker不能更新了,就想弄个虚拟机op,虚拟机op的IP是192.168.10.200,unraid网卡的网关也设置成了192.168.10.200. docker可以更新了,但发现docker里的tailscale不能工作了,拿不到登录信息,错误如下:

2022/11/22 03:36:14 tshttpproxy: CONNECT response from http://192.168.10.200 for target "log.tailscale.io:443" (auth ""): 400 Bad Request
2022/11/22 03:36:14 logtail: upload: log upload of 128 bytes not-compressed failed: Post "https://log.tailscale.io/c/tailnode.log.tailscale.

 

然后我就想让tailscale不走op,我就把unraid机器上另外一个网口插上了AC空白口,ac应该也有路由供能吧,并且这个口ip设置成了192.168.10.180,网关就是192.168.10.1,路由表里网关也设置成了192.168.10.1.但tailscale还是坚决要走192.168.10.200.完全删除tailscale,包括配置文件都删了,还是不走192.168.10.1.这要怎么搞呀。

image.thumb.png.11bc35fb3e298d45083cc2615e05cb00.png

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...