For IPv4, outgoing connections use the interface's primary IP as the
default source IP for outgoing connections.

This doesn't appear to be the case for IPv6, at least on RHEL 5.  I have
a server that has some secondary IPv6 addresses assigned (the server is
a recursive DNS server, and has a /128 secondary IP assigned that will
be a "well-known" IP for DNS in our network).  When I make an outgoing
IPv6 connection (e.g. "telnet foo smtp"), it is choosing the secondary
IP instead of the primary as the source IP (which will break ACLs and
such).

I googled around some, and see some recommendations about setting the
preferred lifetime to 0 on IPs you don't want to use as the source as a
hack around this issue, but the RHEL 5 "ip" command doesn't support
setting the preferred_lft flag, nor does it support the "change"
command.

Anybody have any ideas about this?  Is there another way to work around
this?
-- 
Chris Adams <[email protected]>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to