-
yuripv
city in Canada, guessing on _ca? :)
-
parv
In Ottawa (was getting dis- & reconnecting too much also today, so gave up)
-
parv
Possibly off topic, in case any one uses|used "No-IP" & thus TrustCor :
washingtonpost.com/technology/2022/…et-addresses-government-connections
-
trench
-
VimDiesel`
Title: Browser-Based Edition | FreeBSD Foundation
-
_xor
If I want to boot a bhyve Windows guest using MBR and not UEFI, what's the right bootrom to use?
-
parv
trench, Thanks.
-
parv
meena, I am ready to sign your petition of ssh being enabled in a VM
-
cpet
_xor, the default bhyve one
-
parv
Cute, FreeBSD Journal, for I was not expecting an article to be presented as a PDF file
-
parv
... in "browser-based-edition"
-
hackershack
Previously when I ran `pkg upgrade [package name]` and the package was not installed, it would give me a message that said the package was not installed, nothing to do. Now pkg prompts me to install the package just like I invoked the command with `pkg install ___`. Is this the intended behaviour?
-
hackershack
If I'm reading the manpage correctly, it says it should skip packages if not installed, right?
-
parv
I can confirm
-
parv
(... the offer to install a package when trying to upgrade one that has not been installed)
-
hackershack
parv, thanks for the confirmation.
-
parv
Manual page of "pkg-upgrade(8)" -- Moreover, pkg upgrade will not install new packages, except as required to fulfil dependencies of the packages listed on the command line -- is severely out of date from the behaviour (on stable/13)
-
hackershack
Right, that's what I read too. This new behaviour is messing with my invocation of `pkg upgrade` from Ansible. I only want it to target systems that have the packages installed.
-
parv
hackershack, Thanks for bringing that to attention. Else I likely would|might have pressed "Enter" without reading the message closely
-
hackershack
I'll open a bug report. Thanks for the second set of eyes.
-
arjan
I am running 12.3 on powerpc and having trouble doing a buildworld of 13.1, I suspect because the compiler is still GCC but Clang is expected, does anyone know how to deal with that?
-
nimaje
but why listing packages there instead of using just pkg upgrade without listing packages? that should upgrade all packages that are installed on the system
-
khronos
Hi, can I compile more than one port at a time or should I have one compile after the other?
-
nimaje
the easy way is to use poudriere to build a package repo as it takes care which ports can be build in parallel and other stuff
-
ravella
Anyone use CBSD? I'm following the guide for a bhyve guest, and as soon as I get to "cbsd login my_guest" it returns error message "no such CBSDMake file: /root/CBSDfile"
-
ravella
I do see that there is a "CBSDfile" located at /usr/local/cbsd/share/examples/cbsdfile/CBSDfile, but not mentioned in the docs at all
-
meka
ravella: I do
-
meka
the command is not login, but blogin for bhyve and jlogin for jails
-
ravella
oh dear, I probably need new glasses, the docs do indeed say "blogin" but I read it as "login"
-
meka
login for, as you discovered, CBSDfile, which is something like Vagrantfile or docker-compose.yaml, if you're familiar with those technologies (if not, just ignore I said that)
-
ravella
thanks meka!
-
meka
*login is
-
meka
ravella: you're welcome!
-
hjf
i'm having some trouble with bhyve and vlan interfaces i'm using vm-bhyve fwiw but i'm not sure it's related to it. basically if i have a bridge with members bge0.5 and i configure the vm as a member of that bridge, i can reach the host VLAN ip but not other hosts
-
hjf
but from other hosts i can reach the hypervisor host just fine
-
hjf
am i missing some sysctl tunable related to allowing bridges to pass traffic?
-
xmj
is it up? ^^
-
cpet
hjf, forwarding ?
-
xmj
net.inet.ip.forwarding=1, ^
-
cpet
yeah
-
hjf
cpet: i tried that but it didn't work. i don't think it's related though because bridges are at a lower layer than ip fowarding
-
rtprio
hjf: can you share `vm switch list` ?
-
hjf
NAME TYPE IFACE ADDRESS PRIVATE MTU VLAN PORTS
-
hjf
public standard vm-public - no - - bge0
-
hjf
b3k standard vm-b3k - no - 3000 bge0
-
rtprio
NAME TYPE IFACE ADDRESS PRIVATE MTU VLAN PORTS
-
rtprio
sw100 standard vm-sw100 - no - - lagg0.100
-
cpet
I just created the switch and added my nic to it
-
rtprio
hrm
-
rtprio
i created the vlan on top of the nic and then added _that_ to the switch
-
cpet
yeah this isnt that fancy vlans are done using the actual switches webui
-
rtprio
which was working for me before i changed the network around and bridged everything.
-
rtprio
well you want it tagged properly bfore it leaves bge0 right?
-
cpet
hjf, is the switch name the same as what you created ?
-
cpet
in the .conf ?
-
hjf
yes
-
cpet
and its basically vm switch create public && vm add public nic ?
-
cpet
$public = whatever
-
hjf
well i edited the conf
-
cpet
what you create is what you add cant add public and add in slappy to the conf
-
cpet
-
VimDiesel`
Title: VM-BHYVE(8) - utility to manage bhyve virtual machines
-
cpet
Quick Start
-
rtprio
switch_list="sw100 sw200 sw30 mgmt host"
-
rtprio
ports_sw100="lagg0.100"
-
cpet
is all you need to do
-
sers
^_+
-
sers
lo
-
cpet
once that works you can go all crazy with vlans and all that
-
hjf
network0_switch="public"
-
hjf
network1_switch="b3k"
-
hjf
so yes the vm has both "switches"
-
cpet
still have to configure the OS you install
-
hjf
the os has ip addresses for both interfaces
-
rtprio
oh i didn't ask that; do you want the host or the vm to do the tagging
-
hjf
the host
-
rtprio
then i think you have to add the vlan to the switch
-
hjf
the linux if attached to public gets an ip from dhcp fine
-
hjf
the if attached to b3k has a static ip. it can ping the hypervisor host (in this case the ip i set for bge0.3000)
-
hjf
but it can't ping hosts behind bge0.3000
-
hjf
hosts connected to the switch can ping bge0.3000 , but not the VMs
-
hjf
i changed it a little so it looks like this:
-
hjf
NAME TYPE IFACE ADDRESS PRIVATE MTU VLAN PORTS
-
hjf
public standard vm-public - no - - bge0
-
hjf
b3k standard vm-b3k - no - - vlan3000
-
hjf
but the result is the same, i can ping the hypervisor host but not the remote hosts (and the remote hosts can ping the hypervisor but not the VMs)
-
rtprio
hjf: i feel like i have been here before; there were three or four variants of configuring vlans and the vlanXX wasn't it
-
ravella
meka: do you use a rfc1918 network for your guests? The nat situation with cbsd is giving me some trouble
-
ravella
I'm considering manually creating the bridge instead, and adding a NAT rule to pf
-
CCFL_Man
anyone run wget in a cron job? do you have to run it so there is no output printed?
-
CCFL_Man
the command runs normally but did not in the cron, so it seems like that cron likes commands that don't produce any output
-
CCFL_Man
wget -q option
-
CCFL_Man
or do i need to add a new line after the command?
-
meka
ravella: that's exactly what I did with Reggae
-
meka
To be precise, there's one special jail and what makes it special is dhcp/dns inside of it. Other jails get their addresses through dhcpcd, as it picks up IPv4 and IPv6
-
hjf
rtprio: i've been using ifname_vlans="vlanNNNN" attached to a virtualbox VM for years
-
hjf
no switch though
-
meka
On the host I have bridge0 renamed to cbsd0 just to make it easier to identify the bridge which is for CBSD jails and I have all my jails as VNET, so when I create the jail with jcreate, I add interface=cbsd0
-
meka
-
VimDiesel`
Title: reggae/master-init.sh at master · cbsd/reggae · GitHub
-
rtprio
i had to tcpdump every interface until i could figure out whr th problem was
-
nacelle
"oh noes"
-
hjf
so now i changed things a little. i assigned the host ip to the bridge, not the vlan interface
-
hjf
bridge includes vlanif + tap
-
hjf
if i do it this way, i can't ping from outside
-
hjf
the vm and the host see each other ,but not through the (physical)switch
-
hjf
ok it gets worse. i flushed the arp cache, and i tried pinging. the destination MAC appeared in the arp cache
-
ravella
meka: ah I think I found my problem, if I create the bridge manually then I need to answer "no" to `cbsd natcfg`
-
hjf
SON OF A B
-
hjf
When you use 802.1Q VLAN tagged interfaces created on a physical interface (parent interface), make sure not to add the parent interface to any bridge.
-
hjf
If you do this, ARP resolutions on the tagged interfaces seem to cease working as reported in the following PR/Forum Threads.
-
hjf
indeed, i did just that and now it works
-
ravella
hjf: wouldn't surprise me if you and I just had similar issues lol
-
ravella
well, in my case, I couldn't ping the outside world, two daemons were contending to create the same bridge interface
-
ravella
yeah, on second though, probably not the same issue
-
hjf
this sucks though because i need the parent interface in a bridge
-
hjf
maybe a nasty solution would be to make another tagged vlan interface for the default vlan (vlan 1?)
-
hjf
so all my traffic will be VLANed. i guess it's ok as long as i always have a switch that can deal with this