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

Re: [HTCondor-users] HTCondor on multiple NICs - how to force HTCondor to use eth1 over eth0?



On Thu, 2016-06-23 at 07:06:51 +0000, Todd Tannenbaum wrote:
> 
> 
> On Jun 23, 2016, at 1:40 AM, Jason Liu <jason.liu@xxxxxxxxxxxxx<mailto:jason.liu@xxxxxxxxxxxxx>> wrote:
> 
> Hi,
> 
> I am running HTCondor on a machine with two NICs. Unfortunately I do not control the network configuration on that machine.
> 
> Its network is setup as follows:
> 
> eth0: 10.0.2.15/24 (static IP)
> eth1: 192.168.20.160/24 (dynamic IP)
> 
> HTCondor keeps using eth0 and I could not find a way to make it use eth1. I've read the Networking section in the manual about NETWORK_INTERFACE = <IP address> but what if the IP is dynamic?
> 
> I really need something like NETWORK_INTERFACE = 192.168.20.160/24, or NETWORK_INTERFACE = eth1
> 
> Is there a way to configure HTCondor to do this?
> 
> 
> According to the HTCondor v8.4 Manual, you should be able to do
>   NETWORK_INTERFACE = eth1
> Or alternatively
>   NETWORK_INTERFACE = 192.168.*
> 
> Note that after changing NETWORK_INTERFACE, it is not enough to just do a condor_reconfig; you must kill off and then totally restart the HTCondor service.

According to my records (and setup) you should also add

BIND_ALL_INTERFACES     = False

Maybe that's obsolete now...

Cheers,
 Steffen