vnet

  1. P

    jails Interface does not return to host after kill jail

    Hello darlings! Basically, i did created a JAIL, with this configuration: main { host.hostname = "main"; exec.clean; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; exec.prestart += "kldload -n ipfw_nat"; exec.prestart += "kldload -n ipsec"...
  2. markmcb

    PCI Passthrough of VFs Crash Host Card if Jails + Bhyve in Use

    I've been dealing with an issue for about 6 months now. Curious if anyone has ideas how to expand troubleshooting. Summary of issue: Use any SR-IOV capable network card on a Supermicro motherboard Enable SR-IOV Create only vnet jails using SR-IOV VFs: works great Create only bhyve VMs using...
  3. F

    bhyve VNET interconnect vm-bhyve + jails

    Hello Unfortunately, due to a lack of suitable real hardware at the moment, I can't try it out myself or experiment, and so far I haven't found the necessary information to answer the following question: I want to set up a FreeBSD 14 host running various containers and virtual machines. I...
  4. M

    jails Is it possible to set up VNET for multiple jails within a single NIC host?

    I have the following setup, my workstation contains a single NIC and it has its own IP assigned within the LAN /24 segment. I have created a thick container and enabled vnet. I do so with the following .conf file (as per the current handbook): client { # STARTUP/LOGGING...
  5. vukodlak

    Bhyve running with Bastille routing bridge issues

    having an issue... Bhyve runs fine by itself. Bastille runs fine by itself. When I try to run them at the same time Bhyve messes up my routing completely. I think it has something to do with Bhyve creating a 2nd bridge and you can't have 2 bridges at once? or I need to add the bhyve bridge to...
  6. spmzt

    Solved Weird Netgraph Behavior With Jail VNET

    Hi, I'm currently dealing with an intriguing situation that involves the Netgraph and its interaction within a FreeBSD Jail configured with VNET. Background: I have loaded the ng_ether module on the host machine. Additionally, I have set up multiple FreeBSD Jails with VNET and they are...
  7. codetrotter

    Solved vnet MAC address when using jails - how to avoid leaking?

    Hi, I am using jails with vnet on FreeBSD 13.1-RELEASE Host /etc/rc.conf looks like: hostname="de1" ifconfig_em0_name="extif" ifconfig_extif="DHCP" ifconfig_extif_ipv6="inet6 2a01:xxxx:xxxx:xxxx::2 prefixlen 64" ipv6_defaultrouter="fe80::1%extif" ipv6_gateway_enable="YES"...
  8. spmzt

    Solved Allocating a physical interface with vnet + iocage

    Hi, Does anyone know, How I can allocate my vmx interface into jail with vnet in iocage? I can do it in ezjail with this variable: export jail_test_vnet_interface="vmx1" I think it may not support this feature without a bridge.
  9. L

    vbox Virtualbox does not nat on openbsd guest

    Hello, I have installed OpenBSD as vm. It works perfectly. I have some problem with the virtual nic. It only works in bridge bode. I'd like to use use it in nat mode and internal network (I mean a second nic). I set the nic with NAT I boot openbsd it seems does not work. I mean none packets goes...
  10. tarkhil

    jails rabbitmq, jail and vnet: not working

    Hello! I've installed rabbitmq in vnet jail and failed. rabbitmq runs, but rabbitmqctl hangs. inet_gethost does not start inet_gethost[93648]: WARNING:Unable to select on dying child file descriptor, errno = 9. inet_gethost[93742]: WARNING:Unable to write to child process...
  11. sdavidb

    jails Jail host on bridge unreachable over TCP (IPv6-only)

    Hello everyone... I'm fairly new to FreeBSD and come from a Linux/Docker background, but I've been amazed and impresed with the jails functionality in this OS. I've deployed a small DevOps/CI stack on a small Intel mini-PC in my home, using IPv4, if_bridge, and iocage. I'm trying to migrate...
  12. rwv37

    jails jail using vnet - networking isn't working

    EDIT: PLEASE NOTE that I've now got things mostly working; the one remaining problem that I know of is that the jail host can't ping the jails (while other machines on my intranet can ping them). The config shown in this initial post is now out of date; the new config (and further details about...
  13. eimbsd

    jails Jail to jail communication with two nodes

    Hello, I'm in the process of migrating a bigger hosting site from Ubuntu to FreeBSD and the hoster where I need to migrate all this runs OpenStack. From there I get two FreeBSD VMs, bsd-01 and bsd-02, I'm running bastille on both nodes in order to setup jailed environments. I create compute-01...
  14. byrnejb

    jails Set up iocage jail with two vnet interfaces

    On a FreeBSD-12.3p5 host I have an iocage administered jail for which I would like to configure two separate i/f. I have this setup working for a bhyve administered vm on that host but I also need a jail. Here is what I have: rc.conf: cloned_interfaces="bridge0" ifconfig_bridge0="addm igb0...
  15. algi

    Solved VNET jail with jib unable to reach network

    Hi! I'm sure someone must have asked this question milion times, but I can't find an answer and I spent already couple of hours on this. I have FreeBSD 13.0 instance on Vultr, where I would like to create jail. The problem is that I cannot reach the network from jail and I cannot even ping...
  16. thecodechemist

    Issues assigning epair interface to vnet jail

    Hi, I'm having issues with VNET on my FreeBSD 13.0-RELEASE-p11 host running on a cloud VPS. After some other problems previously discussed in this thread, I'm now stuck with the following issue: I have a very simple VNET jail setup (config see below) and tried to manually assign it an epair...
  17. byrnejb

    Solved isc-dhcpd running in a freebsd 12.3p5 jail

    I have a problem getting dhcpd to run inside a iocage controlled jail. Following various bits and pieces found on the web I have successfully configured a jail with a VNET interface.. This appears to work as I can ping into and out off the jail from internal and external addresses. For...
  18. A

    jails VNET Jail with ZFS howto

    Hello folks, yesterday I wrote a Twitter thread to give an example how to deploy VNET jails in a ZFS environment. Here is it again in this forum. A guide to deploy a VNET jail using a FreeBSD 13.0 server with ZFS and populated /usr/src. We start with preparing the file tree. I use /l/prison...
  19. T

    Solved jail with network access

    If I want to setup a jail during the freebsd install process, I would have to assign the jail an IP address on the same subnet as the host itself so that I can avoid needing to NAT? Is that correct? Or is there another approach I could use? I'd like to have everything configured during the...
  20. T

    PF Jail pinging host public ip but not able to access the cloud - VNET

    I have an issue forwarding the packets to the cloud from the jail. I have tested Netgraph and epair with the same result. I have enabled nat in sysctl.conf>> net.inet.ip.forwarding=1 I have disabled PF totally and tried with nat enabled nat on $ext_if inet from $jail_if to any -> ($ext_if) In...
Back
Top