How to Homelab Episode 3 - Planning your Network Layout

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • The "How to Homelab" series helps you plan your very own home server setup for world domination (or for even just hosting some apps). In the third episode, we look into networking and how to plan your layout.
    📖 Check out Jay's latest book, Mastering Ubuntu Server 4th Edition. Covers Ubuntu 22.04!
    ➡️ ubuntuserverbo...
    🙌 Support me on Patreon and get early access to new content!
    ➡️ learnlinux.lin...
    ☁️ Get $100 toward your own cloud server with Linode!
    ➡️ linode.com/lear...
    🛒 Affiliate store for Linux compatible hardware/accessories (commission earned):
    ➡️ learnlinux.lin...
    💻 Check out the Tiny Pilot KVM for your Homelab (commission earned):
    ➡️ learnlinux.lin...
    🐦 Follow me on Twitter!
    ➡️ learnlinux.lin...
    💬 Official LearnLinux.tv Community:
    ➡️ community.lear...
    💽 How to create a bootable flash drive for installing Linux
    ➡️ linux.video/fl...
    🐧 Which distro do I use?
    ➡️ learnlinux.lin...
    🔐 How to better secure OpenSSH:
    ➡️ linux.video/se...
    ☁️ How to create a cloud Linux server with Linode:
    ➡️ learnlinux.lin...
    👨 More about me:
    ➡️ www.jaylacroix...
    ➡️ www.learnlinux...
    #LearnLinuxTV #Linux

КОМЕНТАРІ • 85

  • @camerontgore
    @camerontgore 3 роки тому +31

    VLANs are awesome! Even if you don't have a home lab it's still great for segregating IoT devices that are trying to phone home to mother base.

    • @LearnLinuxTV
      @LearnLinuxTV  3 роки тому +17

      Warning: Absolute truth contained above ^

    • @maginos1310
      @maginos1310 3 роки тому +2

      ...or to segregate servers, to which you have access from outside your LAN and where you don’t want to use use vpn.

  •  3 роки тому +11

    Really clear explanations, loving the series! A diagram of your lab and services that you have running would be nice for the next video

  • @Felix-ve9hs
    @Felix-ve9hs 3 роки тому +1

    Homelab is Love. Homelab is Live

  • @DaveSomething
    @DaveSomething 3 роки тому +11

    my raspi4, the things I've installed on the poor thing. it's holding up so far!

  • @AnzanHoshinRoshi
    @AnzanHoshinRoshi 3 роки тому +3

    Thank you, Jay. Nice new graphics, logo.

  • @remixedMind
    @remixedMind 3 роки тому +5

    nice logo, i have learned a lot from you and Tom, great job, thanks you for the time and effort, keep on doing this great videos

  • @nbarrager
    @nbarrager 2 роки тому +1

    "Use what you have" My friend gave me a Poweredge R410 that he was going to throw away. Good machine, quiet enough to sleep next to, fastest transfer speeds I've ever had. Only problem was it had a software based RAID card which only works with Windows. So I bought a new RAID card which runs very hot, and therefore so loud I don't even want to work next to the thing, let alone sleep next to it. What's worse is now I'm not even sure I want to primarily run Linux. "Use what you have"

  • @ericclingo3958
    @ericclingo3958 3 роки тому +1

    LOL! The idea to set up a VLAN as leverage on my kids.. now that's motivation!

  • @gustavgurke9665
    @gustavgurke9665 3 роки тому +7

    I already learned significantly more than I thought I'd learn from this series. Keep it up!

  • @noam65
    @noam65 3 роки тому

    Homelab network troubleshooting and resolution? That can certainly be another topic. Good stuff.

  • @marcoslozano6566
    @marcoslozano6566 9 місяців тому

    Thank you for all the great content you provide, Jay! I decided to make a homelab to keep my files and services away from Big Techs and your videos have been very inspiring and I’m learning a lot from them. Not just from this homelab series but all the awesome linux content as well.

    • @LearnLinuxTV
      @LearnLinuxTV  9 місяців тому +1

      awesome, it’s going to be a lot of fun for you

  • @DarthDweeb
    @DarthDweeb 3 роки тому +3

    Good video. Would love to see how to set up the vlans on pfSense and how to set up subnets. I have had a consumer grade router for many years and anyone who has set up a plex media server or something akin would have a pretty basic understanding of a static DHCP lease and some port forwarding. But vlans and subnets are mostly an enigma for me. I recently bought a device to install pfSense and dabble in these networking tools. Would love to see your implementation of them.

  • @GCTWorks
    @GCTWorks 3 роки тому +4

    Suggestion for a future topic: since people will want to wet up several servers that might by internet facing, but they only have one internet connection, you might want to show how to set up a reverse proxy with NGINX. I have done this with a raspberry Pi 4, and points to other physical raspberry pi servers as needed.

    • @noweare1
      @noweare1 Рік тому +1

      I have used caddy for this, very cool.

  • @pepeshopping
    @pepeshopping 3 роки тому +2

    Most cable modem-routers will not let you change the IP address scheme, just the DHCP begin/end, DNS and other basic, but enough parameters that somebody that knows what they are doing can configure correctly.

    • @romany8125
      @romany8125 3 роки тому +1

      You can always add your own router after the modem to modify the network structure to your own specs.

  • @michelangelop3923
    @michelangelop3923 3 роки тому

    My isp make me buy the router, and it was locket, it haved enough features unlocked but the admin account wad a different password, I fount on a forum the password from someone who managed to get his hand on he code, the admin account allowed me to have additional ssids for my cameras, and I configured the voip to ring and operate on two lines independently, so I can have 2 calls from the same line without interfering.
    Thanks for the video series, as a starter homelaber my self (R710) I found it very helpful, keep up with the great content!

  • @derekgoodwine7509
    @derekgoodwine7509 3 роки тому

    Amazing series more video can satisfy my eager! Please keep it up!

  • @murlock666
    @murlock666 3 роки тому

    Thanks for the new installment of the Homelab series Jay. Im literally in the process of creating a home lab. Server is an HP ML350 G6 186GB Ram 4.3TB array 2x DGS1210-28 Dlink Switches and an Asus AX82 Router. a couple of NAS boxes are already here and im in the process of loading Proxmox on the server. Youve already helped a lot and id like to see how to best set up my switches as they are managed. Keep up the good work and thanks for your effort in making information like this available.

  • @kimotroph9683
    @kimotroph9683 2 роки тому

    Thank you Jay for this video. I am improving on my homelab and this was very useful for me to refactor my network. I am definitely using ipcalc now..Thanks again.

  • @VirendraBG
    @VirendraBG 3 роки тому +1

    Appreciate your efforts. 👍🏻
    Good series. Keep it up.

  • @cyn1x
    @cyn1x 2 роки тому

    Great video, Jay. Thanks!

  • @woxit6107
    @woxit6107 3 роки тому

    Thanks for your time and effort.

  • @StruC
    @StruC 3 роки тому +4

    support.learnlinux.tv doesn't resolve

  • @MariaCurry
    @MariaCurry 10 місяців тому

    Awesome! Thank you for this video.

  • @RajkoRuza
    @RajkoRuza 3 роки тому

    Great video as always! New logo looks awesome!

  • @HellhoundDieselCrew
    @HellhoundDieselCrew 3 роки тому

    Excellent series! ~Tana

  • @christopherbui7315
    @christopherbui7315 3 роки тому

    Thanks! Appreciate the video. Been planning on getting a pfsense box but wanted to get hands on experience. Even more fortunate that I currently have a asus box !

  • @ralphtaylor5328
    @ralphtaylor5328 Рік тому

    Home routers supplied by your ISP are often relatively primitive and you are often limited to being able to set aside part of the IP range as static. Then you have to set the static IP at the peripheral. I used this approach. The method in the video needs a router that allows you to set static IP for each peripheral. Here changing the router would require (if allowed) setting up each fixed IP. Where the fixed IP is set by the peripheral all you need to do when upgrading the router is set aside the fixed IP range. Not sure if I missed it but you did not say why you favoured setting the individual IPs at the router

    • @noweare1
      @noweare1 Рік тому

      I think i am confused. I thought he said he didn't use reserved address. Then showed us how to reserve a range of addresses on the router. How does he deal with changed ip addresses external ip address and internal then ?

    • @ralphtaylor5328
      @ralphtaylor5328 Рік тому

      Perhaps I should have said the router can usually reserve an ip range from the series it allocates for DHCP to be used for static. Then you use the peripheral configuration to set the ip in the range reserved for static ip

  • @dean8012
    @dean8012 3 роки тому +2

    Greetings from Israel. Your new book is always out of stock on amazon.. I check every day for the paperback version and no luck. As a book collector, the kindle version is a no no. I really want to start and learn this book, where can I get it?

  • @markarca6360
    @markarca6360 3 роки тому

    I had already a virtualized pfSense instance and planning to use a Ubiquiti EdgeRouter X or a Mikrotik hEX GR3 instead.

  • @YannMetalhead
    @YannMetalhead 8 місяців тому

    Good video.

  • @tottiinfo
    @tottiinfo 2 роки тому

    Top as always

  • @rafal9ck817
    @rafal9ck817 2 роки тому

    All I can do on ISPs' router is turn wifi on and of. And 3rd option thankfully is bridge.

  • @noweare1
    @noweare1 Рік тому

    Maybe I missed it but I thought you said you don't use address reservation but showed us how. You didn't show how you handle ip address changed when it changes though.

  • @robertoperdomo1995
    @robertoperdomo1995 5 місяців тому

    Thx Jay for this awesome video, pretty informative. I have a request for you. Managing Servers and services through IP's is fun, but i would like to use a naming scheme with my servers, l would like to name them after greek gods, types of tress, or precious stones. For that we would have to use DNS in our home lab. What are the best options to do it, and how? Thanks again for sharing your knowledge with us.

  • @tony-pj7sj
    @tony-pj7sj 3 роки тому +3

    Nice new logo :D

  • @magicmanj32
    @magicmanj32 2 роки тому

    I have an asus router and when you manual change to static it shows manual, not static, but assuming its the same thing

  • @erichrogers4856
    @erichrogers4856 3 роки тому

    If anyone wants to learn subnetting and how everything is derived check out laslo Diaz’s video on IPv4 and 6 subnetting. The books I read were way to confusing and I have yet to find an easier way of calculating subsets. Unless you use a calculator but you can’t use those on a CCNA exam

  • @icydeadpeeps
    @icydeadpeeps 2 роки тому

    I appreciate the video for the general topics but definitely think it should have just stayed more general and didn't dive into the asus demo that wasn't fully understood. Most of the info in that section wasn't accurate. For example:
    - Asus-wrt allows assigning static leases of IPs that are in the pool of DHCP addresses. It is smart enough to know that that is reserved. It is still best practice and makes things more understandable to change the pool limits but it isn't needed.
    -To assign the static lease you can not do it from that client list like was said would happen if you could save the manual enablement. You actually do it directly below where the switch to turn on manual assignment was.
    -Asus merlin firmware does allow assigning subnets and VLANs contrary to what was said (although you're right that that demo doesn't show it)
    There were a couple other similar things mentioned that I think would just have been better left off. It'd be great to just stick to the area you know since you do know that very in depth. I would even just add that especially with custom firmware that is readily available you can achieve more than is needed for getting started on a Home lab just using that Asus router. As far as I can tell from watching other videos mine is achieving everything that most homelab youtube channels have happening in pfSense so people should definitely not feel limited by their retail device (at least if it is an Asus router)

  • @priit7777
    @priit7777 3 роки тому +1

    Definitely good idea! Going right now to split my 5 network connected devices to 5 different subnets in 5 different VLANs. Why? Because I can! :D

  • @l3martin
    @l3martin 11 місяців тому

    How do you handle static leases with virtual servers?
    Since the MAC Address changes, that is not really automate able, or is it?

  • @anthonysantana4278
    @anthonysantana4278 2 роки тому

    Outstanding

  • @yolgo754
    @yolgo754 Рік тому

    sir i really like your videos but i can,t see you chowing Terminal commands so i can right it in my texte commands

  • @michaelharbuck3314
    @michaelharbuck3314 3 роки тому

    Super! Thank you!

  • @edwardmacnab354
    @edwardmacnab354 2 роки тому

    You might think about doing a video on using more sophisticated routers along with ideas on how to obtain one at a reasonable price as I can see the range is $1.000 to $("The skies the Limit") .

  • @pnbalaji
    @pnbalaji 3 роки тому +1

    As always, a great video. Thanks Jay, I am learning a lot with this homelab how to series. I don't have an enterprise grade router. However, I have a router with DD-WRT and one with tomato firmware and both firmwares support VLANs. Can I use these routers to segregate the devices on my network?

    • @pnbalaji
      @pnbalaji 3 роки тому

      @@birsp I have used both tomato and DD-WRT for quite some time. However, I feel the stock firmware on the routers usually give better performance. Any recommended settings to get better performance from advanced tomato? Currently, I am running my Wi-Fi on a different VLAN from tomato as I have configured my Windscribe VPN on it. Any device that is connecting to the WiFi from my tomato router goes through Windscribe VPN. BTW, I am using a Netgear R7000 with advanced tomato.

    • @kimotroph9683
      @kimotroph9683 2 роки тому

      You would need something that will tag the traffic flowing through them. I bought a PoE/VLAN switch for cheap and use that to segment my connection

  • @hakovatube
    @hakovatube 3 роки тому

    May I request an episode on how to set up VLANs and allowing some hosts accessing more than one VLAN perhaps? I want to segregate my NAS, which contains the multimedia but it needs to be accessed by the Plex server, which is a VM. NAS is also my backup storage for a few VMS and servers. I am not sure putting it on a separate VLAN is a good idea.

  • @yolgo754
    @yolgo754 Рік тому

    please you have to answer to tell me where we can start it in youtube by tipping for me

  • @FreeThink1984
    @FreeThink1984 2 роки тому +2

    Video starts at 3:50 🙄

  • @kimotroph9683
    @kimotroph9683 2 роки тому

    Do you have some advice for someone with a residential IP and locked router? I am trying to comply with Terms and Conditions of the ISP. I cannot modify or replace the ARRIS router. I also cannot make any public addressable resources. I am thinking of making a workaround using either astro relay or unbound.

  • @dbaldock9
    @dbaldock9 Рік тому

    Hello Jay - I'm enjoying your different Playlists of tutorials. Currently running OpenWRT on an older MikroTik RB493G as a Router/Hot-Spot (w/Internet via AT&T UVerse), but it only supports OpenWRT up to v19. So, for a Network Layout, I'm trying to figure out if it's practical to try and run a Firewall/Router (OpenWRT 22.03 x86_64) in a Proxmox VM, on a small server? Can the Firewall isolate/protect the server that the VM is running on? The uplink to the Internet would be either the UVerse (Ethernet Port, passed through to VM), or an EM9191 5G Cellular Modem (USB Port, passed through to VM). I have the EM9191, and it sort-of works on my Kubuntu 22.04.1 PC - but haven't got it configured to work on the VM, yet.

  • @bobkoss280
    @bobkoss280 3 роки тому +1

    It's just me and my wife, but my router is already up to .160 addresses. Between the laptops, desktops, tablets, phones, ip cameras, and wireless speakers - those 254 addresses get eaten up. Good thing we don't have kids!
    Creating a vlan is easy. But you didn't mention routing between vlans, and that's a PITA to consider all of the rules and put them in the router.

    • @rahilarious
      @rahilarious 3 роки тому

      How to create vlan? Does it need a router that supports it?

    • @bobkoss280
      @bobkoss280 3 роки тому

      @@rahilarious A vlan is either created in a router or a switch that supports it, i.e., a managed switch.

    • @romany8125
      @romany8125 3 роки тому

      Actually there are more than 254 addresses on 192.168.x.x unless your soho router is deliberately limiting them. You can use subnetting to increase your broadcast domain.

  • @kenzieduckmoo
    @kenzieduckmoo 3 роки тому

    My biggest thing I was always told was you have to keep everything on the same network, like 192.168.50.x , so if you split them on other things (like 51,52,53,etc) then could they even talk to each other?

    • @romany8125
      @romany8125 3 роки тому

      You would need to route them internally. There is a number of tutorials on different routing techniques out there.

  • @W4TRI
    @W4TRI 3 роки тому

    If I can segregate IoT and phones to separate subnets like this is it going to help with network speed? I pay Spectrum for a 400/20 connection. I rarely get Speedtest over 120/18 plugged in to their modem directly. They have come out and shown me on their tester that they are delivering just over 405mbs in most cases. Any good way to improve what I have? I went through all the PCs and the router to optimize MTU values and that changes nothing. Enjoying the series! Thanks!

    • @W4TRI
      @W4TRI 3 роки тому

      @@birsp Forgot to mention that. I put in all new CAT7 on all my ethernet. Anyone know a program I can use to track and see where the stopping points are? Thanks!

  • @talbech
    @talbech 3 роки тому +1

    Would have been nice if you had taken your time and done the DHCP and router demo on a virtual pfsense rather than some crap demo ui that doesn't work.

  • @samchandler2722
    @samchandler2722 3 роки тому

    In my home network I have my ISP modem 10.0.0.1 and another linksys router plugged into it that is broadcasting its own network 192.168.1.1. The router is setup so that all traffic is routed through my PIA vpn. How do I get my devices on my home network 10.0.0.30 connected to my plex server hosted on 192.168.1.120??

    • @nikoonk
      @nikoonk 3 роки тому

      You should preferably only have one device handling the DHCP service to avoid conflicts. You can usually just turn it off in the config menu of the device. Then you could make everything just part of one network.
      However if you have a more advanced router you could allow network traffic to flow from one network to another using rules in the firewall. It depends on how advanced your router is if that would be possible to do in the settings.

  • @jameschuk8219
    @jameschuk8219 3 роки тому +1

    Want to know how to connect the ubuntu workstation into ubuntu serve as file server

    • @LearnLinuxTV
      @LearnLinuxTV  3 роки тому +1

      Good idea!

    • @kenzieduckmoo
      @kenzieduckmoo 3 роки тому

      Setting up a file server with plain ubuntu server would be interesting. Or if you wanted to go advanced, could include roll your own ZFS

  • @warwolf333
    @warwolf333 7 місяців тому

    I was searching for a network layout (as per the title), and what i didn't found here is a network layout, and different layout models. Hum. Too much talk, no layout.

  • @email16v
    @email16v Рік тому

    Don't waste your time starting with your home router. Get something that can do vlans first because almost always your next step in any home lab is to create vlans. Trust me

  • @JCLarsen
    @JCLarsen 3 роки тому +1

    I fear for the table behind you! For each video it squews a little more. At some time it will break and your homelab come crashing to the floor!

  • @jackrorystaunton4557
    @jackrorystaunton4557 8 місяців тому

    lame := comcast xfinity
    port forwarding is not supported
    but they will waste many hours of your life before admitting that

  • @BT13091
    @BT13091 7 місяців тому

    3 minutes in and you haven't said anything useful. Goodbye.

  • @piotrsulima8696
    @piotrsulima8696 3 роки тому +1

    Fucking ads, commercials, time to unsubscribe.