Question : Setting up Default Gateways Using 2 NICs and WINS

Heres the problem. I have 2 network cards setup on my computer.
NIC1- This is my internal network and it uses DNS and WINS name resolution.

NIC2- This is my internet connection. I NAT a public address through my cisco router to my 10.3 NIC2 address.

The problem is that in order to gain internet access i need to have a default gateway setup on NIC2.  AND No Gateway on NIC1. In the past i was able to successfully do this, and resolve names on NIC1 and access the internet on NIC2.

Now having a default gateway on NIC2 and none on NIC1. All name resolution is trying to go out NIC2. So any internal 10.1.x.x name resolution is trying to resolve out my router. If i enable a default gateway on NIC1 and remove the gateway on NIC2 name resolution works fine. However I can not get on the internet through NIC2.

The only difference that was made recently was the addition of a Nomadix gatway on the 10.3.x.x network. So all of my internet traffic is now going though that.

The NATting still works fine. Not sure what the problem is here. Any help would be appreciated.

Thanks!


Heres my config.
NIC 1:

Connection-specific DNS Suffix  . : mohonk.com
Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network Connecti

Physical Address. . . . . . . . . : 00-07-E9-74-07-4F
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.1.69.1
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 10.1.1.5
Primary WINS Server . . . . . . . : 10.1.1.5


NIC 2:

Connection-specific DNS Suffix  . :
Description . . . . . . . . . . . : 3Com 3C905TX-based Ethernet Adapter)
Physical Address. . . . . . . . . : 00-10-4B-94-65-12
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.10.1.254
Subnet Mask . . . . . . . . . . . : 255.255.0.0
IP Address. . . . . . . . . . . . : 10.3.69.100
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 63.x.243.146
DNS Servers . . . . . . . . . . . : 63.x.0.162
                                           63.x.255.251

Answer : Setting up Default Gateways Using 2 NICs and WINS

The IP address associated with your hostname (altris.mohonk.com) is 0.0.0.1.  Your hostname should be resolving to 10.1.69.1.  This doesn't sound like a routing issue but rather a DNS issue.  You need to setup your internal DNS so that it forwards DNS requests to your ISP's DNS servers.  Then set both adapters to resolve names on the internal DNS servers.  Internet hosts will first check with your Internal DNS server then be forwarded to your ISP's DNS servers.  Name resolution should work at that point.

You should not need to setup a route as you will already have a route to the 10.1.0.0 subnet in your routing table.  You will also have a route to the 10.10.0.0 subnet, the 10.3.0.0 subnet and a default route 0.0.0.0 to 10.3.1.1 (the router).  You can type "route print" at a command prompt to verify the routes.

You are getting the destination host unreachable from your ISP's router because your hostname is resolving to the 0.0.0.1 address.  This network is not in your routing table so it is being sent to the default gateway 10.3.1.1.  Your router also does not have a route to that network so it sends it to its default route (your ISP's router).  Your ISP's router gets the request and reports back the destination host unreachable.
Random Solutions  
 
programming4us programming4us