...on Tue, Jul 19, 2005 at 10:29:34AM +0200, Michael Adam wrote: > The scenario is the following: On an OpenBSD firewall and > router, I have an interface if0 with address 192.168.1.1/24. > Now, there is a host 192.168.1.2 which sits behind a third host > 192.168.1.3 from the network segment of if0. So I would like to > set a host route as follows: > route add -host 192.168.1.2 192.168.1.3
That setup is broken by design. The only real way to make this work is to have 192.168.1.2 do proxy-arp for 192.168.1.3, which will solve your routing problem automatically, as the ARP request won't fail anymore, and you won't need to set up anything on your gateway. Alex.