Portál AbcLinuxu, 23. listopadu 2025 00:06
/etc/network/interfaces to nefunguje, co dělám blbě?
Originální /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# --- loopback
auto lo
iface lo inet loopback
# --- avoid conflicts with nm
iface eth1 inet manual
bond-master bond0
ethernet-wol g
iface eth0 inet manual
bond-master bond0
ethernet-wol g
# --- WOL doesn't work on eth0/eth1, so we added another LAN card
iface eth2 inet manual
ethernet-wol g
auto bond0
iface bond0 inet manual
bond-slaves eth0 eth1
bond-mode balance-rr
# bond-mode 802.3ad
# bond-lacp-rate fast
# bond-xmit-hash-policy layer3+4
bond-miimon 100
bond-updelay 200
bond-downdelay 200
auto bond0.666
iface bond0.666 inet dhcp
vlan-raw-device bond0
).
Ale našel jsem v logu následující: Kernel najde interface jako eth* (i když ve špatném pořadí), ale bond0 se vytvoří a je up, stejně tak bond0.666 ("link becomes ready"). Ale DHCP je pak hluché... Na starém systému ale bez problému.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.