I'm trying to set the gateway to the host but i've received the answer:
# route flush
# route add default

route: writing to routing socket: Network is unreachable

The gateway and the host are connected in the same switch

Even though the physical connection is the same, the .1 address is in a different subnet entirely than .161, due to the /27 prefix length. encompasses 161-190. It's a good thing FreeBSD breaks in this case ;)

You will need to change your prefix length to /24 on the host, or add a secondary IP from the 160/27 range to the gateway to make this work.


freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to