Two NICs on different networks
Thrax
🐌Austin, TX Icrontian
Having a bit of a conundrum, here.
I have a wireless card with the following configuration:
DHCP-Assigned Address: 10.3.1.x
DHCP-Assigned Gateway: 10.3.1.1
This network card accesses INTERNET functions only.
I have a wired card with the following configuration:
Static Address: 10.1.1.250
Static Gateway: 10.1.1.1
This network card access INTRANET functions only.
How do I set it up so any address that goes to 10.1.* or 172.* goes across my 10.1 interface, and everything else goes across my 10.3.*?
I have a wireless card with the following configuration:
DHCP-Assigned Address: 10.3.1.x
DHCP-Assigned Gateway: 10.3.1.1
This network card accesses INTERNET functions only.
I have a wired card with the following configuration:
Static Address: 10.1.1.250
Static Gateway: 10.1.1.1
This network card access INTRANET functions only.
How do I set it up so any address that goes to 10.1.* or 172.* goes across my 10.1 interface, and everything else goes across my 10.3.*?
0
Comments
/24 for 10.1
What is 10.1.1.1 and what is 10.3.1.1? Meaning what kind of equipment are they?
EDIT: What do you mean /28 and /24 for subnet masks?
/28 means 255.255.255.128, 255.255.255.0 is /24.
Same question though... are 10.1.1.1 and 10.3.1.1 two separate routers, since they are the default gateways?
Anyway...is it not working right now? Based on what you have posted...it should be doing it already.
If I type 10.1.x.x into the browser, the 10.3.x.x gateway isn't going to know what to do with it, the request will go out over all network connections automatically, so the 10.1.1.1 gateway will answer and send you on your way.
When I have done 2 separate NIC's...I never had to specifically configure anything, the routing table just updates itself accordingly.
Can you post a SS showing the results of the command: Start > Run > CMD > Route Print.
There are more elegant ways to do this using routing on the domain controller (is this even on a domain?), but to get it to work, you should just google a quick windows static routing primer.
You can see the entries: 10.1.1.0 meaning anything with that scheme...goes through 10.1.1.250.
10.3.1.0 goes through 10.3.1.52.
That in itself should be getting your requests to the right place.
Have you tried a tracert to an internet destination and an intranet destination?
BTW... according to this... you are on /24 and /25 not 28: http://en.wikipedia.org/wiki/Subnet_mask
Try flushing the route cache: route -f
And that's what's pissing me off, I know that the route print looks good, which is what stumps me.
//EDIT: Prime, I have no control over the routes, just my interfaces.
I am assuming others in the company have similar network configs and they don't have issues?
I get straight timeouts or destination unreachable when both networks are running.
On the INTRANET card, remove the gateway. Then enable both NICs and you should be able to reach the internet and anything on 10.1.1.0/24 network (but not 172.*) Adding a static route to 172.* would fix that.
Gateways are "last resorts" so having one on both NICs is a toss up for where "unknown" (non-local) network requests get sent. By removing the gateway from the INTRANET you should force all non-local network requests to be sent out the INTERNET NIC.
Also make sure DNS is reachable on both NICs or you might have to adjust settings for that too.