On Mon, Feb 15, 1999 at 11:50:58PM -0500, Nicholas J. Leon wrote:
> # Actually pontipont s setting the pontopoint field (a remote ip address) in
> # the device structure, which is not used most of the time.
> But when it IS used, what kernel and/or networking behavior does it alter
> and how?
Using the pointopoint option in ifconfig does two things, it is setting the
InterfaceFlag IFF_POINTOPOINT and it is setting interface�s destination
address with SIOCSIFDSTADDR.
You can search for the IFF_POINTOPOINT and ifa_address in the networking
code of the kernel:
devinet.c/ipconfig.c (the ifconfig handler)
fib_frontend.c (the automatic device routes)
rarp.c (reverse arp answers)
arp.c (neighbouring cache)
ip_gre.c (GRE tunnel interface)
ipip.c (ipip tunnel interface)
and some potocol drivers like strip, ppp and plip.
The Kernel (2.2) is using the dst-address for setting up an inital interface
route.
The Kernel is using the pointopoint address for targeting arp requests.
The IPIP and GRE Module is using the target address for the endpoint of the
tunnel.
Thats it. Some user mode tools (like routing daemons) may read the address
to insert them into the local route maps.
And yes, if a interface is mared PTP the netmask of the interface is
adjusted (/32).
Greetings
Bernd
--
(OO) -- [EMAIL PROTECTED] --
( .. ) ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
o--o *plush* 2048/93600EFD eckes@irc +497257930613 BE5-RIPE
(O____O) When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]