Home network to keep wife happy + VPN (TV 4k netflix) + reduce intranet downtime
-
Why?? Stream video from what? Are you actually streaming it or just accessing the files stored via the network on your nas via SMB? (windows file sharing).
You sure and the hell do not need to be on the same L2 to watch video on your network.. Unless your using some stupid protocol like DLNA to find the thing offering it up… This protocol is designed for the idiot user that just plugs everything in.. Doesn't even know what an IP address is ;)
If your wanting to graduate to the next level and start segmenting out your network your going to have to leave those kid toys behind ;)
As already mentioned I stream video from my plex server all the time to multiple devices - wired, wireless - same segment not same segment. Shit my sons watch video off of it from their TVs from their houses ;) You don't need some stupid L2 only protocol like DLNA to find what your want to stream from.
If you really want to continue to use media player - just add the file share where you store your media to your media player library. Click click there you go - no L2 discovery protocols required, can be on any network segment.. Simple file sharing to access it using port 445 in windows. So just the 1 port needed to be open in your firewall from the source segment/ip to the dest segment/ip
2nd pic - I added folder of my storage server to some home video of my granddaughter - took all of 2 seconds to do. Clickity Clickity.. Not on the same network segment.. simple windows drive mapping to the share..
Or can just use the plex media player to access my videos and music off my server, again does not have to be on the same L2.. Or can just hit with fav browser if don't want to use their player (supports multiple OS and embedded devices) like phone, tablet, fireTV, roku, etc. etc..
-
Good points…. just do a few clickity clickity (Johnpoz Trademark ) . I get what you mean. All your suggestions are valid, your logic is undeniable! :) Basically you are telling me to reduce as much as possible the usage of L2 discovery protocol. :)
I am aware that if I use SMB/NFS then I am not really streaming, I am simply reading a file from a storage location. I am also aware of Plex doesn't require DLNA. My goal is to have DLNA across subnets . My intend is to implement "dumb L2 discovery protocol" across subnets in my home network because it's my home, I want things to be easy, dumb proof and willing to forgo some security & performance because it's just my home network.
Fair enough some devices don't really need the L2 discovery (e.g. Media Player use SMB) But my purpose of using Windows Media player was also to simulate being TV (discovering streaming devices), plug my 2 laptops in different subnets has observe how the "dumb protocol like DLNA" would behave if I enable IGMP Proxy. I can't use my TV as client because wife is watching TV at night after dinner…. I'm the geek that plays with 2 laptops and 2 switches by myself for few hours at night... :-[
The reason I wanted to get DLNA working is that I plan on getting another TV without any Android Box attached to it. I might even drop DLNA all together because some files are not supported by my DLNA server can't render/convert the file format I want to stream. So I might end up getting another Android Box and just stream via SMB/NFS if when required.
Weekend 24th June I will install 1 sonos controller in my new Lab, I need to see how I can stream music to the Sonos Speakers directly accross VLANs. ;)
Btw Beautiful Baby :)
-
Thanks - its my granddaugther..
"I want things to be easy, dumb proof "
heheeh - if you think setting up multicast L2 discovery protocols across different vlans is easy ;) heheh dumb proof.. Yeah have fun ;) Your going to need a GOOD switch.. while igmp proxy can work - its flaky as shit.. Your going to want to do this at the switch layer. It pretty much a bad security practice, amounts to running multiple layer 3 over the same layer 2 - same principle.
If you want it to be easy, dumb proof like the makers of such protocols intended - then put it all on the same L2..
-
Update:
Got my hands on a SG300 only for 2 days, put SG300 in L3 Mode but wasn't able to get IGMP Proxy cross vlan working…. :( IGMP Proxy & PIM-sparse seems to be available on routers and not really switches. IGPM Proxy is mostly used between WAN to LAN, not really cross VLAN. ( Again based on my limited knowledge and reading )
I am still determined to perhaps give it another try... use a router to do it....
L2 Switch(vlans) <-> local router (IGMP Proxy) <-> Edge router (Pfsense) <-> cable modem <-> Internet
Any tips ?
1- Is it feasible ?
2- Any any affordable router that can do this ?I've reduced my requirements, I just want 2 SSIDs each with a specific IP Range so that I can put specific routing rules on pfense(route through OpenVPN or ISP). Both SSIDs can be within the same subnet or VLANs (I need IGMP PRoxy/PIM). I wasn't able to find a way to get 2 DHCP within same subnet.
I really didn't think it would be so hard.... :( :'( :( :'( :-[
-
If you are going to use 2 SSIDs for like 5GHz and 2.4GHz in the same VLAN or network they are going to use the same DHCP scope because they are in the same network. Any consumer router you buy will do this. If you want isolated traffic then you need separate VLANs.
I am not sure why you think you need IGMP Proxy in a switch. It is used in a large switch network to reduce the amount of broadcast traffic so you don't slow down a large network and you have 1 to many stream. I would think it would work in some form or Cisco would not advertise it.
-
It's my lack of knowledge in network that made my assume that you can have IGMP Proxy at the switch level / across VLAN. It's the router responsibility. The switch uses IGMP Snooping only make things more efficient by not flooding multicast to all ports. I read about cisco PIM dense, PIM sparce mode but these are on the cisco routers.
This is why I might need 2 routers….
L2 Switch(vlans) <-> local router (IGMP Proxy) <-> Edge router (Pfsense) <-> cable modem <-> Internet
1st (local) router will route cross VLAN and take care of IGMP broadcast cross VLAN.
2nd (edge) router (Pfsense) takes care of just routing internet/firewall/other services. -
I am no expert but I believe IGMP proxy is at layer 3 and it works in layer 3 switches. If you want layer 2 it IGMP snooping which also works in switches. So you can use either one depending on what kind of switch you are using.
But like I have said all along in your small network it may not make much of a difference. I understand wanting to use it as I want to run a routing protocol between my switch and router. A routing protocol is not needed by I want to use a routing protocol.
-
I just don't want to deal with multicast protocols ( IGMP, PIM, SSDP). If I can get a router that does it, I prefer to spend $100 on a router than having to configure pfsense to get them all working (IGMP PRoxy Buggy, Avahi plugin, etc….)
It seems sonos uses SSDP https://forum.pfsense.org/index.php?topic=96160.0
I might have to decide keep everything in 1 subnet or like Johnpos suggested create the VLAN and move items one at the time, just deal with each issue clickly clickly. The only one I can't really ignore is Sonos because I have all my sound connected, hard to disregards and I want t control it from any subnet.
It's like the new logitech keyboards, they now support both bluetooth and wireless, they support up to 3 devices, you just press a button. I can now have 1 keyboard + mouse that I can use to type with laptop, Mobile Phone and Tablet ! It took a lot of years to get there....finally a keyboard+mouse combo worth buying ;)
-
If you don't want to use IGMP don't. Just let the multicast flood your network. Your network is so small I doubt you will notice a difference.
-
multicast flood doesn't occur across VLAN…
-
So you are going to run multiple devices on different VLANs with the exact same video stream? If you run different video streams then you don't need IGMP. Please explain what you are doing?
-
https://forum.pfsense.org/index.php?topic=132668.msg730018#msg730018
My goal was always to have a way to dynamically change SSIDs and have ip policy based rules on the NAT in pfsense to route my outbound internet through a different gateway and regardless which SSIDs I use, I can always access my Sonos. At first I though I can configure anything across VLAN but I was wrong, it seems Sonos doesn't work across VLAN and multicast routing across VLAN doesn't work.
Another alternative (Plan B) is trying to see if I can make everything work within 1 subnet but still have many SSIDs. In the other forum thread (See below) , a user suggested to me Bridge the 3 interfaces together and use the interface based rules at the NAT level. Something worth looking into. I know bridging is not great but it's for home….
Below is an example https://forum.pfsense.org/index.php?topic=132668.msg730018#msg730018
I take my Tablet Select SSID A, go on website www.whatismyip.com and is says Canada, I go on netflix Canada.
I take the same Tablet, change to SSID B, go on website www.whatismyip.com and it says USA, I go on netflix USA, Hulu USA
I take the same table, change to SSID C, go on website www.whatismyip.com and it says UK, I go on netflix UKDespite whichever SSID I select (A or B or C) I still wish to remain in the same subnet so that all my Synology NAS, Sonos, Wireless Printer, IP TV and all whatever protocol that usually works just within a subnet still works on my tablet regardless of which SSID.
I am aware of the work arounds:
- use VLAN and either use IGMP Proxy, Avahi or stop using those home protocols ( clickely clickely )
- Simply change the ip address manually on the tablet to a different range within the same subnet ( I can even write Android application that does that….I know...)
- Simply use OpenVPN Android software directly on the tablet, create a OpenVPN directly from Tablet
-
All I want to know is the video for IGMP. What are you doing?
-
For Video, Synology Streaming vial DLNA, sometimes the same video, sometimes different video.
In the future IP TV with google but I don't know yet how that will work out.
I am willing to forgot the DLNA streaming by not using anymore the TV App, I can use Nvidia Shield for client and use SMB/NFS mounts.
-
Just run multiple streams and forget the IGMP. I don't think what you are doing really warrants IGMP.
-
Update:
- qotom Q355G4 up & running (See my stats https://forum.pfsense.org/index.php?topic=128206.msg732331#msg732331 )
- OpenVPN @ 100 Mbs speed
- Internal LAN Network transfering @ 880 Mbs speed
- ubiquiti Unify AP Lite working as AP @ 80 Mbs speed
- using TP L2 Smart Switch with 2 VLAN (ISP, VPN)
- Everything running under 1 subnet VLAN (ISP) so that everything works (e.g. Sonos)
- 2nd VLAN (VPN) will only be used when I really want to do something on VPN (e.g. Hulu geo-location blocked)
- nVidia Shield and TV both streaming 4k via OpenVPN
- Synology NAS, Sonos, VOIP, game console, camera, all working
Next step:
- Install proxy, squid, squidGard, etc….
- Figure out how to have dedicated 2.4ghz only and 5.0ghz only SSID ( it's a bit confusing in the ubiquiti software)
-
- Figure out how to have dedicated 2.4ghz only and 5.0ghz only SSID ( it's a bit confusing in the ubiquiti software)
Is it ;)
You can only have 4 SSIDS, what are you trying to achieve by doing this.
Do you know you can force 5Ghz capable devices to connect at 5Ghz using band steering ?
-
I will research band steering this weekend.
I want SSID that only does 2.4ghz (far away from AP) and SSID only 5ghz when I am close to AP so that I quixkly connect and not have connectivity issues (conflicts)
I find 2.4ghz is sluggish sometimes and my sonos system and many people in my condo are 2.4ghz
-
I will research band steering this weekend.
I want SSID that only does 2.4ghz (far away from AP) and SSID only 5ghz when I am close to AP so that I quixkly connect and not have connectivity issues (conflicts)
I find 2.4ghz is sluggish sometimes and my sonos system and many people in my condo are 2.4ghz
What 2.4 Ghz channel did you set your SonosNet to be? Give it a dedicated channel, for example channel 1.
Then for your Unifi APs, use channel 6 or 11 (NO other) in HT20 width.Only use band steering if you have tested all your clients are ok with it being enabled, it can cause some devices to never connect.
Using a single SSID is easy and simplifies things, use for mobile devices.
Then add a 5 Ghz only SSID.
You can up to four SSIDs per WLAN group, and perhaps 8 in a future update.
-
What 2.4 Ghz channel did you set your SonosNet to be? Give it a dedicated channel, for example channel 1.
Then for your Unifi APs, use channel 6 or 11 (NO other) in HT20 width.I've converted all my Sonos devices over LAN. I use Power Over Ethernet for each Sonos device. The Sonos Android app goes through my unify AP into my LAN to control the sonos controller.
Only use band steering if you have tested all your clients are ok with it being enabled, it can cause some devices to never connect.
Using a single SSID is easy and simplifies things, use for mobile devices.
Then add a 5 Ghz only SSID.
You can up to four SSIDs per WLAN group, and perhaps 8 in a future update.
I just started reading & learning about band steering. Need to understand how it works…. I am more old school... I like to select a SSID and be 100% sure it will never use 2.4 GHZ frequency. ( I have frequency analyser in my house....my next step would be reduce power to the minimum level)
I still don't know how to create a dedicated 2.4GHZ and dedicated 5GHZ. Do I go Setting - Wireless - 2G Data Rate Control keep and put each speed drop down to disabled and only keep 5G Data Rate Control?
I don't understand yet all those drop down ! :-[