L0rdRaiden Posted April 4, 2020 Share Posted April 4, 2020 I understand that br0 is bridge 0 and virbr0 is virtual bridge 0 But since br0 is linked to eth0 and I can assign br0 to all the dockers and VM I want, what is the purpose and differences with virbr0? Thanks in advance Quote Link to comment
itimpi Posted April 4, 2020 Share Posted April 4, 2020 br0 will give addresses that are directly visible on the LAN and can accept both incoming and outdoing connections. virtbr0 is a NAT style bridge that only allows outgoing connections with the devices behind it NOT being directly visible on the LAN. 1 Quote Link to comment
L0rdRaiden Posted April 4, 2020 Author Share Posted April 4, 2020 So you can go from br0 to virtbr0 but anthing in virtbr0 can go out? I am thing now a use case to use virtbr0... since I already use Vlans in my fw. Quote Link to comment
itimpi Posted April 4, 2020 Share Posted April 4, 2020 4 minutes ago, L0rdRaiden said: So you can go from br0 to virtbr0 but anthing in virtbr0 can go out? I am thing now a use case to use virtbr0... since I already use Vlans in my fw. Not if I understand you correctly A docker/VM that uses virbr0 can connect to dockers/VMs using br0, but the converse is not true. Quote Link to comment
L0rdRaiden Posted April 4, 2020 Author Share Posted April 4, 2020 3 minutes ago, itimpi said: Not if I understand you correctly A docker/VM that uses virbr0 can connect to dockers/VMs using br0, but the converse is not true. Ok, I read wrong your first explanation. I get it now. But still I am trying to understand a scenario where this is usefull or makes any difference vs having all in br0 and the use VLANs to control the traffic. Quote Link to comment
itimpi Posted April 4, 2020 Share Posted April 4, 2020 Many people do not have routers with VLAN capability. Quote Link to comment
GrehgyHils Posted August 14, 2020 Share Posted August 14, 2020 @itimpiGiven my two options are virb0 and br0, which is appropriate for wanting my VM to be able to accept SSH connections from anywhere on my network? I wish my router to assign the VM an IP address. When I select br0, my VM does not get internet access. When I select virb0, my VM has internet access, I can VNC into the VM from Unraid or a random machijne on my network. I can SSH into the VM from unraid but NOT from any machine on my network. My goal is to SSH into the VM from any machine on my network. Any advice? Quote Link to comment
itimpi Posted August 14, 2020 Share Posted August 14, 2020 5 hours ago, GrehgyHils said: When I select br0, my VM does not get internet access. Using br0 is what you want to be using for your requirements. You probably want to check from inside the VM that you have an IP address allocated by your router AND that a valid DNS address is set up. 5 hours ago, GrehgyHils said: When I select virb0, my VM has internet access, I can VNC into the VM from Unraid or a random machijne on my network. This is expected. When using VNC you are accessing the VM via VNC server running at the Unraid level and thus using the Unraid server's address. Access to the internet via virbr0 is expected as virbr0 allows outgoing connections (and blocks incoming ones). 5 hours ago, GrehgyHils said: I can SSH into the VM from unraid but NOT from any machine on my network. This is expected as when using virbr0 the VM is not visible on the local LAN. 5 hours ago, GrehgyHils said: My goal is to SSH into the VM from any machine on my network. Any advice? You need to get br0 working to be able to do this as br0 allows incoming connections. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.