NetworkPro wrote:- You need to get the TV on the ISP network
correct. The ISP will recognize the MAC of the setup box and will hand out an IP in a special subnet.
NetworkPro wrote:- You need to get the OpenWRT router on the ISP network
- You need to get the PCs connected to the OpenWRT router and behind a NAT
Bingo, the PCs will be in a 192.168.10.x/24 subnet. Unlike the setup box they'll reside behind the Openwrt NAT.
NetworkPro wrote:- Your cabling is 30 meters to the OpenWRT router and there is no problem of running a short cable from the router to the TV and the PCs
No quite. I didn't know all the details mattered. So the Cisco switch is in the room where I watch TV. The setup box and stuff like an XBOX and WD-LIVE are connected to it. From there it is 30M to Draytek router. From the Draytek there is another cable run to a switch in my study room. This switch has 2 PC's connected to it and a wireless AP
3M 30M
So it's setup box + a few other devices -----> Cisco switch ---------> Draytek router
|
| +- 15 M
|
Dumb netgear switch
| | |
PC PC Wireless AP
NetworkPro wrote:- You don't want to change anything about the full-managed switch in the/near the "setup box"
The full managed switch can be used as you see fit. It's tagged VLAN capable and I'm prepared to ditch the Draytek if I needed a router that is tagged VLAN capable in order to solve this issue.
In truth, I thought it was 802.1Q capable when I bought it. It's afterwards I found out it can only do port based VLANs.
NetworkPro wrote:This is what I would do in this situation:
I would check what my Switch chip in my router is and I would check if it can be controlled by an OpenWRT app (dmesg, opkg update, opkg list etc.)
- I would try to use the utility to set up the switch chip like this:
--- port 1 and port 2 are in group A and port 3,4 are in group B. No traffic can pass from A to B
--- OpenWRT can pass traffic to group A so port 1 would work as WAN, port 2 would be for the TV so the TV would get on the ISP network without the traffic passing through the router CPU !!!
--- OpenWRT can pass traffic to group B so ports 3,4 are LAN (connect two PCs)
- If I need more PCs after the router, I would use the cheapest switch connected to port 4.
Do it like this. Or run a new cable to the TV.
You're a lot smarter than me in this department so I really had to think this through:). You're using port 2 on the Draytek router for the TV (I'm assuming TV = setup box here) but in fact the Cisco switch is to be connected to port 2. And of all devices connected to the Cisco switch, only the TV/setup box should get an IP from my ISP.
Thanks for trying to figure this on out with me so far.
(Last edited by Jeroen1000 on 14 Feb 2011, 13:37)