On Wed, Sep 05, K. Y. Srinivasan wrote:
> To keep the KVP daemon code free of distro specific details, we invoke an
> external script to configure the interface. This is an example script that
> was used to test the KVP code. This script has to be implemented in a Distro
> specific fashion. For instance on distros that ship with Network Manager enabled,
> this script can be based on NM APIs.
>
> Signed-off-by: K. Y. Srinivasan <[email protected]>
> Reviewed-by: Haiyang Zhang <[email protected]>
> ---
> tools/hv/hv_set_ifconfig.sh | 68 +++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 68 insertions(+), 0 deletions(-)
> create mode 100755 tools/hv/hv_set_ifconfig.sh
This already went in, but I overlooked this part:
> +# GATEWAY=ipaddr1
I guest GATEWAY means the default gateway.
> +# GATEWAY_x=ipaddry (where y = x + 1)
How can there be multiple gateways?
Or: What does GATEWAY_n mean here?
Olaf
> -----Original Message-----
> From: Olaf Hering [mailto:[email protected]]
> Sent: Thursday, November 22, 2012 4:13 PM
> To: KY Srinivasan
> Cc: [email protected]; [email protected];
> [email protected]; [email protected]; [email protected];
> [email protected]; [email protected]
> Subject: Re: [PATCH V5 3/6] Tools: hv: Add an example script to configure an
> interface
>
> On Wed, Sep 05, K. Y. Srinivasan wrote:
>
> > To keep the KVP daemon code free of distro specific details, we invoke an
> > external script to configure the interface. This is an example script that
> > was used to test the KVP code. This script has to be implemented in a Distro
> > specific fashion. For instance on distros that ship with Network Manager
> enabled,
> > this script can be based on NM APIs.
> >
> > Signed-off-by: K. Y. Srinivasan <[email protected]>
> > Reviewed-by: Haiyang Zhang <[email protected]>
> > ---
> > tools/hv/hv_set_ifconfig.sh | 68
> +++++++++++++++++++++++++++++++++++++++++++
> > 1 files changed, 68 insertions(+), 0 deletions(-)
> > create mode 100755 tools/hv/hv_set_ifconfig.sh
>
> This already went in, but I overlooked this part:
>
> > +# GATEWAY=ipaddr1
>
> I guest GATEWAY means the default gateway.
>
> > +# GATEWAY_x=ipaddry (where y = x + 1)
>
> How can there be multiple gateways?
> Or: What does GATEWAY_n mean here?
>
Olaf,
On windows, we can support multiple default gateways (I think). This is
really implementing the host protocol. Minimally we can have an ipv4 default
and an ipv6 default gateway.
Hope this helps,
Regards,
K. Y
????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m????????????I?