Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2005 13:04:37 -0800
From:      patrick <gibblertron@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   IP aliases and forcing outbound IP
Message-ID:  <b043a485050303130463eab028@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I have a FreeBSD 4.11 box whose ethernet card has several IP address. 

        inet 10.0.1.254 netmask 0xffffff00 broadcast 10.0.1.255
        inet 10.0.1.111 netmask 0xffffffff broadcast 10.0.1.111

Is there a way I can cause outbound connections to certain hosts to be
from 10.0.1.111 instead of the default 10.0.1.254? I used to be able
to do this fairly easy in Linux because each alias is actually a
separate ethernet device (eg. eth0:0, eth0:1, etc.), but I haven't
figured out how to do this in FreeBSD.

Patrick



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