I installed snap lxd and try to confiure using lxd init, but by default it is not creating the bridge network. Can someone pls help me how to fix this ?
devices:
eth0:
name: eth0
network: lxdbr1
type: nic
root:
path: /
pool: default
type: disk
ephemeral: false
This is not creating the nictype as bridged, instead showing network as lxdbr0. Which is causing the proxy connectivity issue.
Except for prod environments, when we tried it in other environments, it works. In prod we are manually editing the default profile.
Name: bridged
Parent: lxdbr0
Type: nic
My question is why by default it is not creating bridge network, thats why it is failing for me to reach the outside valide using the proxy
devices:
eth0:
name: eth0
network: lxdbr3
type: nic
root:
path: /
pool: default
type: disk
ephemeral: false
profiles:
default
juju-controller
stateful: false
description: “”
What I want exactly is
eth0:
nictype: bridged
parent: lxdbr2
type: nic
root:
path: /
pool: default
type: disk
ephemeral: false
profiles:
Is an older syntax which prevents LXD from accurately tracking network usage, the equivalent today is:
network: lxdbr0
Internally it’s still the same, you still have a bridge named lxdbr0 and the containers are still connected to them through veth devices. The only different is at the DB tracking level.
If that is the case, then why my containers are not able to reach the proxy ? After we modify the setting it worked. Any idea why it behaves like this ?