Date: Mon, 29 Jan 2001 21:57:55 -0800 (PST) From: Archie Cobbs <archie@dellroad.org> To: Julian Elischer <julian@elischer.org> Cc: Peter Wemm <peter@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_loop.c if_var.h Message-ID: <200101300557.VAA22502@curve.dellroad.org> In-Reply-To: <3A75602F.999E938B@elischer.org> "from Julian Elischer at Jan 29, 2001 04:21:03 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer writes: > > Modified files: > > sys/net if_loop.c if_var.h > > Log: > > Make the number of loopback interfaces dynamically tunable. Why one > > would *want* to is a different story, but it used to be able to be done > > statically. Get rid of #include "loop.h" and struct ifnet loif[NLOOP]; > > This could be used as an example of how to do this in other drivers, > > for example: ccd. > > The interjet has 2 loopback interface.. > I can't remember why,.... but there was a good reason... > archie? We wanted the public-side (exterior of the firewall) FTP and HTTP servers to be visible (i.e., be able to bind to the public IP address) even when the WAN link was disabled. So we had to configure that address on lo1 instead of tun0 (or whatever). -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101300557.VAA22502>