Jump to content

virbr0 vs. docker0 network bridge?


sgibbers17

Recommended Posts

What is the difference between virbr0 and docker0?  When I have my windows vm set to virbr0 I get a IP of 192.168.122.xxx and docker0 gets me an IP of 165.xxx.xxx.xxx.  Reading the wiki I want a public bridge so my router can set the IP address but neither give me a IP of 192.168.1.xxx and I find no referance to virbr0 and docker0 in the wiki.

Link to comment

What is the difference between virbr0 and docker0?  When I have my windows vm set to virbr0 I get a IP of 192.168.122.xxx and docker0 gets me an IP of 165.xxx.xxx.xxx.  Reading the wiki I want a public bridge so my router can set the IP address but neither give me a IP of 192.168.1.xxx and I find no referance to virbr0 and docker0 in the wiki.

If you want a public bridge then you need to set one up under Settings->Network Settings.  This is commonly set up with the name 'br0'
Link to comment

What is the difference between virbr0 and docker0?  When I have my windows vm set to virbr0 I get a IP of 192.168.122.xxx and docker0 gets me an IP of 165.xxx.xxx.xxx.  Reading the wiki I want a public bridge so my router can set the IP address but neither give me a IP of 192.168.1.xxx and I find no referance to virbr0 and docker0 in the wiki.

If you want a public bridge then you need to set one up under Settings->Network Settings.  This is commonly set up with the name 'br0'

 

I have my my network settings are.

 

S0A1q9a.jpg

 

But I am looking for what my VM network settings should be.

Link to comment

But I am looking for what my VM network settings should be.

Set the VM to use br0 for the network and you will get an address issued by the DHCP server on your router.

 

I only have the choice of virbr0 and docker0 for network bridge settings within my VM settings

Link to comment

But I am looking for what my VM network settings should be.

Set the VM to use br0 for the network and you will get an address issued by the DHCP server on your router.

 

I only have the choice of virbr0 and docker0 for network bridge settings within my VM settings

OK - had not spotted that under Network settings you have told the system to NOT create the br0 bridge.  Change it to yes and you should be good to go.
Link to comment

But I am looking for what my VM network settings should be.

Set the VM to use br0 for the network and you will get an address issued by the DHCP server on your router.

 

I only have the choice of virbr0 and docker0 for network bridge settings within my VM settings

OK - had not spotted that under Network settings you have told the system to NOT create the br0 bridge.  Change it to yes and you should be good to go.

Which is the "Setup bridge: = NO" setting in your graphic if at first you didn't see it like me.
Link to comment

But I am looking for what my VM network settings should be.

Set the VM to use br0 for the network and you will get an address issued by the DHCP server on your router.

 

I only have the choice of virbr0 and docker0 for network bridge settings within my VM settings

OK - had not spotted that under Network settings you have told the system to NOT create the br0 bridge.  Change it to yes and you should be good to go.

I changed it to yes and I was able to select br0.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...