I need to configure /etc/rc.conf on the FreeBSD-12.3p5 host system with one physical NIC so that two virtio network devices can be configured in the guest. I already have a jail running on this host with one virtio i/f which works.
My current rc.conf relating to networking contains these lines:
What I think might be the way to do this is to add these lines to rc.conf:
Is this correct?
My current rc.conf relating to networking contains these lines:
Code:
### Networking
## Setup a bridge to enable vnet
## VNET Jails (iocage) - also see loader.conf and sysctl.conf settings
cloned_interfaces="bridge0"
ifconfig_bridge0="addm igb0 up"
ifconfig_igb0="up"
ifconfig_igb0="inet A.B.216.41/25"
defaultrouter="A.B.216.1"
What I think might be the way to do this is to add these lines to rc.conf:
Code:
cloned_interfaces="bridge_vm0"
cloned_interfaces="bridge_vm1"
Ifconfig_bridge_vm0="addm igb0 addm tap0 up"
ifconfig_bridge_vm1="addm igb0 addm tap1 up"
Is this correct?