From owner-freebsd-net Fri May 11 18:33:35 2001 Delivered-To: freebsd-net@freebsd.org Received: from coconut.itojun.org (coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (Postfix) with ESMTP id 7532737B424 for ; Fri, 11 May 2001 18:33:33 -0700 (PDT) (envelope-from itojun@itojun.org) Received: from itojun.org (localhost [127.0.0.1]) by coconut.itojun.org (Postfix) with ESMTP id AF49F4B0B; Sat, 12 May 2001 10:33:18 +0900 (JST) To: "Louis A. Mamakos" Cc: Nick Rogness , freebsd-net@FreeBSD.ORG In-reply-to: louie's message of Fri, 11 May 2001 18:02:20 -0400. <200105112202.f4BM2K256031@whizzo.transsys.com> X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: gif tunnel woes From: itojun@iijlab.net Date: Sat, 12 May 2001 10:33:18 +0900 Message-ID: <12623.989631198@itojun.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> my preference is to dropp support for multi-destination mode from >> gif(4), as the multi-destination behavior is violating network layering >> (rt_gateway is in inner header, and gif(4) multi-destination mode >> uses it to determinte outer header). > >There's certainly a bunch of NBMA network media out there. The problem is >abusing the routing table next hop as a way to specify the remote >tunnel endpoint. This should be an attribute of the gif interface, >configured outside of the routing infrastructure. Or, perhaps treated >like ARP for ethernet; it's just an accident that the "MAC" address for >a multi-point NBMA tunnel is an IPv4/IPv6 address. well, in the case of ARP entries, you know that it is a layer-2 address (MACaddress) on rt_gateway because it is tagged as AF_LINK. for the routing entries used by gif multi desination mode, rt_gateway field is not distinguishable (if it is outer addr or inner addr). also i guess it unsuitable to compare with NBMA networks, as with most of the NBMA networks i guess rt_gateway field takes an AF_LINK sockaddr, not an AF_INET. itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message