Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-25 Thread Hannes Frederic Sowa
On Tue, Feb 25, 2014 at 04:18:17PM -0500, David Miller wrote: > From: Dan Williams > Date: Tue, 25 Feb 2014 15:07:00 -0600 > > > Also, disable_ipv4 signals *intent*, which is distinct from current > > state. > > > > Does an interface without an IPv4 address mean that the user wished it > > not t

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-25 Thread David Miller
From: Dan Williams Date: Tue, 25 Feb 2014 15:07:00 -0600 > Also, disable_ipv4 signals *intent*, which is distinct from current > state. > > Does an interface without an IPv4 address mean that the user wished it > not to have one? > > Or does it mean that DHCP hasn't started yet (but is supposed

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-25 Thread Dan Williams
On Mon, 2014-02-24 at 18:04 -0500, David Miller wrote: > From: Dan Williams > Date: Mon, 24 Feb 2014 12:22:00 -0600 > > > In the future I expect more people will want to disable IPv4 as > > they move to IPv6. > > I definitely don't. > > I've been lightly following this conversation and I have t

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-25 Thread Paul Marks
On Mon, Feb 24, 2014 at 4:12 PM, David Miller wrote: > From: Ben Hutchings > Date: Tue, 25 Feb 2014 00:02:00 + > >> You can run an internal network, or access network, as v6-only with >> NAT64 and DNS64 at the border. I believe some mobile networks are doing >> this; it was also done on the

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-24 Thread Hannes Frederic Sowa
On Tue, Feb 25, 2014 at 02:01:59AM +, Ben Hutchings wrote: > On Mon, 2014-02-24 at 19:12 -0500, David Miller wrote: > > From: Ben Hutchings > > Date: Tue, 25 Feb 2014 00:02:00 + > > > > > You can run an internal network, or access network, as v6-only with > > > NAT64 and DNS64 at the bord

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-24 Thread Ben Hutchings
On Mon, 2014-02-24 at 19:12 -0500, David Miller wrote: > From: Ben Hutchings > Date: Tue, 25 Feb 2014 00:02:00 + > > > You can run an internal network, or access network, as v6-only with > > NAT64 and DNS64 at the border. I believe some mobile networks are doing > > this; it was also done on

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-24 Thread David Miller
From: Ben Hutchings Date: Tue, 25 Feb 2014 00:02:00 + > You can run an internal network, or access network, as v6-only with > NAT64 and DNS64 at the border. I believe some mobile networks are doing > this; it was also done on the main FOSDEM wireless network this year. This seems to be bloa

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-24 Thread Ben Hutchings
On Mon, 2014-02-24 at 18:04 -0500, David Miller wrote: > From: Dan Williams > Date: Mon, 24 Feb 2014 12:22:00 -0600 > > > In the future I expect more people will want to disable IPv4 as > > they move to IPv6. > > I definitely don't. > > I've been lightly following this conversation and I have t

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-24 Thread David Miller
From: Dan Williams Date: Mon, 24 Feb 2014 12:22:00 -0600 > In the future I expect more people will want to disable IPv4 as > they move to IPv6. I definitely don't. I've been lightly following this conversation and I have to say a few things. disable_ipv6 was added because people wanted to make

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-24 Thread Luis R. Rodriguez
On Mon, Feb 24, 2014 at 10:22 AM, Dan Williams wrote: > My use-case would simply be to have an analogue for the disable_ipv6 > case. In the future I expect more people will want to disable IPv4 as > they move to IPv6. If you don't have something like disable_ipv4, then > there's no way to ensure

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-24 Thread Dan Williams
On Thu, 2014-02-20 at 12:31 -0800, Luis R. Rodriguez wrote: > On Wed, Feb 19, 2014 at 4:56 PM, Dan Williams wrote: > > Note that there isn't yet a disable_ipv4 knob though, I was > > perhaps-too-subtly trying to get you to send a patch for it, since I can > > use it too :) > > Sure, can you descr

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-21 Thread Luis R. Rodriguez
On Fri, Feb 21, 2014 at 5:02 AM, Zoltan Kiss wrote: > Check this how current Xen scripts does routed networking: > > http://wiki.xen.org/wiki/Xen_Networking#Associating_routes_with_virtual_devices > > Note, there are no bridges involved here! As the above page says, the > backend has to have IP ad

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-21 Thread Zoltan Kiss
On 20/02/14 20:39, Luis R. Rodriguez wrote: On Wed, Feb 19, 2014 at 11:13 AM, Zoltan Kiss wrote: On 19/02/14 17:20, Luis R. Rodriguez wrote: On 19/02/14 17:20, Luis R. Rodriguez also wrote: Zoltan has noted though some use cases of IPv4 or IPv6 addresses on backends though <...> As discussed

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-20 Thread Luis R. Rodriguez
On Wed, Feb 19, 2014 at 11:13 AM, Zoltan Kiss wrote: > On 19/02/14 17:20, Luis R. Rodriguez wrote: On 19/02/14 17:20, Luis R. Rodriguez also wrote: Zoltan has noted though some use cases of IPv4 or IPv6 addresses on backends though <...> >> >> As discussed in the other threads thoug

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-20 Thread Luis R. Rodriguez
On Wed, Feb 19, 2014 at 4:56 PM, Dan Williams wrote: > Note that there isn't yet a disable_ipv4 knob though, I was > perhaps-too-subtly trying to get you to send a patch for it, since I can > use it too :) Sure, can you describe a little better the use case, as I could use that for the commit log

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-19 Thread Dan Williams
On Thu, 2014-02-20 at 01:58 +0100, Hannes Frederic Sowa wrote: > On Wed, Feb 19, 2014 at 06:56:17PM -0600, Dan Williams wrote: > > Note that there isn't yet a disable_ipv4 knob though, I was > > perhaps-too-subtly trying to get you to send a patch for it, since I can > > use it too :) > > Do you p

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-19 Thread Hannes Frederic Sowa
On Wed, Feb 19, 2014 at 06:56:17PM -0600, Dan Williams wrote: > Note that there isn't yet a disable_ipv4 knob though, I was > perhaps-too-subtly trying to get you to send a patch for it, since I can > use it too :) Do you plan to implement

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-19 Thread Dan Williams
On Wed, 2014-02-19 at 09:20 -0800, Luis R. Rodriguez wrote: > On Wed, Feb 19, 2014 at 8:45 AM, Dan Williams wrote: > > On Tue, 2014-02-18 at 13:19 -0800, Luis R. Rodriguez wrote: > >> On Mon, Feb 17, 2014 at 12:23 PM, Dan Williams wrote: > >> > On Fri, 2014-02-14 at 18:59 -0800, Luis R. Rodriguez

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-19 Thread Zoltan Kiss
On 19/02/14 17:20, Luis R. Rodriguez wrote: On Wed, Feb 19, 2014 at 8:45 AM, Dan Williams wrote: On Tue, 2014-02-18 at 13:19 -0800, Luis R. Rodriguez wrote: On Mon, Feb 17, 2014 at 12:23 PM, Dan Williams wrote: On Fri, 2014-02-14 at 18:59 -0800, Luis R. Rodriguez wrote: From: "Luis R. Rodri

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-19 Thread Luis R. Rodriguez
On Wed, Feb 19, 2014 at 8:45 AM, Dan Williams wrote: > On Tue, 2014-02-18 at 13:19 -0800, Luis R. Rodriguez wrote: >> On Mon, Feb 17, 2014 at 12:23 PM, Dan Williams wrote: >> > On Fri, 2014-02-14 at 18:59 -0800, Luis R. Rodriguez wrote: >> >> From: "Luis R. Rodriguez" >> >> >> >> Some interfaces

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-19 Thread Luis R. Rodriguez
On Tue, Feb 18, 2014 at 1:42 PM, Stephen Hemminger wrote: > On Tue, 18 Feb 2014 13:19:15 -0800 > "Luis R. Rodriguez" wrote: > >> Sure, but note that the both disable_ipv6 and accept_dada sysctl >> parameters are global. ipv4 and ipv6 interfaces are created upon >> NETDEVICE_REGISTER, which will g

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-19 Thread Dan Williams
On Tue, 2014-02-18 at 13:19 -0800, Luis R. Rodriguez wrote: > On Mon, Feb 17, 2014 at 12:23 PM, Dan Williams wrote: > > On Fri, 2014-02-14 at 18:59 -0800, Luis R. Rodriguez wrote: > >> From: "Luis R. Rodriguez" > >> > >> Some interfaces do not need to have any IPv4 or IPv6 > >> addresses, so enab

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-18 Thread Stephen Hemminger
On Tue, 18 Feb 2014 13:19:15 -0800 "Luis R. Rodriguez" wrote: > Sure, but note that the both disable_ipv6 and accept_dada sysctl > parameters are global. ipv4 and ipv6 interfaces are created upon > NETDEVICE_REGISTER, which will get triggered when a driver calls > register_netdev(). The goal of t

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-18 Thread Luis R. Rodriguez
On Mon, Feb 17, 2014 at 12:23 PM, Dan Williams wrote: > On Fri, 2014-02-14 at 18:59 -0800, Luis R. Rodriguez wrote: >> From: "Luis R. Rodriguez" >> >> Some interfaces do not need to have any IPv4 or IPv6 >> addresses, so enable an option to specify this. One >> example where this is observed are

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-17 Thread Dan Williams
On Fri, 2014-02-14 at 18:59 -0800, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > Some interfaces do not need to have any IPv4 or IPv6 > addresses, so enable an option to specify this. One > example where this is observed are virtualization > backend interfaces which just use the net_de