How to connect 2 separate networks to 1 nic?

By MosheGoren ·
One of our costumers wants to connect our product (which has 1 NIC running windows CE) to two separate networks he has in his plant for redundancy. Since I can setup the 1 NIC on our product to be multi-homed I wanted to know if there is a way to physically connect the two networks to the 1 NIC without compromising the network separation between the two networks?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

a simple switch

by harmlessrambo84 In reply to How to connect 2 separate ...

you can use a switch?

Collapse -

A switch might work, but what about arp, dhcp and other broadcast traffic?

by dave In reply to How to connect 2 separate ...

A simple switch will not keep these networks completely separated. A multiport router would be better, but would cost some bucks. Too bad you can't stuff another NIC in your equipment.

Collapse -

Reponse To Answer

by MosheGoren In reply to A switch might work, but ...

Could you please elaborate about the Multiport Router? I tried searching the internet but could not find a description that matched your answer.
What about VLAN? Is that an option here?

Collapse -

A multiport router is a router with two or more ports...

by Peconet Tietokoneet In reply to How to connect 2 separate ...
Collapse -

This won't work

by robo_dev In reply to How to connect 2 separate ...

Unless the CE device has two separate ethernet (or WLAN) interfaces, this won't work.

First of all, if there are two separate LANs, you need an interface on the device to plug into each LAN. You cannot put a hub or switch to connect to both networks, or you've created a network loop, crashing the entire network.

When Multihoming a Windows machine, there are two big gotchas:

1) You can have only one active default gateway on the client device.
2) NetBIOS over TCP/IP (NetBT) binds to only one IP address per interface card.

Someone here suggested a simple router to connect to each network; that would not really work, since that would be very risky in terms of how that device is configured. Even with a router, which would allow you to multi-net off of a single ethernet port, the issue remains that you are connecting their two LANs together, and the issues with the default gateway and netbios binding are still there. I am certain that whoever manages their LAN would never approve of adding a router this way.

The best solution would be an A/B ethernet switchbox, or configuring the CE box with a second ethernet port. Note that even with a second port or a switchbox, , it would likely require manual intervention to switch the PC to the secondary LAN if the primary LAN went offline, as the gateway would be wrong and the netbios binding would need to be changed.

Related Discussions

Related Forums