Date: Thu, 31 May 2001 10:54:15 +0300 (EEST) From: Iasen Kostoff <tbyte@tbyte.org> To: Hroi Sigurdsson <hroi@asdf.dk> Cc: freebsd-net@FreeBSD.ORG Subject: Re: routing socket and routes assignment Message-ID: <Pine.BSF.4.21.0105311051060.36850-100000@shadow.otel.net> In-Reply-To: <3B157021.8DF52B75@asdf.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 31 May 2001, Hroi Sigurdsson wrote: > Iasen Kostoff wrote: > > > The gateway is directly connected and I think this is obvious and should > > not even be discused. The IP address of the gateway is not from > > network that the computer is. But there is a route throu interface to it > > and the kernel still refuses to use that gateway with error ENETUNREACH. > > And I wrote a patch which allows kernel to set that route. It's kinda > > unfinished still but it works. Even now (without the patch) you can set > > this route but it's not straight forward and I don't think that's the > > right way to be done. > > That is just broken IMHO. You will also need to disable any > e/ingress-filtering that may be on the gateway. > The right thing to do would be to assign an address on that net to your > interface which will allow you to point your default gateway at an > address on that net. > > -- > Hroi Sigurdsson > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > I don't think that assigning an address from net of the gateway is the right way and none of the cisco's routers need that, why should FreeBSD need it ? And no there is not any e/ingress-filtering for the FreeBSD computer. Regards. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0105311051060.36850-100000>