[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] slirp: Allow to disable IPv4 or IPv6
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH] slirp: Allow to disable IPv4 or IPv6 |
Date: |
Wed, 23 Mar 2016 11:01:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Samuel Thibault <address@hidden> writes:
> Hello,
>
> Markus Armbruster, on Mon 21 Mar 2016 08:33:52 +0100, wrote:
>> > -# @net: #optional IP address and optional netmask
>> > +# @net: #optional IP address and optional netmask. Set to 0.0.0.0 to
>> > disable IPv4 completely
>>
>> Long line.
>>
>> Syntax? Default value?
>
> Something like this?
>
> # @net: #optional IP network address that the guest will see, in the
> # form addr[/netmask]. The netmask is optional, and can be either in the
> # form a.b.c.d or as a number of valid top-most bits. Default is
> # 10.0.2.0/24. Set to 'none' to disable IPv4 completely.
Works for me.
>> > -# @ip6-prefix: #optional IPv6 network prefix (default is fec0::) (since
>> > 2.6)
>> > +# @ip6-prefix: #optional IPv6 network prefix. Set to :: to disable IPv6
>> > completely (default is fec0::) (since 2.6)
>>
>> Syntax?
>
> Well, it's just an IPv6 address, is there really something to document?
A sufficiently confused reader could perhaps get the idea that a DNS
name that resolves to an address was acceptable.
Here's my try, feel free to edit to taste:
# @ip6-prefix: IPv6 network prefix or 'none' (default fec0::) (since 2.6)
# The network prefix is given in the usual hexadecimal IPv6 address
# notation.
# 'none' disables IPv6 completely.