Jump to content

Connecting to two wired networks - not working

amrando

Apologies in advance if this is obvious, but still learning networking.  Been researching a lot but not finding a solid answer.

 

I have a home network (1Gb wired plus wifi) with Internet access.  I'm trying to have a second separate network between my desktop PC and a sever.  Both are on a 1Gb switch/router that has Internet access on the 192.168.1.X subnet.

 

My desktop and server both also have 10Gb Ethernet NICs and are connected with a direct network cable (no switch).  Both report link is up and are showing 10Gb speed.  Both have static IPs on the 192.168.2.X subnet.  There is no default gateway or DNS set for these adapters. (I am running Win10 on both at the moment)

 

But, I am not able to ping or connect between the desktop and server using the 10Gb connection.

 

Is it because Windows has set it to a Public network?  Do I need to change the routing tables? 

 

IPv4 Route looks like this

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.1.1     192.168.1.69    281
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
      169.254.0.0      255.255.0.0    192.168.1.110     192.168.1.69     26
      169.254.0.0      255.255.0.0         On-link     169.254.57.57    281
    169.254.57.57  255.255.255.255         On-link     169.254.57.57    281
  169.254.255.255  255.255.255.255         On-link     169.254.57.57    281
      192.168.1.0    255.255.255.0         On-link      192.168.1.69    281
     192.168.1.69  255.255.255.255         On-link      192.168.1.69    281
    192.168.1.255  255.255.255.255         On-link      192.168.1.69    281
      192.168.2.0    255.255.255.0         On-link      192.168.2.42    271
     192.168.2.42  255.255.255.255         On-link      192.168.2.42    271
    192.168.2.255  255.255.255.255         On-link      192.168.2.42    271
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
        224.0.0.0        240.0.0.0         On-link     169.254.57.57    281
        224.0.0.0        240.0.0.0         On-link      192.168.1.69    281
        224.0.0.0        240.0.0.0         On-link      192.168.2.42    271
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  255.255.255.255  255.255.255.255         On-link     169.254.57.57    281
  255.255.255.255  255.255.255.255         On-link      192.168.1.69    281
  255.255.255.255  255.255.255.255         On-link      192.168.2.42    271
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
      169.254.0.0      255.255.0.0    138.99.208.84       1
      169.254.0.0      255.255.0.0    192.168.1.110       1
      169.254.0.0      255.255.0.0     192.168.56.1       1
          0.0.0.0          0.0.0.0      192.168.1.1  Default
===========================================================================

Link to comment
Share on other sites

Link to post
Share on other sites

desktop is 192.168.1.42 for 1Gb (Internet) and 192.168.2.42 for 10Gb

 

server is 192.168.1.69 for 1Gb (Internet) and 192.168.2.69 for 10Gb

 

Ethernet adapter Slot04 x16 3 (10Gb):

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::64f2:39a1:3dfb:74a2%5
   IPv4 Address. . . . . . . . . . . : 192.168.2.42
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

Ethernet adapter Ethernet (1Gb):

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::5cf0:3d8f:e0ab:14b3%3
   IPv4 Address. . . . . . . . . . . : 192.168.1.69
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

 

Link to comment
Share on other sites

Link to post
Share on other sites

I'd recommend using something entirely different for another network such as 172.16.x.x or 10.x.x.x.

 

Is there any way the 10Gb cards don't have auto sensing and needs a crossover cable? If you don't have the tools to make a crossover cable, using a switch would work as a temporary solution although you'd lose 10Gb if that is the problem.

Never dismiss a possible solution because of a respected brand.

IT Admin perusing a bachelor's in Computer Engineering.

Link to comment
Share on other sites

Link to post
Share on other sites

Try putting the IP of the server as the default gateway on the client and the other way around(Client as Server's gateway). Also tryout with a crossover cable to be sure that the NICs detection is not being problematic like Endeavor01 said.

Link to comment
Share on other sites

Link to post
Share on other sites

Finally got it working.  IP addresses were fine.  The issue seems to be that there's a conflict if you use Auto Metric under the Advanced properties of the IPv4 settings for each adapter you have.  I set the 1Gb NIC (with Internet access) to a Metric of 1, and the 10Gb (no Internet access) to 9999 and it seems to work.

 

@Endeavor01 From 1GbE onward you don't need crossover cables.  They autosense.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×