.\" -*- nroff -*- .\" $Id: ip_create_tap.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 .\" .\" ------------------------------------------------------------------ . .TH IP_CREATE_TAP 1 2017-04-14 "Retro Project" "Retro Project Manual" .\" ------------------------------------------------------------------ .SH NAME ip_create_tap \- add a user-mode tap device to a bridge .\" ------------------------------------------------------------------ .SH SYNOPSIS . .SY ip_create_tap .RI [ TAPNAME ] .YS . .\" ------------------------------------------------------------------ .SH DESCRIPTION This script adds user-mode a tap device to a bridge and creates the bridge in case it doesn't exist already. The script first checks whether 'br0' exists, if not \fBip_create_br\fR(1) is executed. Then a tap device is created, named \fITAPNAME\fP or 'tap0' by default. The tap device will be accessible to the user which executes the script. Finally, the created tap device is connected to bridge 'br0'. 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_br (1) .\" ------------------------------------------------------------------ .SH AUTHOR Walter F.J. Mueller