Home fiber for internet and TV

It is great to have fiber to the home with speeds up to 1G. The home gateway from IP-Only has multiple ports to connect services like internet and TV. The challenge for anybody with both internet and TV (ex. Viasat) is how to setup your home network. Do I have to have 2 separate networks? The answer is NO.

This article describes what is needed to use one home network to connect both internet and TV. Hope this articles can help. Another articles in Swedish is available which can be used to understand how to set things up but it lacked some of the pictures in this article (refer to the end of this post under references).

The key is that one network is used to create 2 "virtual" networks, one for internet and one for TV. The virtual network is also called virtual LAN or VLAN. This article will describe how to setup 2 VLAN's in one network.

There are 4 main steps to setup:

  1. Purchase material
  2. Plan connections
  3. Physically connect the smart switches
  4. Configure the smart switches (PC required)

Disclaimer: There may be details I have left out but I hope that the information is enough to get your started. The setup works but 1 mistake can make it not work.

1. Purchase material

You will need at least 2 smart switches. There are two suggestions below both from TP-Link. Personally I used one of each, the rest of the instructions will refer to each smart switch by the model number.

Kjell&Company - TP-link TL-SG105E  for 399SEK (webhallen has for 299SEK but limited availability)

Webhallen - TP-link TL-SG108E for 415SEK

2. Plan connections

The following table is needed in order to understand the following steps. I have created two VLAN network, one numbered 101 (iptv) and the other 102 (internet).

This table is the physical ports for each smart switch.

 VLAN 1 (trunk)VLAN 101 (iptv)VLAN 102 (internet)
TL-SG108E1-81, 8 (8 is in)1-7 (2 is in)
TL-SG105E1-51, 51-5

This table is the the configuration of the ports. Ingress means traffic into the switch and egress means traffic out of the switch. The VLAN has to add a "tag" (ex. 101) when entering the switch (ingress) and "untag" when existing the switch (egress).

SwitchTL-SG108E  TL-SG105E  
Egress ruleTagUntagUntagTagUntagUntag

3. Physically connect the smart switches

The following picture is of the fiber gateway. The first port is for internet. The second port is for TV. The internet is connected to the WiFi router not shown in the picture.

Fiber gateway

In the TL-SG108E the TV cable is connected to port 8. The ports 2-7 are setup for the any devices in the home, the WiFi router connects to any of these ports. The port 1 is the "home network" which will have the 2 VLAN's between the rooms.

TP-Link SG108E

The TL-SG105E looks very similar to TL-108E. The port 5 is connected to Viasat STB in the next picture.

TP-Link SG105E

The final picture is the Viasat STB.

Viasat STB

4. Configure the smart switches

From PC start program with TP-Link. It will find the switches. Manual is in the references at the bottom.

TL-SG105E Configuration for VLAN:

TP-Link Config 4

TL-SG105E Configuration PVID:

TP-Link Config1

TL-SG108E Configuration for VLAN:

TP-Link Config 2

TL-SG105E Configuration PVID:

TP-Link Config 3

Once the smart switches are configured the home network over VLAN should be ready to go.


TP-Link TL-SG105E User Guide

TP-Link Guideline for setting up VLAN (technical)

Alternative description of setting up Viasat