IPv6 interface order

LawsHosting

Verified User
Joined
Sep 13, 2008
Messages
2,372
Location
London UK
Ok, I have an issue with ipv6, say you have 10 added to the interface.... curl always takes the address at the top of ifconfig as priority, so if I curl to another server with ipv6, unlike ipv4 which uses the eth0/venet0:0/etc address, it uses the ipv6 that is listed first... If that made sense.... This is why I disable ipv6 in my MTAs....the wrong ipv6 will/could be used.....

Someone suggested adding the v6's with 'preferred_lft=0' so they won't be used for outgoing connections.
 
Back
Top