Hello everyone!
I have a question regarding setting up my home LAN network & IPTV.
Current status:
1. One seperate cable going from my router (with some proprietary firmware for IPTV support from my ISP) to a set-top box. It has own subnet with 10.255.x.x. I cannot change this IP addresses, subnet or anything on my set-top box or in my router.
2. A cable going to my LAN (switch, clients, ...), IPs are 192.168.1.x
What I need to achieve:
I need to put a server near my set-top box, which needs to be a part of my 192.168.1.x LAN. I cannot put a new cable there, I can only use the cable, which is currently utilized by the IPTV.
What I came up with:
1. L2+ switch Cisco Linksys SRW224G4 with
a) one port, which tags all packets as VLAN 100 for IPTV
b) one port, which tags all packets as VLAN 10 for LAN
c) trunk port, which goes to the server
2. Linux server (I tried IPfire Linux firewall/router distro)
a) 1 NIC (eth0) configured as trunk
b) 1 NIC (eth1) which connects server to the set-top box
c) eth0.10 virtual interface
d) eth0.100 virtual interface
e) a bridge between eth0.100 and eth1
It does not seem to be working though. IPTV doesn't work, ifconfig says there are 40MBs of RX packets but 0 TX packets.
eth0.10 gets 192.168.1.x IP and can communicate with other LAN devices, so this VLAN segment works.
I am thinking that maybe set-top box sees that there is something between set-top box and router, or the switch doesn't tag all packets, or...
I also have no idea how to debug it further. How can I see that the bridge, eth0.100 and eth1 are working (sending and receiving data)?
Any other suggestions?
Thanks.
Ellessar
I have a question regarding setting up my home LAN network & IPTV.
Current status:
1. One seperate cable going from my router (with some proprietary firmware for IPTV support from my ISP) to a set-top box. It has own subnet with 10.255.x.x. I cannot change this IP addresses, subnet or anything on my set-top box or in my router.
2. A cable going to my LAN (switch, clients, ...), IPs are 192.168.1.x
What I need to achieve:
I need to put a server near my set-top box, which needs to be a part of my 192.168.1.x LAN. I cannot put a new cable there, I can only use the cable, which is currently utilized by the IPTV.
What I came up with:
1. L2+ switch Cisco Linksys SRW224G4 with
a) one port, which tags all packets as VLAN 100 for IPTV
b) one port, which tags all packets as VLAN 10 for LAN
c) trunk port, which goes to the server
2. Linux server (I tried IPfire Linux firewall/router distro)
a) 1 NIC (eth0) configured as trunk
b) 1 NIC (eth1) which connects server to the set-top box
c) eth0.10 virtual interface
d) eth0.100 virtual interface
e) a bridge between eth0.100 and eth1
It does not seem to be working though. IPTV doesn't work, ifconfig says there are 40MBs of RX packets but 0 TX packets.
eth0.10 gets 192.168.1.x IP and can communicate with other LAN devices, so this VLAN segment works.
I am thinking that maybe set-top box sees that there is something between set-top box and router, or the switch doesn't tag all packets, or...
I also have no idea how to debug it further. How can I see that the bridge, eth0.100 and eth1 are working (sending and receiving data)?
Any other suggestions?
Thanks.
Ellessar