0

I have a Windows PC with 2 NICs; one NIC connects this machine to the local LAN while the other NIC connects this machine directly to an X-ray machine (which I'll call the RayLAN).

So my question is this: Is it possible that an IP address on the local LAN would conflict with the statically assigned IPs on the RayLan? I'll rephrase with more specificity: If the RayLAN NIC was assigned 192.168.1.200 and some other PC on the local LAN happened to have that same IP, would that be a problem? My gut says no as these are two separate networks that are not bridged.

Thanks! Barry

1

Both your PC's links need to use distinct IP subnets without overlap. If the RayLAN NIC uses 192.168.1.200/24 then you can't use any address from 192.168.1.0/24 anywhere else in your network without causing problems. You don't even need an IP address collision, a subnet address collision already is a problem.

Specifically, your PC wouldn't know where to route packets destined for 192.168.1.0/24 but not to the RayLAN. Since 192.168.1.0/24 is directly connected it would attempt to contact any 192.168.1.0/24 destination directly via ARP and without using a gateway.

When both NICs' subnets are supposed to be separate each one needs a distinct, non-overlapping subnet address that is not used elsewhere.

There are ways to (somewhat) make everything work despite the collisions (like using longer subnet masks/prefixes, specific low-metric routes, or even NAT) but your life will be much easier if you sort out the address problem once and for all.

  • I'm afraid you lost me with the "192.168.1.200/24". I understand the first part but don't understand the significance of the "/24" part of it. I do understand the subnet part. I need to make sure the two subnets are different. If the LAN network is using 255.255.255.0, may I use (for the private RayLAN) something like 255.255.0.0? Is that enough of a difference -and- is that "255.255.0.0" okay if I make both the X-ray machine and the PC's NIC (for the private RayLan) that same 255.255.0.0? – rumplestiltskin Jun 12 at 4:09
  • I'll add that there is no Internet access for the X-ray machine nor the PC (when using that private NIC); that PC -can- access the Internet with the other NIC (and, in fact, that NIC is used when other machines on the LAN need to copy files on the PC to those other machines. – rumplestiltskin Jun 12 at 4:13
  • Check out networkengineering.stackexchange.com/questions/7106/… for the relevance of subnet masks; making the mask shorter increases the problem. Whether Internet access is possible doesn't matter, you can't have duplicate host or subnet addresses in your network. – Zac67 Jun 12 at 4:56
  • @rumplestiltskin 192.168.1.200/24 means the IP address 192.168.1.200 in a /24 subnet (or with the 255.255.255.0 network mask). You cannot re-use IP addresses in any case, even when you change the network mask somewhere. IP addresses need to be unique, no matter the subnet size. – Zac67 Jul 12 at 10:54
-1

It won't cause any conflict if they are connected to different network switches.

  • 1
    That is an overly broad statement that is wrong under many circumstances. It could certainly be a problem, even if they are connected to two different switches, if the switch interfaces are part of the same VLAN. – Ron Maupin Jul 12 at 13:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.