I am not sure if what I want to get is even possible, so I hope you can help me.
I have to physical NICs em0,igb0 combined to lagg0 (loadbalancing) with ip 192.168.1.20/24.
Then I have several jails
j1 192.168.1.21/24
j2 192.168.1.22/24
....
I would like to run a mqttbroker (e.g.) in each jail listening/binding on port 1883.
When starting mqttbroker in second jail I get the error binding already in use (probably because first mqttbroker in j1 is already in use in lagg0).
So far the scenario.
Is there anyway I can stay in my local network 192.168.1.0/24 with the jail IPs and can somehow emulate with VNET a NIC for each jail?
I have to admit I do not fully understand If I need to bridge somehow from the lagg0 to VNET[0/1/2..] or maybe need several Bridges etc.
I hope it was clear what I want to achieve.
I have to physical NICs em0,igb0 combined to lagg0 (loadbalancing) with ip 192.168.1.20/24.
Then I have several jails
j1 192.168.1.21/24
j2 192.168.1.22/24
....
I would like to run a mqttbroker (e.g.) in each jail listening/binding on port 1883.
When starting mqttbroker in second jail I get the error binding already in use (probably because first mqttbroker in j1 is already in use in lagg0).
So far the scenario.
Is there anyway I can stay in my local network 192.168.1.0/24 with the jail IPs and can somehow emulate with VNET a NIC for each jail?
I have to admit I do not fully understand If I need to bridge somehow from the lagg0 to VNET[0/1/2..] or maybe need several Bridges etc.
I hope it was clear what I want to achieve.