mirror of
https://passt.top/passt
synced 2024-12-22 05:35:23 +00:00
conf, passt.1: Update --mac-addr default in usage() and man page
Fixes: 90e83d50a9
("Don't take "our" MAC address from the host")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
b61be8468a
commit
6819b2e102
2
conf.c
2
conf.c
@ -788,7 +788,7 @@ static void usage(const char *name, FILE *f, int status)
|
|||||||
" -n, --netmask MASK Assign IPv4 MASK, dot-decimal or bits\n"
|
" -n, --netmask MASK Assign IPv4 MASK, dot-decimal or bits\n"
|
||||||
" default: netmask from matching address on the host\n"
|
" default: netmask from matching address on the host\n"
|
||||||
" -M, --mac-addr ADDR Use source MAC address ADDR\n"
|
" -M, --mac-addr ADDR Use source MAC address ADDR\n"
|
||||||
" default: MAC address from interface with default route\n"
|
" default: 9a:55:9a:55:9a:55 (locally administered)\n"
|
||||||
" -g, --gateway ADDR Pass IPv4 or IPv6 address as gateway\n"
|
" -g, --gateway ADDR Pass IPv4 or IPv6 address as gateway\n"
|
||||||
" default: gateway from interface with default route\n"
|
" default: gateway from interface with default route\n"
|
||||||
" -i, --interface NAME Interface for addresses and routes\n"
|
" -i, --interface NAME Interface for addresses and routes\n"
|
||||||
|
3
passt.1
3
passt.1
@ -174,8 +174,7 @@ according to the CIDR block of the assigned address (RFC 4632).
|
|||||||
.BR \-M ", " \-\-mac-addr " " \fIaddr
|
.BR \-M ", " \-\-mac-addr " " \fIaddr
|
||||||
Use source MAC address \fIaddr\fR when communicating to the guest or to the
|
Use source MAC address \fIaddr\fR when communicating to the guest or to the
|
||||||
target namespace.
|
target namespace.
|
||||||
Default is to use the MAC address of the interface with the first IPv4 default
|
Default is the locally administered MAC addresses 9a:55:9a:55:9a:55.
|
||||||
route on the host.
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.BR \-g ", " \-\-gateway " " \fIaddr
|
.BR \-g ", " \-\-gateway " " \fIaddr
|
||||||
|
Loading…
Reference in New Issue
Block a user