[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] prefer ipv4 without disabling ipv6



On 2/23/24 15:48, Todd L Miller via HTCondor-users wrote:
Is it possible to get the condor_q command to prefer the internal ipv4 address without setting ENABLE_IPV6=False?

ÂÂÂÂIIRC, if the IPv4 address is "private" in the CIDR sense (e.g., 192.168.* or 10.*), then HTCondor will almost always prefer a "public" IPv6 address, because it doesn't know if two "private" addresses can talk to each other. However, you _can_ tell HTCondor that two machines with "private" addresses are on the same network --

PRIVATE_NETWORK_NAME = the-same-value-on-both-machines
PRIVATE_NETWORK_INTERFACE = 192.168.*

-- by including if the config file on both machines. In such a case, HTCondor will always prefer to use both machines' PRIVATE_NETWORK_INTERFACE.

That seems to have worked.  Thanks!

--Mike