Question Locked

Dual NIC's and Dual Internet

0 helpful
19 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm using two ISP's. What I would like to do is have a dual NIC PC connect directly to the DSL modem with one NIC and serve as a bridge (not gateway) to a Wireless Linksys Router on the second NIC. On a laptop, I want to connect the wired connection to the Linksys Router so that the dual NIC PC and laptop can do windows sharing. The laptop is connected via the 2nd ISP through the wireless connection.

Once I connect the wired connection of the laptop to the Linksys router, the dual nic PC, they can share files with no problem.

However, once I do this, the Internet connection of both PC and laptop drop. It's like the computers don't know how to route Internet traffic.

Laptop config is as follows:
Wired IP: 192.168.1.104
Subnet: 255.255.255.0
Gateway: 192.168.1.1

Wireless IP: 192.168.15.100
Subnet: 255.255.255.0
Gateway 192.168.15.1

PC config is as follows:
NIC A IP: 192.168.1.103
Subnet: 255.255.255.0
Gateway: 192.168.1.1

NIC B IP: 65.x.x.x

Ultimately, I think what I need to do is to force both computers to use one particular subnet for ISP traffic and the other for Internal Network traffic.

Oh, Both computers are running windows xp pro.
Thanks for any feedback in advance.

19 replies

by triathlete1981

okay, so in moron-ville, you are paying for two isps. your laptop and pc are looking for the same gateway. the wireless ip, which i'm making an assumption, which makes an asz out of you and umption (bc i don't live in the land of stupid), is the wireless router is on a completely different subnet. this makes it impossible to communicate between the two.

get rid of your dsl. there's no reason to have it if you have wireless. configure your wireless router properly and have it server as the dhcp server to give your laptop and computer ip's on the same network.

for file sharing, share the individual folders or whole drive if you want and simply go to My Network Places, find the laptop or pc (depending on which computer you're at) and find the shared folders.

not difficult. you're on the right track with using one particular subnet.

by neon samurai

I'm looking at a new Mobo with two gigabit NIC's on it leading me to read the question as how would one machine use two NICs and ISPs thought the "briding" part should have clued me in.

As an example though, my network here comes from ISP to house cable modem which connects to the wireless router. Router provided DHCP to house network computers giving them all the same DNS, Gateway and Mask. It's what wifi routers are designed to do and should be wonderfully easy to setup.

If you want to stick to the specific question purely for interest sake; look at WinXP network sharing. You should be able to click on the "outside" NIC under network properties and be walked through "shareing" setup with a wizard. That's really only applicable though if the two NIC machine has a wired and wifi. Wired connection goes to ISP and get's shared to "internal network" which is actually only the second NIC (if wifi) connecting ad-hoc to your notebook.

It sounds like your setup is running the desktop through one ISP on wire and the notebook through another ISP on wifi router. Cut out the second monthly bill and run your two machines as clients under your wifi router; it should have a few wire ports on it also.

by triathlete1981

spend less money, get rid of the second isp, use only the wireless, share out what's needed. this is a forum for the repeaters as well. jabbotts is a repeater.

by cg it

Look on Newegg.com under wired or wireless networking/routers/dual WAN.

Configured properly, the router will utilize both WAN links for all hosts on 1 subnet.

by dkim68

My Neighbor and I have agreed to share ISP's when he away for the day. Therefore, my laptop accesses his ISP and my PC desktop, my own. I'm quite surprised by the number of replies that hate the question versus looking for an answer. Don't judge without clarification guys.

Seriously, I just want my laptop to occasionally hookup via wired connection to my home router (which happens to wireless and is not the same wireless as my neighbors access point). Then the wireless connection on the laptop would continue to access my neighbors wireless access point.

The problem is that once I hookup my laptop to my router via wired connection, my Laptop tries to access the ISP through the router which is hooked up to a second NIC of my PC which is hooked up to my DSL ISP with its first NIC.

Perhaps my neighbor and I should just pay for a T-1 or the like, but that's not in the plans for now. I'm just looking to see how the two of us can load balance our occasional needs for more internet bandwidth.

by cg it

you can use hardware profiles which will disable the wired and use wireless if that's the profile created. or vice versa.

here's a MS KB article on hardware profiles for Windows XP.

well at the time of posting MS Help and Support was unavailable. Just go to support.microsoft.com choose Windows XP and then search for KB articles on hardware profiles.

Might be what your looking for.

by marketingtutor.

From what I read, you're wanting to aggregate your bandwidth with your neighbor's, right?

If that is what you're intending, you're not going to be able to do that with your current setup. Each computer is going to route packets according to the routing table on each XP box.

Ultimately, if you're wanting to aggregate bandwidth, you will need some form of specialized hardware to do this. And with the equipment you mentioned so far, its just not going to happen. You can route your data through one pipe or the other, but not both at the same time.

The only *hope* you could have of achieving even a modicum of load balancing would be to turn off dhcp, set static IPs on all computers involved and manually setup the routing on all machines to route all traffic to IPs below 128.255.255.255 through one interface, and all IPs at and above 129.0.0.0 through the other interface.

All in all a major pain in the butt, and totally not worth the hassle for the questionable increase in bandwidth. How much extra bandwidth are we talking here? Your neighbor better have a 50Mbit FiOS for all this pain you're going through.

Heck it would be easier to just go get a part-timer and McD's flippin' burgers a couple of hours per week and pay for a bit more bandwidth on the DSL.

What you want to do can be done, but not with your current hardware.

Oh, and a T1 is crap nowadays. Not what they used to be back in the 90s.

HTH

by triathlete1981

i won't call you stupid. but you're still in moronville if you have a wireless router and are using your neighbor's anyway.

listen gomer, if your pc is connected via a landline to a DSL connection, if you try to connect via the landline and the landline is a DSL connection, naturally you're going to get access to the Internet from the DSL. 1 + 1 = 2.

" I just want my laptop to occasionally hookup via wired connection to my home router (which happens to wireless and is not the same wireless as my neighbors access point)."

if you're connecting with a wired connection, you're not wireless are you? 2 + 2 = 4.

as for sharing a t1, go ahead and spend the money. don't buy a t1. if you want, use an 802.11a wireless router, which is stronger than the regular POS's that ISPs give you and share THAT. it's bc of ppl like you that we it pros have jobs.

by bugmenot

"
The problem is that once I hookup my laptop to my router via wired connection, my Laptop tries to access the ISP through the router which is hooked up to a second NIC of my PC which is hooked up to my DSL ISP with its first NIC.
"

Change the metric on the interfaces. Make the wireless one "1" and the wired interface "2." XP has these set to "automatic" by default. And I would guess that XP is "automatically" preferring the wired connection to the wireless connection.

by animatech

I just draw your setup on a piece of paper and 2 things jumped to my eye straight away.
One problem which is probably why your internet connection is dropping is that the laptop does not know which IP to choose from (You probably have some ip conflicts) this is a result of the 2 routers that act as a dhcp and trying to assign you laptop with an IP address.
You will be OK as long as you choose one or the other.
To get what you want you probably will need to invest in a router that act as a switch\bridge as you running on 2 different subnets(might be worth a while to check your router doco and see if you configure one of them to act as a switch\bridge).
Another way is to actually install a DHCP and configure 2 VLANS - but I think that wont be a real solution as you connect to your neighborer's ISP and he will need a DHCP running on his network :)
As for the use of the 2 NIC on one PC when one of them is used as a bridge to the other one I don't think that's possible as this is not one of the NIC functions (All NIC does is converting the data to the appropriate signal for the medium it is using light,electrical signal or radio signal).
As for sharing your files while you are running on another segment of the network I am not sure as I never had experiment with this but I am sure there are more experienced members over here that can give you the answer for this.
I would presume that as long as you are a part of the workgroup which is based on a logical name you should be able to share your files does not matter what your IP address is but I may be wrong on this.
Hope this help.

by wallowamichael

Get rid of your gateway configuration on the wired network. Keep the laptop IP 192.168.1.104 and the pc IP 192.168.1.103, but configure them manually with no gateway and no DNS settings.

Your pc and laptop should find each other in the same network on the same switch via arp.

Then your Internet connections won't drop when you do file sharing between the local computers, because each computer knows how to get to the Internet through its other network connection.

Be sure to keep the gateway and DNS settings for the Internet connected NICs. Have fun!

One other thing, this will not allow you to share bandwidth. If you want to share bandwidth, you are going to have to shell out some cash for a better router than the one you already own. Even with XP internet connection sharing, etc., you won't be able to get it to work without some serious hacking.

by rclark07m

You might take a look at your routing tables, as well as your metrics. Make sure the metric for your wireless on your laptop is lower than its wired NIC's metric (I'll bet it's higher now), and that your NIC B metric is lower than the metric for NIC A.

In other words, make sure the NICs connected to your Linksys have higher metrics than the other two NICS.

I believe that will take care of the problem , because only traffic sent to 192.168.1.x will travel between the computers and the Linksys due to their higher metrics, and all other traffic will go to the other NICs and their respective ISPs.

You can view metrics with "route print" and change them under TCP/IP Advanced in the NIC properties.

By adjusting the metrics, I don't believe you will need to delete the 0.0.0.0 routes for NICs connected to the Linksys.

One more point: If you connected your DSL modem to the Linksys, than your home PC would be protected by the firewall. With the DSL connected through the Linksys, and using the metric setup suggested above, when your laptop is connectd to your neighbor's WLAN, you will access the Internet through it, and when it isn't, you will automaticaly access the Internet through your Linksys.

Actually, I believe everything will work once you adjust the metrics whether or not you connect your DSL to the Linksys instead of the desktop, provided you are able to access the Internet now when connected to the desktop via the Linksys when not connected to your neighbor's WLAN.

by mzufall

This looks like it might be interesting, though I did not look at the specifics.
http://mahapc.com/index4.htm
To fix your immediate problem of dropping the internet connection when you plug in the wire for file sharing to your desktop, try this.
Sounds like for the laptop you use your friends ISP?
Configure the wireless NIC conventionally (DHCP or static-however it is);
your "wired" NIC can be configured as a bridge (Network Connections>Network Bridge=enabled) In the bridge properties, select the built in NIC. Manually assign it an IP address on the correct subnet (192.xxx.xxx.xxx) with 255.255.255.0 sn mask; do not configure the gateway; select to specify a DNS address but do not input one.
This should allow the wired NIC to communicate with your desktop for file sharing without interfering with the desktop or laptop internet connections.

by mylittlemansanidiot

from being a pompous ass, and just answer the OPs question instead of forcing your special brand of judgement on him. There could be any number of reasons the OP wants to use 2 seperate ISPs, none of them are your business. He didn't ask for a ALTERNATIVE solution. He listed a very specific set of criteria, and asked for a solution. Which it seems has been answered by several people already without the need to belittle the OP.

by triathlete1981

mylittlemansanidiot. at least i gave a suggestion. all you did was comment on me. appears to me like you don't know anything aside from the fact that your little man's an idiot. the little man would be your husband? your son?

by barrykaiser

Hi,

I have a similar question.
I have a wireless router and 2 PCs with wireless PCI NICs and Wired connections.
The problem is directing traffic.

The first PC is my 24/7 Firewall/Proxy. It connects to a hub with other PC?s and a NAS.
It also provides DHCP/DNS/NAT to everything on the Switch/Hub.

Nic#1 ? 192.x.x.x to Wireless Router -> ADSL -> Net
Nic#2 ? 10.x.x.x to Switch/Hub -> Other PCs? and NAS

This all works fine as everything is a client of the FW/Proxy.

The problem is that 1 of the ?Other? PCs has the same Dual NIC configuration, but is NOT used as a FW/Proxy. The Single NIC clients have no problem at all, but the 2 Dual NIC PCs? seem to switch back and forth on how to communicate with each other. I may be copying a 1GB file and it?ll go through the MUCH slower Wireless NIC to Wireless Router to Wireless NIC instead of using the 100/Full Backbone connection witch is obviously faster (50-50 chance). I also do not want the Non-FW/Proxy Dual NIC PC to access the Net via the FW/Proxy.

I?ve read the previous comments but it doesn?t seem that any really apply to me.
To be clear, the second (None FW/Proxy) PC must go straight to the Wireless Router for all internet traffic and use the backbone only to communicate with other PCs on my LAN.

I don?t think changing metrics will work as that would route all traffic.
My LAN does not use WINS, but I was wondering if I could somehow enable WINS (and then use metrics for DNS) to state something like all names are resolved by WINS first (Hosts/LMHosts) and if resolved by WINS use the backbone and all names resolved by DNS [or All names not resolved by WINS use DNS (lower metric for direct connection to Wireless Router for both PCs)] use the Wireless Router and never (if possible) use the backbone.

Does anyone know how I can accomplish this?

by jmedina1969

one other option is to use VMware or MS Virtual Machine. You can configure your VM to use the wireless NIC and will act as a node on your neighbors network. This will also allow to still access files on your laptop via the vMware file sharing.

by ricgal

One thing I have noted doing tech support for a major cable company, is the different ip addresses given by routers and such.

Defaults (?)
D-link 192.168.0.x
Netgear (older?) 192.168.0.x
Netgear (newer?) 192.168.1.x
Linksys 192.168.1.x
Motorola VoiP adapter 192.168.15.x
leased integrated gateway (regardless
of brand) 192.168.0.x
Standby on some Modems and integrated
phone/internet modems 192.168.100.x
Apple Airport 10.x.x.x

Subject to correction
This may be of help to someone.

blessings

This discussion is closed to new replies.