Defining VLANS in XCP-NG and Xen Orchestra

Sdílet
Vložit
  • čas přidán 17. 01. 2020
  • lawrence.video/xcp-ng
    Amazon Affiliate Store
    ➡️ www.amazon.com/shop/lawrences...
    Gear we used on Kit (affiliate Links)
    ➡️ kit.co/lawrencesystems
    Try ITProTV free of charge and get 30% off!
    ➡️ go.itpro.tv/lts
    Use OfferCode LTSERVICES to get 5% off your order at
    ➡️ lawrence.video/techsupplydirect
    Tesla Referral Program Offer
    🚘 www.tesla.com/referral/thomas...
    Lawrence Systems Shirts and Swag
    👕 teespring.com/stores/lawrence...
    Digital Ocean Offer Code
    ➡️ m.do.co/c/85de8d181725
    HostiFi UniFi Cloud Hosting Service
    ➡️ hostifi.net/?via=lawrencesystems
    Protect you privacy with a VPN from Private Internet Access
    ➡️ www.privateinternetaccess.com...
    Google Fi Service Referral Code
    📱g.co/fi/r/TA02XR
    More Of Our Affiliates that help us out and can get you discounts!
    ➡️ www.lawrencesystems.com/partn...
    Twitter
    🐦 / tomlawrencetech
    Patreon
    🔗 / lawrencesystems
    Our Forums
    🔗 forums.lawrencesystems.com/
    GitHub
    🔗 github.com/lawrencesystems/
    Discord
    🔗 / discord
    Our Web Site
    🔗 www.lawrencesystems.com/
    github.com/xcp-ng/xcp/wiki/VL...
  • Věda a technologie

Komentáře • 15

  • @lanceeilers5061
    @lanceeilers5061 Před 4 lety

    Hi Tom great vid , yes you have to change the code in pfsense as per the instructions to BS the VM to enable VLAN to work properly - I managed to get that to work : 1. offloading disabled , 2. 1504 mtu value set , and 3. modify /etc/inc/interfaces.inc file and vola like magic :-) , gre tunneling is interesting - the security and speed benefits would defiantly be cool to look at :-) have a great one and keep smiling Tom .... best regards Lance

  • @oleksandrlytvyn532
    @oleksandrlytvyn532 Před 3 lety

    Thanks!

  • @chromefinch
    @chromefinch Před 4 lety

    LOL, thanks guys. I'll be migrating over to it next week from Hyper-v. I'll be trying a securityonion vm, which will require a mirrored port from the physical pfSense machine. Wish me luck.

  • @TVJAY
    @TVJAY Před 4 lety +4

    I alway love your videos and appreciate everything you do. I have noticed though that in your last two videos, your audio level seems to be lower then normal.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 4 lety +1

      Yes, sometimes after an update it causes a weird issue like that. I have to go through the settings and see what might have changed.

    • @ne0dam
      @ne0dam Před 4 lety +1

      i confirm this. My audio is usually at 50% on windows settings and have to boost to 100% to have a good level for Tom Videos. Glad to read he's gonna look at it.

  • @anthonypolsinelli1179
    @anthonypolsinelli1179 Před 4 lety +1

    Tom, if one were to virtualize a pfsense box, would you have pfsense create the vlan interfaces or the hypervisor?

  • @maxtamtam8679
    @maxtamtam8679 Před 3 lety

    I created a vlan but I get an routable ip: 169.254.215.xx... what to do from there? any video?

  • @kyraxmako
    @kyraxmako Před 4 lety

    Hi, i have a vlan with id 91 defined in my switch and would like to use a pfsense vm as dhcp server for this vlan. So i created the vlan network in xcp-ng server, then assigned it to the pfsense vm interface (xn1).
    But once in pfsense, if i set the xn1 interface ip config as dhcp it retrieve a ip of the vlan91 without i need to set vlan on this interface! but if i create the vlan interface with id 91 this interface doesn't retrieve ip, even if i set mtu 1504 on parent interfaces in xcp-ng and pfsense. so i'm a little bit lost.... should i ignore vlan settings in pfsense side? does machines plugged on the switch will retrieve an ip from the pfsense dhcp servrer even if the pfsense interface used by the dhcp doesn't have vlan id defined?

  • @anirbandutta1371
    @anirbandutta1371 Před rokem

    I have a dedicated server on cloud with only 1 public IP. I have installed XCP-ng there. Now, how can I create a private network with NAT(using that only public IP interface) to allocate to the VMs? I want the VMs to have internet access and also inter-private communication among them.
    I can easily do this on Proxmox by creating Linux bridges and NAT configurations. Wondering if there is a way to do it on XCP-ng?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před rokem

      XEN has both private network and VXLAN options.

    • @anirbandutta1371
      @anirbandutta1371 Před rokem

      @@LAWRENCESYSTEMS Thanks for your response. How to create a bridge network for both VM to VM communication and Host to VM communication & vice versa?
      Problem here is cloud provider is providing only one physical NIC with 1 public IP (and it won't have DHCP). So I need a internal networking between VM and Host along with internet working. (without purchasing a lot of public IP/subnet from cloud provider)

  • @konstantina9368
    @konstantina9368 Před rokem

    Do you know how to define a list of VLAN IDs for a specific VIF? I do not want VIF to be able to communicate with the all of VLAN IDs except a defined ones. I expect this should be possible with XCP-NG because it works for me with Xen OpenSource and openvswitch using a domU VM configuration below:
    "vif = ['mac=00:16:3e:1a:bc:de, bridge=xenbr0:15:16:17,18']"
    In this example VIF can communicate using VLAN IDs 15, 16, 17, and 18. Unfortunately I cannot figure out how to do the same on XCP-NG. I've searched for examples on using VLANs but couldn't find any settings which would limit VIF communication to the list of the defined VLAN IDs.

  • @Raphael-df8zt
    @Raphael-df8zt Před 4 lety

    Nice !!!!!!!