This repository holds the setup and documentation of my home network, I've built up my home network from YouTube guides and other free online documentation, feel free to use this as a starting point or as a source of information when your building your own home network. Building a home network is the one of the best ways to learn about networking, and can be much cheaper than you think. It is also a really good way to teach yourself about VLANS, subnetting and network security.
This is my current physical network diagram, I used draw.io to create the diagram.
Logical network diagram to follow, showing VLANs and associated endpoint, also to include default route to my ISP and the default route for other VLANs via VPN endpoints.
Below is the hardware I use to run my home network, my network works great for me and my family's needs, and could probably support a small office, or home office if needed.
Function | Name | Cost £ |
---|---|---|
Router/Firewall | APU2 E2 2GB (3NIC+USB+RTC) | 180 |
1 x Living Room Switch | Unifi US-8-60W Port Switch | 104 |
2 x Loft Room Switch | Unifi US-8-60W Port Switch | 208 |
Living Room Access Point | UAP-AC-LITE Access Point | 80 |
First Floor Access Point | UAP-AC-LR Access Point | 97 |
24 Port Patch Panel | 24 Way Keystone Patch Panel | 30 |
10 x Tool-Less Keystone Modules | Cat 6 UTP Keystone Module | 30 |
Cat 6 UTP 100m | Cat 6 UTP PVC Solid Core Cable | 36 |
2 x 19" Rack Mount for Unifi Switch | SimpleNetwork for Unifi 8 Port | 50 |
RJ45 Anti Dust Cover Caps | Black Silicone RJ45 Anti Dust Cover Caps | 20 |
Wall Mounted Network Cabinet | 6u 19" 450mm Deep Black Wall Mounted Data Cabinet | 70 |
Eaton UPS 5E 650i USB | Eaton UPS 650iUSB | 50 |
Eaton E NV1000H 1000 VA Tower | Eaton UPS 1000 VA Tower | 110 |
The following tries to explain link types, going forward, you'll need to understand what a link types and port types are.
The link type can be divided into access link and trunk link.
Access link is part of only one VLAN, and normally is for end devices. Any device attached to an access link is unaware of a VLAN membership. An access-link connection can understand only standard Ethernet frames. Switches remove any VLAN information from the frame before it is sent to an access-link device.
Trunk link can carry multiple VLAN traffic and normally is used to connect switches to other switches or to routers or switches to wireless access points.
- Belongs to one VLAN.
- Usually an Untagged VLAN with the corresponding PVID (Native VLAN in Ubiquti language).
- Commonly used to connect a computer to a ports.
- Allow multiple VLANs through.
- Receives and sends multiple VLAN packets.
- Typically used for connection switches together or routers and switches or switches and wireless access point.
- Allow multiple VLANs through.
- Receive and sends multiple VLAN packets.
- Used for connections between switches, switch to phone to computer (Devices that understand tags) see 802.1Q on more information on VLAN tagging..
You might grasp an understanding of ports types in following table.
No | Port Type | Support Mode | Common Use Cases | Comments |
---|---|---|---|---|
1 | Access | Single Untagged VLAN | Switch Port to Device | Unifi name it "Native", other vendors setup Access Ports by untagging the port and setting the PVID (usually using the same VLAN ID) |
2 | Trunk | Single Untagged VLAN + Multiple Tagged VLAN's | Switch to Switch, Hypervisor to Switch | VLAN 1 can be Tagged (Untagged by default) |
3 | Hybrid | Support Untagged VLAN's and Tagged VLAN's | Physical Connection: IP Phone to Network Switch Port & a PC to IP Phones Switch port. | Logical Connection: Voice VLAN as Tagged & Data VLAN as Untagged & Switch port in Trunk mode |
- Here is a list list of guides that I used as a starting point (well written and concise).
- What is a PVID (Port VLAN Identifier)
- Here is a good primer on Trunk Port, Untagged VLAN's etc.
- Create a table of content for a GitHub markdown files
- Github Project Licence Badges