Multiple non tagged subnets
-
Your question has been answered multiple multiple times already.
-
@JKnott your not getting - at a loss to how anyone could be this dense..
What part do you not understand that running different L3s on the same L2 provides no isolation. I don't care if its ipv4, ipv6 or some new IPvX -- you are not isolating anything if your just changing the IP address used.
You can run multiple IP schemes on the same L2, but these are all meant to be the same network - your not attempting to isolate this from another network.. They are all the "same" network - just using different L3 schemes..
Device A having IPv4, IPv6 (gua and ula) link-local etc.. makes no difference when they are all the same L2 and meaning to talk to each other, and not trying to isolate them from device B.
But if you put device B on this same L2, and just giver it some different IPv4, or IPv6 either ula or gua - your not actually isolating anything! This is the basic concept you just don't seem to grasp..
You stating that you can run multiple Address schemes and provide anything is FUD!! There is ZERO point to running multiple address schemes on the same L2 if your goal is isolation.. If you want to run gua or ula or link-local be it ipv4 or ipv6 have at it - but don't think just using some different IP scheme on the same L2 provides anything in the way of security.. And if your not trying to secure anything - its pointless to run multiple different addresses in the same family be IPv4 or IPv6, gua or ula..
If your not trying to isolate then just use 1 address scheme since your not actually isolating anything.. This is the point the OP seems to be missing.
It can be done - not with any sort of easy way to dhcp.. Nor can you make firewall rules between an native address and some vip you put on the interface - why, because its POINTLESS because you can not secure devices from each other on the same L2 no matter what address you put on the devices.
-
@johnpoz said in Multiple non tagged subnets:
jknott is providing BAD information.. IPv6 is no different than IPv4 with some magic sauce to isolate devices on the same L2 just because they using different subnets/prefixes
Please see the link I provided in the other message about multi homing with IPv6. It is designed to support it. Why is it there, in RFC7157, if it's bad info?
John, I know you have a lot of experience in networks, but I get the impression you don't do a lot of research on the details. I knew about multi homing being built into IPv6 years ago, because I have made a point of learning as much about IPv6 as I can. For example, if you were to read IPv6 Essentials 3rd ed. (O'Reilly), on page 23 you would find:
"The global routing prefix identifies the address range allocated to a site. This part of the address is assigned by the international registry services and the Internet Service Providers (ISPs) and has a hierarchical structure. The subnet ID identifies a link within a site. A link can be assigned multiple subnet IDs."
Or Cisco's IPv6 Fundamentals: A Straightforward Approach to Understanding IPv6 2nd e. pg. 127:
A global unicast address is configured on an interface, which can be configured with one or multiple GUA addresses. The GUA addresses can be on the same or different subnets, and they can be configured manually or obtained dynamically.
So, yes multiple subnets, on the same interface, are part of how IPv6 was built.
-
YOU DO NOT GET IT --- where in that RFC does it state that using address X scheme vs Y on the same L2 provide any sort of security..
Sorry but device A on same L2 as device B you can not secure them from each other by just changing the Address scheme used.. YOU CAN NOT!!!
-
@johnpoz said in Multiple non tagged subnets:
@JKnott your not getting - at a loss to how anyone could be this dense..
Please read the info I provided in the other messages and tell me again I'm dense. Or are you also claiming Cisco and Silvia Hagen, the author of IPv6 Essentials, and the authors of that RFC7157 are dense?
-
Dude I have read - I suggest you read it again.. And point out where your actually securing anything by using different address schemes on the same L2... I don't give 2 shits what the different address schemes are used for..
Just completely flabbergasted how anyone in the field could be this dense..
-
You're going way off point. The OP asked about having a 2nd subnet on a LAN. We are all aware that the best way is to use a separate LAN or VLAN, but there is absolutely not reason to not use a 2nd subnet if that does the job. No, there is no protection from other devices on the LAN, but there is some from elsewhere. For example, on IPv4, NAT is often used. If he doesn't set up NAT to the 2nd subnet, then it's unlikely it can be reached from anywhere beyond the local network. Even if someone on the main subnet tries to reach something on the 2nd subnet, they'll get ICMP redirects, which will prevent them from reaching it. They would have to create an alias on their computer too to get around that. That is something that is likely to be beyond the skills of typical users, particularly if they don't have admin or root permissions.
Are the OP's goals high security? Or just enough to keep out casual attacks?
-
@pf_checker There is no point in using two different subnets on the same broadcast domain. You will not get the security that traditional VLANs provide if that's what you want. They will not be isolated. If you want to do a router on a stick configuration, you will need a managed switch. Otherwise you will need another physical interface on your pfsense box. Sorry, there's just no way around this.
-
@jknott I would think if OP is compromised that anyone that did it is savvy enough to do a simple ARP scan using nmap. Sometimes pinging the broadcast address is all you need to see every device on the network. I'm not sure there's any reason to have multiple ranges on the same broadcast domain, at least with IPv4.
-
@jknott said in Multiple non tagged subnets:
he OP asked about having a 2nd subnet on a LAN
And he was given the correct answer.. You are the one going on about running multiple different addressing schemes.. That have nothing to do with a firewall and securing anything.. Because its not secure if they are on the same L2..
If its "not" secure there is ZERO point to running another same type address scheme.. As I already stated running 192.168.10/24 and 192.168.20/24 on the same L2 provide ZERO anything other then headache.. If you to have some devices on 192.168.10.X and some on 192.168.20 for example then just run /16 or 192.168.0/19 and now you can use those different IP ranges - but they are all on the same L2 network its pointless to try and run different address schemes.. In the same family of addresses.
So the correct answer to the OP question is don't! He can if he wants via a vip, but there is no way to firewall between a vip network and native address on the interface. Since its pointless - even if you could create rules.. They are actually false!! Since your not actually isolating anything.. Since the devices are on the same L2.
@JKnott you tend to lead users down the WRONG path.. On semantics, your tagging advice about dumb switches don't strip them.. So what? It's not secure be it you can run tags over the device or not.. It doesn't understand them.. so it doesn't isolate traffic between the ports..
Same sort of thing in this multiple address schemes on the same L2 - it provides no security..
-
@pf_checker said in Multiple non tagged subnets:
@JKnott please help me wade through, that for me are, muddy waters. Is there a step by step available?
As I and John have both mentioned, the best thing for you is a managed switch to separate the VLAN from pfsense into a native LAN that supports the subnet you want to use. BTW, no need for a /16, unless you have several thousand cameras. Address classes have been obsolete for well over 20 years. Just pick the appropriate subnet size and set the mask accordingly. What you are trying to do, while possible, is not advisable. As I mentioned, you really need to know what you're doing when you try to get fancy with with things. Both John and I have years of experience (my LAN experience goes back to early 1978, Ethernet to the late '80s and IP, spring 1995) and would have no problem being able to do what you want and I have provided the info you need to do that. The next question is whether it's advisable, given your limited experience.
-
@johnpoz said in Multiple non tagged subnets:
They are actually false!! Since your not actually isolating anything.. Since the devices are on the same L2.
Yep and I haven't claimed otherwise.
-
@jknott said in Multiple non tagged subnets:
Yep and I haven't claimed otherwise.
Then DON'T even bring it UP!!
-
-
@johnpoz Heh heh, I don't post here much but I have to say that I appreciate your blunt, straight to the point responses. Obviously OP has a flawed understanding of what VLANs are.
I would start with reading up on broadcast domains if I were OP since the point here is to put their cameras on a separate broadcast domain (or VLAN) where one device would have to go through the firewall (or router/L3) to communicate with a device on the other L2/VLAN.
-
@johnpoz WOW!! As a newcomer to this community (and the software) I am flabbergasted.
Is this the level of communicative skills one can expect going forward?
I am not trying to be a dick but I am seriously looking to go back to OpenWRT at the moment because network science and politics should stay separate.I am not sure you all have heard about the blunder flamewars agains OPNsence but things like this need to not happen!!
It is simple. Either please show me how to get where I need to get or tell me it is not possible.
@RadicalEntity this is just a small home setup. Only thing I care about is not having IoT talking home to china.
Is this such an uncommon use case? And yes there are ways around it. Not trying to be a bitch but other software does this out of the box.
-
@radicalentity obvious? flawed? I never wanted to talk about vlans from the get go. I think you need to gather more of my knowledge about a certain subject before you are making statements.
now what is it you would like me to explain to you so you can start making judgements?
please settle down, stop drinking the coffee for a moment and breathe
-
BTW, this is by far the most hostile forum I have ever been on. I am not sure if you guys are doing this deliberately or just having a bad day at the office.
-
@pf_checker Are you trolling or something? If you're not that concerned about security then why do you want to do two separate subnets? What are you trying to ultimately accomplish? If you want help, then answer that question.
But if you're really set on this idea, then you need to turn off DHCP since it won't work properly at all and then use hard coded static IP addresses on all of your hosts with subnet masks set accordingly. The problem you will run into here is your default gateway if you want your devices to talk to the internet. If I recall, you can only set one static IPv4 address on an interface in pfsense.
-
@radicalentity so when critical questions or observations are being made one is a troll?
No, I just want to get my shit together.
10.30.x.x. camera
10.20.x.x other devices
10.19.x.x. servers
10.18.x.x. some other shitI will accept if netgate did not plan ahead for this usecase