TechnicalDual NIC Issue/Help

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Ken (SHIELDSIT)  
 To:  ALL
41840.1 
So lets say I have a PC with at least 2 Ethernet ports.  One is assigned an IP from DHCP, and one is set manually.  They are different subnets, so for example:

NIC 1:
IP: 10.36.8.
Subnet: 255.255.254.0
Gateway: 10.36.8.1
etc...

NIC 2:
IP: 192.168.0.1
Subnet: 255.255.255.0

The problem I have is this.  When both adapters are enabled the internet doesn't work.  It appears the computer is trying to use NIC 2, if I set a gateway address for NIC 2 would that fix this issue?  I see this on multiple PC's and it's pissing me off!
------------------------------------------------------------------------
"If you don't like donut, then leave it alone. Nobody force you to eat it."
0/0
 Reply   Quote More 

 From:  koswix  
 To:  Ken (SHIELDSIT)     
41840.2 In reply to 41840.1 
What OS?

Linux: https://www.thomas-krenn.com/en/wiki/Two_Default_Gateways_on_One_System

Windows: :'D

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.
+1/1
 Reply   Quote More 

 From:  Serg (NUKKLEAR)  
 To:  Ken (SHIELDSIT)     
41840.3 In reply to 41840.1 
Presumably only one of the NICs is connected to a network which has Internet access?

The GUI way is to go into TCP/IPv4 Properties, Advanced, and set a default gateway with a metric lower than any other default gateways (Windows will prefer the default gateway with the lowest metric). If you're still a bit stuck, do a "route print" and show us/me - via Hangouts if you want it less public.

If your machine is configured to use a DNS server on one of the local LANs, you'll need to make sure it's reachable.
[...Insert Brain Here...]
0/0
 Reply   Quote More 

 From:  Monsoir (PILOTDAN)  
 To:  Serg (NUKKLEAR)     
41840.4 In reply to 41840.3 
I'd say get rid of the DFGW completely on the second NIC. Even with metrics, it doesn't really make much sense to have two gateways defined IMHO - should just add static routes if required.
0/0
 Reply   Quote More 

Reply to All    
 

1–4

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats