Quote:
Originally Posted by
Peter_APIIT
For the both wired and wireless interface, no G flags in the routing table. This seems that the interface is not act as gateway for my internal network.
I thought G meant "the default gateway is on this interface".
It is "ip.forwarding" that enables the host to act as a gateway.
Think of if from the openbsd box's point of view, "I have a packet that I need to deliver so...."
(a) do I have any interface that IS that destination address, if so send to that interface (eg loopback messages, incoming messages to this host)
(b) do I have any interfaces on the same subnet (eg take netmask and apply to destination address and compare with interface.
(c) do I have a static route configured? If so send to appropriate interface
(d) if none of those, do I have a default route and on which interface?