简体   繁体   中英

What does this ip linux command mean?

ip link add link eth2 dev col0000000000a7 type macvlan mode bridge

I can't find this usage in the manual. Is it a combination of two commands?

See this link for details

The ip command is used to assign an address to a network interface and/or configure network interface parameters on Linux operating systems. This command replaces old good and now deprecated ifconfig command on modern Linux distributions.

Looks like it is adding a bridging device to interface eth2 .

Run $ ip a show eth2 would give you more info on that particular interface.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM