Dedicating a LAN to one IP address only

Striplar

Junior Member
Jun 9, 2014
1
0
0
I would have thought this was easy for someone with networking knowledge, but nobody seems to know the answer to this simple question.....

This is a very specific requirement for a CNC control card that has a static IP address of 10.9.9.9
I've added a second LAN card to my PC which has an IP address of 10.9.9.8
I've added a line in the route table as follows...

route -p add 10.9.9.9 mask 255.255.255.255 10.9.9.8 which works fine.

However, there is still some traffic that fails to connect using the primary LAN on the motherboard which then tries to connect using the second LAN adaptor.

I can see that there are two entries in the route table that mention my second card but I don't know if it's those that are allowing this traffic to use it.

Those lines are as follows....

224.0.0.0 240.0.0.0 On-link 10.9.9.8
255.255.255.255 255.255.255.255 10.9.9.8

Should I delete those? I'm not sure it will allow me to.


So the question is...

How can I make certain that no other ip addresses can try to use the 10.9.9.8 adaptor?
 

John Connor

Lifer
Nov 30, 2012
22,757
618
121
This question should be in the networking sub forum. You might have more replies.

Nothing should try to connect to 10.9.9.8. It may just be the additional tables in the router.
 

simonlok

Junior Member
Jul 7, 2014
3
0
0
You probably set the subnet mask on the secondary adapter (that only connects to the CNC machine) to be too wide. Do you know what the SNM that the CNC machine is one? Is it /24? If so make sure that matches. You should not need to put a static route in to make that work as long as your SNMs are correct.