[systemd-devel] systemd-networkd bridge with DHCP not working
poma
pomidorabelisima at gmail.com
Tue Mar 18 04:28:01 PDT 2014
...
- journalctl/systemd-networkd:
systemd-networkd[597]: timestamp of '/etc/systemd/network' changed
systemd-networkd[597]: timestamp of '/run/systemd/network' changed
systemd-networkd[597]: bridge0: creating netdev
systemd-networkd[597]: enp1s6: link (with ifindex 2) added
systemd-networkd[597]: enp1s9: link (with ifindex 3) added
systemd-networkd[597]: enp3s0: found matching network
'/etc/systemd/network/base0.network'
systemd-networkd[597]: enp3s0: requesting link status
systemd-networkd[597]: enp3s0: enslaving by 'bridge0'
systemd-networkd[597]: enp3s0: link (with ifindex 4) added
systemd-networkd[597]: bridge0: found matching network
'/etc/systemd/network/bridge0dhcp.network'
systemd-networkd[597]: bridge0: requesting link status
systemd-networkd[597]: bridge0: bringing link up
systemd-networkd[597]: bridge0: link (with ifindex 5) added
systemd-networkd[597]: lo: link (with ifindex 1) added
systemd-networkd[597]: bridge0: link already exists, ignoring
systemd-networkd[597]: bridge0: netdev ready
systemd-networkd[597]: bridge0: enslaving link 'enp3s0'
systemd-networkd[597]: bridge0: MAC address: ba:d4:25:ca:79:58
systemd-networkd[597]: bridge0: link status updated: 00000000 -> 0x00001002
systemd-networkd[597]: Sent message type=method_call sender=n/a
destination=org.freedesktop.DBus object=/org/freedesktop/DBus
interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0
error=n/a
systemd-networkd[597]: enp3s0: MAC address: 00:12:34:56:78:30
systemd-networkd[597]: enp3s0: link status updated: 00000000 -> 0x00001002
systemd-networkd[597]: Got message type=method_return
sender=org.freedesktop.DBus destination=:1.6 object=n/a interface=n/a
member=n/a cookie=1 reply_cookie=1 error=n/a
systemd-networkd[597]: Got message type=signal
sender=org.freedesktop.DBus destination=:1.6
object=/org/freedesktop/DBus interface=org.freedesktop.DBus
member=NameAcquired cookie=2 reply_cookie=0 error=n/a
systemd-networkd[597]: bridge0: MAC address: ba:d4:25:ca:79:58
systemd-networkd[597]: bridge0: MAC address: ba:d4:25:ca:79:58
systemd-networkd[597]: bridge0: link is up
systemd-networkd[597]: bridge0: carrier on
systemd-networkd[597]: DHCP CLIENT: set MAC address to ba:d4:25:ca:79:58
systemd-networkd[597]: bridge0: acquiring DHCPv4 lease
systemd-networkd[597]: DHCP CLIENT: STARTED
systemd-networkd[597]: bridge0: link status updated: 0x00001002 ->
0x00011043
systemd-networkd[597]: DHCP CLIENT: DISCOVER
systemd-networkd[597]: enp3s0: MAC address: 00:12:34:56:78:30
systemd-networkd[597]: enp3s0: MAC address: 00:12:34:56:78:30
systemd-networkd[597]: bridge0: MAC address: ba:d4:25:ca:79:58
systemd-networkd[597]: enp3s0: MAC address: 00:12:34:56:78:30
systemd-networkd[597]: bridge0: MAC address: 00:12:34:56:78:30
systemd-networkd[597]: bridge0: carrier off
systemd-networkd[597]: DHCP CLIENT: STOPPED
systemd-networkd[597]: bridge0: link status updated: 0x00011043 ->
0x00001043
systemd-networkd[597]: enp3s0: enslaved
systemd-networkd[597]: enp3s0: bringing link up
systemd-networkd[597]: enp3s0: link configured
systemd-networkd[597]: bridge0: MAC address: 00:12:34:56:78:30
systemd-networkd[597]: bridge0: link status updated: 0x00001043 ->
0x00001003
systemd-networkd[597]: enp3s0: MAC address: 00:12:34:56:78:30
systemd-networkd[597]: enp3s0: link is up
systemd-networkd[597]: enp3s0: link status updated: 0x00001002 -> 0x00001003
systemd-networkd[597]: enp3s0: MAC address: 00:12:34:56:78:30
systemd-networkd[597]: enp3s0: MAC address: 00:12:34:56:78:30
systemd-networkd[597]: enp3s0: carrier on
systemd-networkd[597]: enp3s0: link status updated: 0x00001003 -> 0x00011043
systemd-networkd[597]: enp3s0: MAC address: 00:12:34:56:78:30
systemd-networkd[597]: enp3s0: MAC address: 00:12:34:56:78:30
systemd-networkd[597]: enp3s0: MAC address: 00:12:34:56:78:30
systemd-networkd[597]: bridge0: MAC address: 00:12:34:56:78:30
systemd-networkd[597]: bridge0: carrier on
systemd-networkd[597]: bridge0: acquiring DHCPv4 lease
systemd-networkd[597]: DHCP CLIENT: STARTED
systemd-networkd[597]: bridge0: link status updated: 0x00001003 ->
0x00011043
systemd-networkd[597]: DHCP CLIENT: DISCOVER
systemd-networkd[597]: DHCP CLIENT: OFFER
systemd-networkd[597]: DHCP CLIENT: REQUEST
systemd-networkd[597]: DHCP CLIENT: NAK
systemd-networkd[597]: bridge0: IP address in use.
systemd-networkd[597]: DHCP CLIENT: STOPPED
systemd-networkd[597]: enp3s0: MAC address: 00:12:34:56:78:30
- ip addr show bridge0:
5: bridge0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP group default
link/ether 00:12:34:56:78:30 brd ff:ff:ff:ff:ff:ff
inet6 fe80::b8d4:25ff:feca:7958/64 scope link
valid_lft forever preferred_lft forever
- systemctl restart systemd-networkd
- journalctl/systemd-networkd:
systemd[1]: Stopping Network Service...
systemd[1]: Starting Network Service...
systemd-networkd[1382]: timestamp of '/etc/systemd/network' changed
systemd-networkd[1382]: timestamp of '/run/systemd/network' changed
systemd-networkd[1382]: bridge0: creating netdev
systemd-networkd[1382]: enp1s6: link (with ifindex 2) added
systemd-networkd[1382]: enp1s9: link (with ifindex 3) added
systemd-networkd[1382]: enp3s0: found matching network
'/etc/systemd/network/base0.network'
systemd-networkd[1382]: enp3s0: requesting link status
systemd-networkd[1382]: enp3s0: enslaving by 'bridge0'
systemd-networkd[1382]: enp3s0: link (with ifindex 4) added
systemd-networkd[1382]: bridge0: found matching network
'/etc/systemd/network/bridge0dhcp.network'
systemd-networkd[1382]: bridge0: requesting link status
systemd-networkd[1382]: bridge0: bringing link up
systemd-networkd[1382]: bridge0: link (with ifindex 5) added
systemd-networkd[1382]: lo: link (with ifindex 1) added
systemd-networkd[1382]: bridge0: requesting netdev status
systemd[1]: Started Network Service.
systemd-networkd[1382]: enp3s0: MAC address: 00:12:34:56:78:30
systemd-networkd[1382]: enp3s0: link is up
systemd-networkd[1382]: enp3s0: carrier on
systemd-networkd[1382]: enp3s0: link status updated: 00000000 -> 0x00011043
systemd-networkd[1382]: Sent message type=method_call sender=n/a
destination=org.freedesktop.DBus object=/org/freedesktop/DBus
interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0
error=n/a
systemd-networkd[1382]: bridge0: MAC address: 00:12:34:56:78:30
systemd-networkd[1382]: bridge0: link is up
systemd-networkd[1382]: bridge0: carrier on
systemd-networkd[1382]: DHCP CLIENT: set MAC address to 00:12:34:56:78:30
systemd-networkd[1382]: bridge0: acquiring DHCPv4 lease
systemd-networkd[1382]: DHCP CLIENT: STARTED
systemd-networkd[1382]: bridge0: link status updated: 00000000 -> 0x00011043
systemd-networkd[1382]: Got message type=method_return
sender=org.freedesktop.DBus destination=:1.33 object=n/a interface=n/a
member=n/a cookie=1 reply_cookie=1 error=n/a
systemd-networkd[1382]: DHCP CLIENT: DISCOVER
systemd-networkd[1382]: Got message type=signal
sender=org.freedesktop.DBus destination=:1.33
object=/org/freedesktop/DBus interface=org.freedesktop.DBus
member=NameAcquired cookie=2 reply_cookie=0 error=n/a
systemd-networkd[1382]: bridge0: netdev ready
systemd-networkd[1382]: bridge0: enslaving link 'enp3s0'
systemd-networkd[1382]: enp3s0: enslaved
systemd-networkd[1382]: enp3s0: bringing link up
systemd-networkd[1382]: enp3s0: link configured
systemd-networkd[1382]: DHCP CLIENT: OFFER
systemd-networkd[1382]: DHCP CLIENT: REQUEST
systemd-networkd[1382]: DHCP CLIENT: ACK
systemd-networkd[1382]: bridge0: DHCPv4 address 192.168.2.35/24 via
192.168.2.1
systemd-networkd[1382]: bridge0: setting addresses
systemd-networkd[1382]: bridge0: addresses set
systemd-networkd[1382]: bridge0: setting routes
systemd-networkd[1382]: bridge0: routes set
systemd-networkd[1382]: bridge0: link configured
- ip addr show bridge0:
5: bridge0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP group default
link/ether 00:12:34:56:78:30 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.35/24 brd 192.168.2.255 scope global bridge0
valid_lft forever preferred_lft forever
inet6 fe80::b8d4:25ff:feca:7958/64 scope link
valid_lft forever preferred_lft forever
poma
More information about the systemd-devel
mailing list