Routing between a net and a subnet



  • Hi to all,
    I work in an address space made by two contiguous C class (254 addresses) network joined by a 255.255.254.0 netmask for a total of 510 available static addresses.
    Having to install three ip cameras, after many tests, I realized that their configuration software is able to assign to each interface only the 255.255.255.0 netmask. This is clearly a problem from many points of view.
    The question is: is it possible solve this mismatch by using pfsense? And in the case, how?
    Sorry for my english, and thanks in advance to all.

    chalten



  • @chalten Is there any reason you can't define a new 255.255.255.0 subnet specifically for your camera system in a different address space? Your router should be capable of routing between the them on the same hardware. For example I have a 10.10.10.0/24 and a 10.10.11.0/24 using the same network hardware and I routinely switch my machine between them when I need to utilize the other default gateway and firewall rules in my pfsense. Is there any reason you feel this isn't an option?



  • @techy2493 said in Routing between a net and a subnet:

    Is there any reason you can't define a new 255.255.255.0 subnet specifically for your camera system in a different address space?
    Thanks. Of course, let's say I am -obliged- to do this: the configuration software of the cameras assign to the devices only a 255.255.255.0 netmask.
    In this way they are visible either from the machines in the A subnet or from the nodes in the B subnet, but not from all of them.
    So the problem arises when I try to manage the cameras from a machine 'correctly' configured, i.e. with a 255.255.254.0 (belonging to the C=A+B net): if machine in the A subnet it sees only the A subnet, and dually the same for the B sub(half)net.

    Your router should be capable of routing between the them on the same hardware. For example I have a 10.10.10.0/24 and a 10.10.11.0/24 using the same network hardware and I routinely switch my machine between them when I need to utilize the other default gateway and firewall rules in my pfsense. Is there any reason you feel this isn't an option?d

    No, any particular reason. But having these constraints to the setup I was asking to myself and to the forum if pfsense could be a solution to it.


Log in to reply