[862] in linux-net channel archive
Re: getsockname() and broadcasts.
daemon@ATHENA.MIT.EDU (John Paul Morrison)
Thu Aug 10 23:01:47 1995
From: jmorriso@bogomips.ee.ubc.ca (John Paul Morrison)
To: miquels@cistron.nl (Miquel van Smoorenburg)
Date: Wed, 9 Aug 1995 19:45:12 -0800 (PDT)
Cc: linux-net@vger.rutgers.edu, linux-ppp@vger.rutgers.edu
In-Reply-To: <405bk9$hk5@picard.cistron.nl> from "Miquel van Smoorenburg" at Aug 7, 95 05:31:21 pm
>
> Hello,
> I've tried adding slip support to bootpd-2.4.3. A SLIP client
> can ask for it's IP number by "broadcasting" a request on it's
> SLIP interface. I thought I could then do a getsockname() to
> see on which interface the client is connected, and just reply
> to the bootp request in the normal way.
I'd be interested in knowing how to do this as well, and also how to
do it for PPP. With PPP you can negotiate your IP address, but that's
it. I've got the DHCP patches applied to bootpd, and there's other
stuff I'd like to setup for PPP connections, like DNS, WINS, etc.
> Mike.
> --
> Miquel van Smoorenburg, miquels@cistron.nl Cistron Internet Services
> Mail info@cistron.nl An independent Dutch Internet Provider
> for more information <A Href = "http://www.cistron.nl/">CIS</A>
> +31-1720-19445 (Voice) 30979 (Fax) 42580 (Data) - Alphen a/d Rijn
>
---------------------------------------------------------------------------
BogoMIPS Research Labs -- bogosity research & simulation -- VE7JPM --
jmorriso@bogomips.ee.ubc.ca ve7jpm@ve7jpm.ampr.org jmorriso@ve7ubc.ampr.org
---------------------------------------------------------------------------