Solved vnet jail with physical interfaces, unable to run DHCP

I have a vnet jail with 2 physical interfaces assigned to it. One of those interfaces will be used for my WAN connection, so I want to run DHCP on it via dhclient. Dhclient is complaining that the bpf device isn't found. I have mount.devfs set, but there is no bpf under /dev. I came across this:

However, it isn't clear to me as to what I need to do to make bpf available in my guest.
 
I found my answer:

-- /etc/devfs.rules --
Code:
[jail_devfs=110]
add path 'bpf*' unhide
-- /etc/jail.conf
Code:
FreeBSD {
  devfs_ruleset="110";
}
 
Last edited by a moderator:
Back
Top