Hi,

I have a server with a single NIC but several IPs configured:
# cat /etc/hostname.vio0
inet 192.0.2.10 255.255.255.0
inet alias 192.0.2.11 255.255.255.0
inet alias 192.0.2.12 255.255.255.0

The default gateway is set to 192.0.2.1 in /etc/mygate.

I would like outgoing network traffic to randomely appear coming from any of those IPs.

I've read faq/pf/pools.html, pf.conf and route manpage but I don't get which directive would be the right one to use.

Can this be achieved with pf and/or route?
Or do I have to look at setting up routing domains attached to the interface aliases and have several daemon instances run in those domains?

Thanks,
Joel C.

Reply via email to