October 19, 20232 yr So, Homelab use, but i use vlans, segregate everything i can. So i have my main vlan (10) and the rest trunked to unraid on a 10g link. its set native to 10 as i found unraid doesnt play nice with networking for eth0 with the use of vlans, so (10) comes in natively and anything else can access the other vlans perfectly fine, sorted! I aquired a couple of 40g NIC's, ones in my main PC and the other in unraid, both are set to ethernet mode, and both work! i gave them both a unique ip 14.1.1.11 and 14.1.1.10. i can use each others ip to ping each other and even transfer files. did a speed test and again very happy. so that was set to eth2. left eth0 as main connection for unraid to the lans and wan. Now the proplem, when this was set like this all outgoing traffic from unraid was going via the 14.1.1.10 ip address and not the 12.1.1.10 set for the vlan/lan. Once the faster direct link was disconnected unraid behaved again, but id really like the faster link for a direct link between pc and unraid as it makes file management so much quicker. Is there something i should be looking for in the configuration of this link? I did some checking and unraid was using the 14.1.1.10 ip address on the vlan. i made sure not to use a default gateway on th2 (direct link) as i am under the impression the use of a gateway will make it a lan connection, take away the gateway and itll be treated as direct? But yeah, how do i do a direct link between unraid and the pc with this faster link whilst maintaining the lan for docker/vms/unraid etc. Side note both unraid and pc are connected to the same lan/vlan but i am blocking traffic between the two using the switch.
October 19, 20232 yr Sorry, I don't have a solution to the routing issue, unless it has something to do with you using IP's belonging to China Telecom and AT&T respectively. Regardless of how isolated and irrelevant it seems, it's just bad practice to use public routable IP's that you don't own inside your LAN. There are multiple private network spaces set up just for that purpose.
October 21, 20232 yr Author That bit of advice is appreciated, i have since changed all my ip/subnets to stay within the realms of the private ip space. However the issue still persists, when the direct link is used, unraid and dockers loose conectivity.
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.