Configuring Multiple Network Interface with Single NIC

Hello Expert , I want to ask that, i have a single LAN (ethernet card) installed in my pc. But i want to access two different networks with different subnet masks all at the same time. So i want ask how can i install two different network work connections with a single card. So that i can access both the networks at the same time. Please specify method For Both XP and Linux , how can do it in both of them Thanks alot.
zeronexAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rikke_vpCommented:
Hi,

I really do not know any option in Windows as in Linux to obtain to different IP ranges on one NIC. What I would do is setup a VPN server in the middle that connects to one of the ranges. Then setup a single LAN-LAN vpn with that server so it gives a 2nd bridged IP adress in the correct range. That way you are able to browse both your networks...

Thats the only solution I can see for your goal...

Regards,
RIkke
rikke_vpCommented:
Oh,

this work-around is called "split tunneling"

Regards,
Rikke
zeronexAuthor Commented:
How is split tunneling Done , and how it will work.
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

zeronexAuthor Commented:
how about installing two tcp/ip protocol in the network connection problem , will it solve the problem.i mean adding two tcp/ip protcol and adding configuration or adding ip in the advance option.
rikke_vpCommented:
Its not possible to add a second TCP/IP protocol to the same device. Its the same dll so it dous not see it when allready installed. You could try adding the other IP range, gateway and dns services via the advanced functions in your LAN settings.

I would go for the VPN thing since thats constant and easy to monitor. Now if you got a problem with your connections where should you search since no one uses this method...

Rikke
ccomleyCommented:
This is easy on WIndows XP and on Linux.

Windows XP, right click on My Network Places, go to Properties, right-click on the network card in question and go to Properties, double-click on TCP/IP Protocol.

You will be looking at the normal "IP address" and "DNS servers" dialoge. You will need to turn off DHCP and set up the first IP address manually.

Now click on "Advanced" and you'll see the same IP and DNS data in a list-box, with an Add button underneath it.  Just click Add, and put in the *second* IP address and netmask you want to put on the card.

ISTR Windows XP supports up to five IP addresses per NIC. I've certainly used up to three and use two all the time. We use 192.168.100.0/24 as our main network, but I have added 192.168.0.100/24 to my machine so I can plug in customer routers and configure them from my PC without having to re-configure my PC all the time.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ccomleyCommented:
I should add that though Windows appears to let you add a Default Gateway to *each* network, in fact that's an error in the diaglog. Of course you can only have *one* default gateway operating. Youc an specify more than one in the config but Windows will try the first one and as long as that is reachable, will continue to use it, and will only switch to a different one if the first one becomes unavailable.

So accessing the two local networks is simple, if you have "remote" networks you may need to add static routes, or else select a *single* default gateway which points at a router which can reach any networks you're not directly connected to...
zeronexAuthor Commented:
Can you explain this VPN procedure in detail. so it would be able to do it or at least get an idea....
rikke_vpCommented:
--> ccomley : since he has 2 isp's I think he needs to specify the gateway's from both? And from your post I can understand that this is not possible? If it is I possible in any case I would suggest zeronex to us this method...

--> zeronex : as you ask the methods for both linux and XP I suppose you have multiple PC's in your environment.

Lets say you have 1 server and 1 client.

Setup your server to connect on ISP1
Setup your client to connect to ISP2

Setup a VPN server on your server.
Setup a VPN connection on your client.

Make connection with your VPN client to the server.

You can now surf true both your ISP connections

Regards,
Rikke
ccomleyCommented:
Rikke - no idea what you mean - looks like you've just found a way to route traffic via both ISPs at the same time which seems daft - double-loading one, and dependant on both. Without knowing more about why he has two LANs, and IF both have internet connections, and why he needs to talk to both, it isn't relaly possile to say more so I didn't. :)

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking Hardware-Other

From novice to tech pro — start learning today.