IP aliasing and Postfix

Dan Nelson dnelson at allantgroup.com
Tue Oct 26 18:04:22 UTC 2010


In the last episode (Oct 26), Joe Auty said:
> Hello,
> 
> I have a few IP aliases setup:
> 
> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
>         ether 00:0c:29:79:d5:66
>         inet <address1> netmask 0xffffff80 broadcast <broadcast address>
>         inet <address2> netmask 0xffffff80 broadcast <broadcast address>
>         inet <address3> netmask 0xffffff80 broadcast <broadcast address>
>         media: Ethernet autoselect (1000baseT <full-duplex>)
>         status: active

I usually set up aliases with a /32 netmask, which seems to be a hint to the
kernel that outgoing packets shouldn't use that IP.  I then put the correct
netmask on the "primary" ip.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list