Cesar Calvo <admin <at> urulab.com> writes:

> All packets from net1 ip are delivery via 190.64.x.x gateway.
> But on openbsd, route syntax is different.
> I have hostname.em0 with:
> inet 200.124.200.125 255.255.255.248 none
> !route add 190.64.x.x -iface em0

Above "route add" syntax seems strange to me. Man page says

route add -inet 192.168.5.0/24 192.168.0.1

Also, there is a -host modifier.

> And in mygate I put only 190.64.x.x
> 
> The result is bad address and network is unreachable.

You didn't show us neither ifconfig output, nor pf.conf
(which may be blocking something).

Haven't tried by myself, but setups with default gateway
being nexthop behind interface address may require
forwarding to be enabled (see /etc/sysctl.conf).

Reply via email to