Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2001 00:11:45 +0200
From:      Hroi Sigurdsson <hroi@asdf.dk>
To:        Iasen Kostoff <tbyte@tbyte.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: routing socket and routes assignment
Message-ID:  <3B157021.8DF52B75@asdf.dk>
References:  <Pine.BSF.4.21.0105301102510.32941-100000@shadow.otel.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B157021.8DF52B75>