systemd-networkd를 사용하여 개인 네트워크를 설정할 수 없습니다

systemd-networkd를 사용하여 개인 네트워크를 설정할 수 없습니다

/etc/systemd/network/에 두 개의 파일을 만들었습니다.

  • vbr0.netdev
  • vbr0.network

그런 다음 systemd-networkd를 다시 로드했지만 vbr0 인터페이스가 다운되었습니다.

vbr0.netdev:

[NetDev]
Name=vbr0
Kind=bridge

vbr0.네트워크:

[Match]
Name=vbr0

[Network]
DNS=8.8.8.8
Address=192.168.1.1/24
DHCPServer=yes

IP 링크에 vbr0이 표시됩니다.

5: vbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether d2:1a:32:c1:26:bd brd ff:ff:ff:ff:ff:ff
inet 192.168.1.1/24 brd 192.168.1.255 scope global vbr0
   valid_lft forever preferred_lft forever
inet6 ::ffff:192.168.1.1/0 scope global tentative
   valid_lft forever preferred_lft forever

시스템 네트워크 상태

systemd-networkd.service - Network Service
   Loaded: loaded (/lib/systemd/system/systemd-networkd.service; disabled)
   Active: active (running) since Tue 2015-08-11 12:55:20 CEST; 19h ago
     Docs: man:systemd-networkd.service(8)
 Main PID: 21937 (systemd-network)
   Status: "Processing requests..."
   CGroup: /system.slice/systemd-networkd.service
           └─21937 /lib/systemd/systemd-networkd

Aug 11 12:55:20 infra systemd-networkd[21937]: veth6cce540     : gained carrier
Aug 11 12:55:20 infra systemd-networkd[21937]: veth839e4d9     : gained carrier
Aug 11 12:55:20 infra systemd-networkd[21937]: veth5dacf8a     : gained carrier
Aug 11 12:55:20 infra systemd-networkd[21937]: vethd396754     : gained carrier
Aug 11 12:55:20 infra systemd-networkd[21937]: veth2ba9645     : gained carrier
Aug 11 12:55:20 infra systemd-networkd[21937]: docker0         : gained carrier
Aug 11 12:55:20 infra systemd-networkd[21937]: eth0            : gained carrier
Aug 11 12:55:20 infra systemd-networkd[21937]: lo              : gained carrier
Aug 11 12:55:20 infra systemd[1]: Started Network Service.
Aug 11 12:55:20 infra systemd-networkd[21937]: vbr0            : link configured

시스템 버전 - 215

내 구성에 문제가 있나요?

관련 정보