• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

Help with dual NIC config?

Hi,

I was hoping someone could expain this dual nic config that one of our customer's has.  The first nic is public (and appears to have a nat'd ip) while the second is private (with non-nat'd ip).  Everything is currently working, but I'm curious as to 1) why there is no gateway defined for the public IP?  2) why a nat'd IP for the public? and 3) what is the significance of the default route?  Below is the ipconfig snippet (with the ips changed of course)  along with the default route:

Ethernet adapter Public - 1.2.3.4:

   Connection-specific DNS Suffix  . : users.public
   IPv4 Address. . . . . . . . . . . : 1.2.3.4
   Subnet Mask . . . . . . . . . . . : 255.255.254.0
   Default Gateway . . . . . . . . . :

Ethernet adapter Local Area Connection 4:

   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 5.6.7.8
   Subnet Mask . . . . . . . . . . . : 255.255.252.0
   Default Gateway . . . . . . . . . : 5.6.7.89
-----------------------------------------------------
 IP               MASK        GATE          METRIC
0.0.0.0          0.0.0.0     5.6.7.89       1  

Thanks!
0
blinkme323
Asked:
blinkme323
  • 3
  • 3
  • 2
  • +1
2 Solutions
 
ButlerTechnologyCommented:
A system with multiple NICs will tend to only have a single IP address that has a default gateway.  In a simple NAT network, the IP without the gateway address will be the gateway for the clients on the internal network.  The purpose of the default gateway is to allow the system to access outside resources -- specifically the internet.  The route is the catch all.  If there isn't a matching route than the default gateway is used.

Tom
0
 
Dave BaldwinFixer of ProblemsCommented:
Yes, that's the way I have mine setup and for the same reasons as Tom listed.
0
 
blinkme323Author Commented:
Thanks for the follow up.  That's why I can't get my head around this one since the private nic seems to have the gateway.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
Dave BaldwinFixer of ProblemsCommented:
That would be Ok if somewhere on that network is a router that goes out to the internet.  That would leave the 'Public' IP for traffic to the server instead of local traffic that goes out to the internet.
0
 
ButlerTechnologyCommented:
Just for clarification...

Ethernet adapter Local Area Connection 4:

   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 5.6.7.8
   Subnet Mask . . . . . . . . . . . : 255.255.252.0
   Default Gateway . . . . . . . . . : 5.6.7.89

Is this the NIC that is connected to your ISP?

Tom
0
 
blinkme323Author Commented:
No, that is private connection for internal routing (server to server, content switch, etc).
0
 
ButlerTechnologyCommented:
This might sound silly - Can you unplugged the cable to your ISP to verify that it is the correct NIC in the system?

Tom
0
 
blinkme323Author Commented:
Unfortunately, I can't disconnect at this time.
0
 
masnrockCommented:
No need to disconnect anything, just trace the cables and make sure that things are going to the right place. I'm assuming that the client's network is working properly in spite of its quirks? I'd be wondering if the NIC with the public IP address is even in use for anything. If this is the server we're talking about, maybe it had previously been used as a router?
0
 
masnrockCommented:
Better yet, is there a private network making use of public IP addresses? Doesn't make sense, but it wouldn't be impossible either.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 3
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now