2 Subnets on 1 Lan

David Timms dtimms at iinet.net.au
Fri Jul 13 12:55:04 UTC 2007


Dave Ihnat wrote:
> On Fri, Jul 13, 2007 at 08:32:52AM -0400, Thom Paine wrote:
>> I have a small network that is 10.10.10.x and I have a few PLC devices
>> that I'd like to be able to talk to that are on a 192.168.0.x segment.
>>
>> Can I put some sort of a route statement into my fedora server that
>> will link these two so that I can talk to the 192 devices from my pc
>> on my 10 network? I use my fedora box as my router and dhcp server.
> 
> Eh, the *proper* way to do this is to throw a second NIC into your Fedora
> server and configure it to the 192.168.0 network.  Then Fedora will happily
> route between the two.
> 
> You really shouldn't mix subnets on the same segment.
On a small {private} network, I don't think mixing will cause issues; at 
least it doesn't for me.

Simply adding a second address to the netcard eg eth0:1 works nicely. 
You only need to do routing if you indeed want these devices accessible 
from outside the segment they exist on.

DavidT.




More information about the fedora-list mailing list