Re: Bridge IP address not set



On Wed, 2017-04-26 at 14:34 -0500, Ian Pilcher wrote:
I am trying to use NetworkManager to create a Linux bridge for a
"NAT'ed" VM network.

I've been able to get NetworkManager to create the bridge, but it is
not
bringing it up or assigning the IP address:

Hi,

It is unclear what you are doing.


$ nmcli connection add type bridge con-name my-bridge ifname my-br0 ip4 172.31.0.254/24 
Connection 'my-bridge' (dc538c28-451c-4dfd-91a2-433915ba346b) successfully added.
$ nmcli device 
DEVICE      TYPE         STATE         CONNECTION   
my-br0      bridge       connected     my-bridge    
$ ip addr show dev my-br0
36: my-br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 46:98:e8:20:1a:6d brd ff:ff:ff:ff:ff:ff
    inet 172.31.0.254/24 brd 172.31.0.255 scope global my-br0
       valid_lft forever preferred_lft forever

best,
Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]