Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 1995 16:44:59 -0800 (PST)
From:      Archie Cobbs <>
Subject:   half routing
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help


What is the correct way to do half-routing with the FreeBSD "ifconfig"
and "route" commands?

For example, suppose you have a point-to-point link between two networks,
say and, and gateways "gw1" and "gw2" on either
end, but you don't have any other IP addresses for which to number the
interfaces on the (inside) ends of the point-to-point link: --*[ gw1 ]*---point-to-point-link---*[ gw2 ]*--

        no address here ^         no address here ^

That is, what commands should be issued on "gw1" and "gw2"... the "route"
command with the "interface" option requires the ip address of the interface
through which to route, and in this case it won't have one (it seem like you
ought to be able to just specify the interface name instead (eg, "ppp0")).


Archie L. Cobbs,  *  Tribe Computer Works

Want to link to this message? Use this URL: <>