Hi Bernd,
Le 25 févr. 09 à 19:23, Bernd Schemmer a écrit :
William Yang wrote:
Is there a way to tell Solaris to “prefer” sending outgoing traffic
over certain IPs? I have a few systems running Solaris 10 with
service IPs that sometimes put outgoing traffic on those service
IPs (i.e. bge0:1) instead of the main IPs, so other machines see me
as coming from mirror.domain.com instead of the real hostname, and
I’d rather it didn’t do that.
I'm not sure what kind of IP addresses your server has :
More than one IP address in one subnet and you want to have a fixed
source IP for the outgoing packages?
If this is the case you can use either the setsrc option for
ifconfig or the setsrc option for the route command. We do use the
later on some of our machines because only one IP address of the
machines is configured in the firewall.
e.g
route add default <router_ip> *-setsrc <source_ip>
Don't know William's config.
I do know mine...and this "setsrc" seems magic to me ! I'm just
afraid of behaviour with non-global zones.....
Nico
_______________________________________________
sysadmin-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss