Connecting to two LANs simultaneously

Posted on 2004-10-22
Last Modified: 2010-04-10
I am currently connected to my office building LAN using a built-in NIC card.  It is a standard ethernet LAN connection using Novell and TCP/IP w/ DHCP.  However, I have a need to connect to a second LAN made up of a couple of computers in my office.  I have purchased a switch in my office and have assigned those computers static IPs.  I also installed a second NIC in my PC running XP.   Is it possible to connect to these two networks simultaneously?  I do not want to bridge the two networks as I don't want these computers to be on the office network.  If so, how should I set it up, and how do I reference the IP addresses of this small network when pinging, etc...

Thanks for your help,
Question by:bnicosia
    LVL 11

    Expert Comment

    Your XP machine now has two NICs; one should have an address from DHCP on the office network, and one assigned from the range you're using for your private LAN, which must be a different range.  So when you refer to an IP on the private range, XP will see which NIC is directly on that range, and use it.

    I forget the details of disconnecting the NICs from the XP bridge, but it's pretty simple.

    LVL 27

    Expert Comment

    I do this all the time.  As long as your 2nd network doesn't exist anywhere through your first you'll be fine.  So, you set up a new net and it's and all your other networks are, .2.0, and .3.0.  Your 2nd NIC will be on the 2nd network connection to .100.0 network.

    What you need to look for are two default gateway's in your routing table, which is bad.  

    in a command line, type:  route print

    If you have two destinations for network, then delete the second one by typing:

    route delete (ip address of 2nd gateway here)
    LVL 4

    Accepted Solution

    It sounds like the second lan in your office is just a small closed network. So that poses no problem. You simply put a second NIC in your machine. When you boot up it will be detected and everything will be hunky-dory for the hardware. Just configure the NIC for the second LAN. This network will need to have a different IP segment than the first. Let's say  So you might assign your machine and enable NetBIOS over TCP/IP. Put the machine in the same workgroup as the other devices on that segment and voila. When you look in network neighborhood, you'll see the name of the workgroup under the entire network icon and under the name of the workgroup will be all of the NetBIOS machines.

    You can leave the other NIC alone as long as you've made sure that it is not on the same network segment (not in this example) that you don't have you're computer set up for internet sharing or routing services available. You'll be able to see the resources on that network just like you are accustomed to seeing them.

    It's really a whole heck of a lot easier than it seems like it should be. Let me know if you need any more details I'll be glad to help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    I imagine hoaxes have been around since people learned to speak, scams since bartering, chain letters since Pony Express, spam and embedded viruses since email was invented in 1971. Still all those things are alive and well today despite many techno…
    Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
    After creating this article (, 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…
    After creating this article (, 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…

    931 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now