brent.jones at otago.ac.nz
Mon Jan 28 19:30:35 PST 2008
> > 2) if an interface is configured with an alias address, then what
> > address is shown on the traffic leaving this interface? So, for
> > example, if I were to ping this machine on its primary address, I
> > expect to get a response from the primary address of the interface.
> > What happens if I ping an alias address, would I get a response from
> By default exiting traffic is using the primary address (the one
> defined with no keyword alias in the ifconfig). I think there is a way
> to choose the exiting IP.
> When a paket is responding, it use the same IP that was used in the
> query (else any firewall would be confused in the way).
Just a note on this question/answer: You can configure a FreeBSD
machine to use random IP addresses from the available pool of configured
IP addresses when machines traverse the NATted firewall. If you choose
this option, you may run into problems with people behind your
firewall/router having difficulty connecting to web sites that use
session authentication, as the IP address of the source machine will be
constantly changing with each click of links on the destination web
site. (This caught me out for months before I realised what was
More information about the freebsd-questions