We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple bridge management in Linux is handled by iproute2 as follow:
$ sudo ip link add name br0 type bridge $ sudo ip link set dev br0 up $ sudo ip link set dev eth0 master br0 $ sudo ip link set dev eth1 master br0
To remove an interface from the bridge:
$ sudo ip link set dev eth0 nomaster
In macOS the same result can be obtained with:
$ sudo ifconfig bridge0 create $ sudo ifconfig bridge0 addm en0 $ sudo ifconfig bridge0 addm en1
And to remove an interface from the bridge:
$ sudo ifconfig bridge0 deletem en0
Bridge interfaces must be named bridge<n>, otherwise the system will throw an exception:
bridge<n>
$ sudo ifconfig br0 create ifconfig: SIOCIFCREATE2: Invalid argument
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Simple bridge management in Linux is handled by iproute2 as follow:
To remove an interface from the bridge:
$ sudo ip link set dev eth0 nomaster
In macOS the same result can be obtained with:
And to remove an interface from the bridge:
Bridge interfaces must be named
bridge<n>
, otherwise the system will throw an exception:The text was updated successfully, but these errors were encountered: