Re: Bridge IP address not set
- From: Ian Pilcher <arequipeno gmail com>
- To: Thomas Haller <thaller redhat com>, networkmanager-list gnome org
- Subject: Re: Bridge IP address not set
- Date: Wed, 26 Apr 2017 17:32:44 -0500
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
I'm doing exactly the same thing, except that I'm using "br0" as both
the connection name and the interface name.
$ nmcli connection add type bridge con-name br0 ifname br0 ip4
172.31.0.254/24
Connection 'br0' (0946d439-8868-4e39-9263-15f654488106) successfully added.
$ nmcli device
DEVICE TYPE STATE CONNECTION
enp61s0u1 ethernet connected Wired connection 1
wlp1s0 wifi disconnected --
br0 bridge unmanaged --
lo loopback unmanaged --
$ ip addr show dev br0
7: br0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group
default qlen 1000
link/ether 0e:01:45:a0:27:7b brd ff:ff:ff:ff:ff:ff
I tried using 'System br0' as the connection name with no luck. It
seems like there's something "magic" about the interface name br0 that
prevents it from working.
--
========================================================================
Ian Pilcher arequipeno gmail com
-------- "I grew up before Mark Zuckerberg invented friendship" --------
========================================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]