network --show [--bondif <bond0,bond1,...,bondN>] [--nwif <eth0,eth1,...,ethN>] [--hosts] [--routes] [--interface <bondN|ethN>] --bondif Bond interface(s) to show. --nwif Eth interface(s) to show. --hosts Show local host. --routes Show local routes. --interface Routes for a specific interface.
Device : bond0 Enabled : yes Link : yes Boot protocol : dhcp IP Addr : 10.20.24.55 Netmask : 255.255.252.0 Gateway : 10.20.32.13 MAC Addr : 78:2B:CB:47:D0:08 MTU : 1500 Bonding options : "mode=balance-alb miimon=100 xmit_hash_policy=2" Slave Interfaces : eth0,eth1,eth2,eth3 eth0 MAC : 78:2B:CB:47:D0:08 eth0 Max Speed : 1000baseT/Full eth0 Speed : 1000Mb/s eth0 Duplex : Full eth1 MAC : 00:50:56:93:5A:02 eth1 Max Speed : 1000baseT/Full eth1 Speed : 1000Mb/s eth1 Duplex : Full eth2 MAC : 00:50:56:93:5A:03 eth2 Max Speed : 1000baseT/Full eth2 Speed : 1000Mb/s eth2 Duplex : Full eth3 MAC : 00:50:56:93:5A:04 eth3 Max Speed : 1000baseT/Full eth3 Speed : 1000Mb/s eth3 Duplex : Full DNS Suffix : storage.local Primary Nameserver : 10.25.19.15 Secondary Nameserver : 10.25.19.16
network --delete [--bondif <bond0,bond1,...,bondN>] [--member <eth0,eth1,...,ethN>] [--nwif <eth0,eth1,...,ethN>] --bondif Bond interface(s) to delete. --member Bond member interface(s) to delete. --nwif Eth interface(s) to delete.For example, to delete network interface eth2, run the command: network --delete --nwif eth2
Shutting down interface eth0: [ OK ] Shutting down interface eth1: [ OK ] Shutting down interface eth2: [ OK ] Shutting down interface eth3: [ OK ] Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface bond0: Determining IP information for bond0... done. [ OK ] DNS Updated hostname: acme11.storage.local
network --setdhcp [--bondif <bondN>] [--nwif <ethN>] --bondif Bond interface to create (dhcp). --nwif Eth interface to create (dhcp).
Bond device operation successful. Please run 'network --restart' for the changes to take affect.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center