Skip to content

Linux iproute2 : Adding interface to bridge (ip link set)

Kentaro Ebisawa edited this page Mar 23, 2015 · 1 revision

Adding interface to bridge

Command to add bridge is as follows.
ip link set dev eth1 master br0

When this command is executed,
iplink_modify(RTM_NEWLINK, 0, argc-1, argv+1);
is called from do_iplink().

a a a a