Dopamin3
Dabbler
- Joined
- Aug 18, 2017
- Messages
- 46
So I'm testing Scale RC 2. I had a FreeBSD VM that couldn't reach the Scale host, and I was able to fix that by adding a network bridge br0 with the same IP address as the main interface. Now the interface itself of my NIC shows no IP address. Everything seemed to be working fine.
However now I got to testing docker. I decided to spin up Heimdall with port forwarding 9000 -> 80. It works and I can access it if I don't add anything under the Networking - Add external Interfaces section. This means I can access it from http://TRUENASSCALEIP:9000. When I try to assign it a different IP address it only lets me set the Host Interface to br0, so I do that and give it a Static IP in my LAN subnet. After doing that it is not accessible from the http://ASSIGNEDIP:9000 However if I shell into the container it can ping out to the LAN/Internet and shows the correct IP address when doing ifconfig.
I think this is something with the bridge, so any help would be appreciated.
Maybe related to this thread? https://www.truenas.com/community/threads/network-setup-with-vm-and-docker-containers.98227/
However now I got to testing docker. I decided to spin up Heimdall with port forwarding 9000 -> 80. It works and I can access it if I don't add anything under the Networking - Add external Interfaces section. This means I can access it from http://TRUENASSCALEIP:9000. When I try to assign it a different IP address it only lets me set the Host Interface to br0, so I do that and give it a Static IP in my LAN subnet. After doing that it is not accessible from the http://ASSIGNEDIP:9000 However if I shell into the container it can ping out to the LAN/Internet and shows the correct IP address when doing ifconfig.
I think this is something with the bridge, so any help would be appreciated.
Maybe related to this thread? https://www.truenas.com/community/threads/network-setup-with-vm-and-docker-containers.98227/