From 675174d4ba255383b213437e29b617d8f55dbc69 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Mon, 11 Oct 2021 12:01:31 +0200 Subject: conf, tap: Split netlink and pasta functions, allow interface configuration Move netlink routines to their own file, and use netlink to configure or fetch all the information we need, except for the TUNSETIFF ioctl. Move pasta-specific functions to their own file as well, add parameters and calls to configure the tap interface in the namespace. Signed-off-by: Stefano Brivio --- passt.1 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'passt.1') diff --git a/passt.1 b/passt.1 index b21333b..df9892b 100644 --- a/passt.1 +++ b/passt.1 @@ -375,6 +375,17 @@ Directory for nsfs mountpoints, used as path prefix for names of namespaces. The default path is shown with --help. +.TP +.BR \-\-config-net +Configure networking in the namespace: set up addresses and routes as configured +or sourced from the host, and bring up the tap interface. + +.TP +.BR \-\-ns-mac-addr " " \fIaddr +Configure MAC address \fIaddr\fR on the tap interface in the namespace. + +Default is to let the tap driver build a pseudorandom hardware address. + .SH EXAMPLES .SS \fBpasta -- cgit v1.2.3