Need help with setting up 10G adapters

Hello,

i have two PCs: Machine A on WIn10 which is my daily machine and Machine B that is mostly used for rendering running on Lubuntu 18.04.

Now i bought 2 ASUS XG-C100C to connect both machines for fast file tranfer.
Machine A gets its IP automatically with the onboard NIC from the 1Grouter and the two Asus nics are connected between the two PCs directly.
What would i have to set up in Win10 to get Internet on Machine B?

https://answers.microsoft.com/en-us/windows/forum/windows_10-networking/internet-connection-sharing-in-windows-10/f6dcac4b-5203-4c98-8cf2-dcac86d98fb9

I tried this already but each time it spits out an unexpected error message upon bridge creation. I am also bit left in the dark what might be the issue there.

What is the error? Screenshot?

Here is the link

It translates to: “an unexpected error occured during the configuration of the network bridge”

I am sorry, I have not set this up in many years so I can not help any further :frowning: . Hopefully someone else here knows the answer.

Mainboard: ASUS X570 TUF with Realtek 8168 latest drivers
ASUS XGC100C also latest drivers from Marvell
I also tried the stock drivers to no avail.
The Windows was freshly installed on Saturday.
The is nothing installed apart from drivers, Virtualbox and VMWarePlayer.

I can only tell you that I tested it on my rig and there were no errors (didn’t test the functionality). I’m on Windows 10 Pro 2004.
My guess would be that either VirtualBox or VMWare could be causing problems since they install network drivers too. But that’s really just a guess. If you can uninstall both without to much work it may be worth a try…

And just for curiosity: why not connect Machine B directly to the internet/router? There should be an onboard NIC on the MB, right?
I have a similiar setup here with my rig an a NAS. The rig and the NAS have a dedicated 10G connection, but both are also connected with 1G to the router/Internet. Works fine.

Thanks for the reply. The error was already there before I installed VM Ware and Virtualbox. If they were the cause it would be a huge problem regardless because without them my current workflow of rendering would not work any more.
That is also the reason why I dont use a second cable just for inet on Machine B: The render mangager would just use the 1G connection instead of the 10G.

Have you got a manual IP config set up on the Lubuntu machine? Try changing your DHCP address to point to your 1G router before bridging the connection on the Windows machine. It shouldn’t make a difference, but you never know…

Also I got further:
In the past I used to set up network bridges in Win with selecting both devices holding strg and then right click. This is the method I get an error with now. However, in the linked article I learned that it is also possible to right click just one adapter and then under settings permit shared use to the other nic. This got me Internet on machine B, however I can no longer access the Windows share nor ping the machine because Windows treats this connection as a public connection instead of a private one (I dont know the English terms as I only have German Windows).

This is the method that “works”. I dont know how it is different from selecting both devices with strg and than right clicking to bridge.
h t tps://imgur.com/a/mSQsxot

That is also the reason why I dont use a second cable just for inet on Machine B: The render mangager would just use the 1G connection instead of the 10G.

Hm, but that’s only a DNS issue. I don’t know how this is done in Linux, but I edited the hosts file on my windows machine and entered the 10G IP of the NAS as a fix host entry so Windows uses the faster connection to access the NAS.
Since there is a lot of linux knowhow here I guess some could help you with setting this up on your linux machine.
Would avoid all this Windows ICS trouble.

It results in the 10G device being configured like this.
h t tps://imgur.com/a/4qyMaYF
I can connect to the Inet from Ubuntu to this when I set the NIC in Ubuntu to Automatic.

Here my setup a little bit more detailed:
Home network: 192.168.1.x / Router with DHCP enabled
NAS: MyNas

  • NIC1 (1G): DHCP
  • NIC2 (10G): 172.16.0.1 / 255.255.255.0

PC: MyPC

  • NIC1 (1G): DHCP
  • NIC2 (10G): 172.16.0.2 / 255.255.255.0
    entry in hosts file:
    172.16.0.1 MyNas

So when MyPc connects to MyNas it resolves the IP 172.16.0.1 and uses the 10G connection.
I only need fast speed from MyPC to MyNas, so I don’t need to change DNS on MyNas.

But you have two cables on each machine, yes?
Machine B is in my living room where there is only one cable available to make matters worse.
So far I got internet on Machine B but now no longer file access.
How do I get the second connection to be a “private network”?

You can try to use the powershell command Set-NetConnectionprofile

Open powershell (as admin) and run:
Set-NetConnectionProfile -InterfaceAlias “Ethernet 2” -NetworkCategory “Private”

(Source: h ttps://docs.microsoft.com/en-us/powershell/module/netconnection/set-netconnectionprofile?view=win10-ps)

PS: the value for InterfaceAlias you can get with Get-NetconnectionProfile.

Did changing the network connection to private help?