Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2000 18:59:13 -0800 (PST)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        "Chad R. Larson" <chad@DCFinc.com>
Cc:        freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: source IP address
Message-ID:  <200011140259.eAE2xDZ43286@earth.backplane.com>
References:   <200011132148.OAA09159@freeway.dcfinc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
:When you've got aliased addresses on an IP interface, how does
:FreeBSD select the source address on outgoing packets?
:
:	-crl
:--
:Chad R. Larson (CRL15)   602-953-1392   Brother, can you paradigm?
:chad@dcfinc.com         chad@larsons.org          larson1@home.net   

    If the packet is associated with an incoming TCP connection,
    the outgoing address will be the IP the remote host tried to
    connect to on your machine.

    If the packet is associated with an outgoing TCP connection,
    the outgoing address will be the IP of the outgoing interface.

    If the outgoing interface has aliases, it is believed that the
    IP address will be the primary IP address of the interface.
    However, there have been problems with this in the past and I am
    not sure if they were completely fixed.

    Some programs, such as ping and traceroute, allow you to bind
    to a specific source IP address.  Most programs don't, though.

						-Matt



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011140259.eAE2xDZ43286>