Project

General

Profile

Actions

Feature #972

closed

Allow adding gateways outside of interface subnet

Added by Chris Buechler about 14 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
Gateways
Target version:
Start date:
10/25/2010
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:

Description

Gateways outside of the interface's IP subnet, on Ethernet links, cannot be added under normal circumstances as it's not really a valid config and FreeBSD won't add the default gateway as normal, and will not issue ARP requests for IPs outside of directly connected subnets. The work around to add such a gateway is to run:

# route add -net gatewayip/32 -iface em0 -cloning
# route add default gatewayip
Actions

Also available in: Atom PDF