> > 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 happening.) Cheers, Brent _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"