jayjo_I'm trying to test running a pfsense VM on ubuntu as a router/firewall. I'm using netplan. Can I set the first ethernet port as a bridge to only forward to the pfsense VM, and then the second port for pfsense to use as the LAN?02:43
jayjo_This netplan example: https://netplan.io/examples/#configuring-network-bridges looks like it would forward all traffic to a VM. I have four ethernet ports. Can I use the first as a WAN, the second as a LAN for the VM, and the 3rd & 4th for the ubuntu host?02:45
sarnoldjayjo_: it's possible the device passthrough described at  https://ubuntu.com/server/docs/virtualization-libvirt  could also do what you want02:47
jayjo_I've looked at that article a bit. Do you mean to generally use the xml file to make the edit permanent? I'd like to have the VM running like: https://bpa.st/LXNQ but that requires the network defined prior03:20
jayjo_Do I just need the VM to have access to both ethernets, and it's really a pfsense question?03:23
sarnoldjayjo_: I think that's how I'd approach it first -- give pfsense both nics, and try to stay out of the way otherwise03:25
jayjo_each of those actual nics would have to have a separate bridge, right? So I can just expand the netplan.io examples by adding a second interface?03:31
jayjo_My ubuntu host has 4 NICs: enp1s0, enp2s0, enp3s0, and enp4s003:33
jayjo_I would then have two virtual bridges for enp1s0 and enp2s0. The first still gets DHCP from the ISP https://netplan.io/examples/#configuring-network-bridges like using dhcp: true03:34
jayjo_is the second just a 'plain' bridge?03:35
sarnoldjayjo_: I don't understand this terminology, and haven't used pfsense myself. I'm just accustomed to hearing folks using pci passthrough or interface passthrough to give the port to the VM *entirely* and let it do whatever it's going to do; then you use the other two nics on the machine for your host os, other guests, etc, with bridges etc as necessary03:41
sarnoldjayjo_: it's time for me to run, have fun :)03:41
jayjo_thanks for your help! I appreciate it!03:45
jayjo_Is multipath a way to interact with SAN machines? Or with RAID arrays? Or is it an abstraction for both? (As you can probably tell, I'm not currently using it)18:00
stgraberjayjo_: it's a way to handle any storage device which can be access by more one path19:01
stgraberjayjo_: this is most commonly found with fiber-channel SANs that can have multiple controllers and/or go through multiple switchs, giving your HBA possibly dozens of paths to the drives19:02
stgraberjayjo_: but you can also get that just locally on some server when using a SAS backplane with multiple uplink ports19:02
stgraberjayjo_: and it should also be possible to have multipath for things like iSCSI devices or other ethernet/ip based storage19:02
jayjo_I have two extra HDDs not being used in my desktop (1TB and 500GB) via SATA connections. Can I use multipath + LVM with them to see it in action? I'm reading through a bit more of the docs.. it seems to be the layer above raid. Would multipath be used to access the RAID 1 array? Or, it could be, but only if there were multiple paths to the array? And in my case connected directly to the bus, there19:33
jayjo_I do see "You cannot group different disks with multipath, only disks that have more than one path/connection."19:51
TJ-jayjo_: that's the point - multipath mean multiple physical paths/lanes/wires/fibres to the target device  (somewhat muddied when playing with multipath in virtualised environments)19:53
Aison0question to initramfs.conf: can I set MODULES to most and netboot? or can I only set one? does most include netboot?20:45
tomreynAison0: did you look at the man page, yet?20:49
tomreynit explains what these settings do.20:49
tomreynand you can only set one.20:50
Aison0I would like to use netboot, but also for most hardware ;)20:53
Aison0I think, the man page is not that helpful20:54

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!