Cambria, Mike writes:
> example, Archie's answer for unnumbered interfaces isn't in the route
> manpage.  I'm glad I asked.

Quoting route(8):

   "If the destination is directly reachable via an interface requiring no
    intermediary system to act as a gateway, the -interface modifier should
    be specified; the gateway given is the address of this host on the common
    network, indicating the interface to be used for transmission.  Alter-
    nately, if the interface is point to point the name of the interface
    itself may be given, in which case the route remains valid even if the
    local or remote addresses change.

By the way, you can have an "unnumbered" P2P interface that still has
an IP address configured on it -- just configure the same IP address
that's on another interface, e.g.:

    $ ifconfig
    dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
            inet 192.168.0.223 netmask 0xffffff00 broadcast 192.168.0.255
            ether 00:a0:cc:d6:cc:b1 
            media: Ethernet autoselect (100baseTX <full-duplex>)
            status: active
    ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> mtu 1500
            inet 192.168.0.223 --> 1.2.3.4 netmask 0xffffff00 

This is sometimes known as "half-routing"..

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to