1
0
mirror of https://github.com/wfjm/w11.git synced 2026-02-07 00:57:51 +00:00
Files
wfjm.w11/tools/man/man1/ip_create_br.1
2022-05-15 11:38:56 +02:00

43 lines
1.7 KiB
Groff

.\" -*- nroff -*-
.\" $Id: ip_create_br.1 1237 2022-05-15 07:51:47Z mueller $
.\" SPDX-License-Identifier: GPL-3.0-or-later
.\" Copyright 2017-2022 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
.\"
.\" ------------------------------------------------------------------
.
.TH IP_CREATE_BR 1 2017-04-14 "Retro Project" "Retro Project Manual"
.\" ------------------------------------------------------------------
.SH NAME
ip_create_br \- create bridge and re-connect ethernet interface
.\" ------------------------------------------------------------------
.SH SYNOPSIS
.
.SY ip_create_br
.YS
.
.\" ------------------------------------------------------------------
.SH DESCRIPTION
This script expects a default single Ethernet interface setup, creates
a bridge named 'br0', and re-connects the Ethernet interface to this bridge.
The script bails out gracefully in case 'br0' already exists. In not, it
determines the name of the Ethernet interface, accepting both old 'eth*' and
new 'en*' naming, and verifies that it is a single Ethernet configuration.
Then it creates a bridge device named 'br0' and re-connects the physical
Ethernet interface to the bridge, preserving all IP addresses and routes.
This script is part of setting up tap devices with \fBip_create_tap\fR(1)
but can be used independently.
The script should be started as a normal user, but uses \fBsudo\fR(8) to
execute privileged commands, and might therefore ask for the user password.
.
.\" ------------------------------------------------------------------
.SH "SEE ALSO"
.BR ip_create_tap (1)
.\" ------------------------------------------------------------------
.SH AUTHOR
Walter F.J. Mueller <W.F.J.Mueller@gsi.de>