Solved

Help with dual NIC config?

Posted on 2013-10-30
10
281 Views
Last Modified: 2013-11-22
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
Comment
Question by:blinkme323
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
10 Comments
 
LVL 6

Assisted Solution

by:ButlerTechnology
ButlerTechnology earned 250 total points
ID: 39612765
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
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 39612824
Yes, that's the way I have mine setup and for the same reasons as Tom listed.
0
 

Author Comment

by:blinkme323
ID: 39613088
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
Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39613126
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
 
LVL 6

Expert Comment

by:ButlerTechnology
ID: 39613782
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
 

Author Comment

by:blinkme323
ID: 39613883
No, that is private connection for internal routing (server to server, content switch, etc).
0
 
LVL 6

Expert Comment

by:ButlerTechnology
ID: 39614003
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
 

Author Comment

by:blinkme323
ID: 39614220
Unfortunately, I can't disconnect at this time.
0
 
LVL 28

Expert Comment

by:masnrock
ID: 39617510
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
 
LVL 28

Expert Comment

by:masnrock
ID: 39617913
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question