ln -sf ~/projects/condor-build/src/condor_utils/libcondor_utils_7_9_5.so /usr/lib64/libcondor_utils_7_9_5.so {endverbatim} -{subsection: Configuring Lark} +{subsection: Configuring Lark in NAT mode} The minimum to configure lark, besides setting =STARTER.PLUGINS=, is to enable the network accounting: @@ -30,7 +30,7 @@ This will result in a NAT configuration. -{subsection: Running jobs} +{subsection: Running jobs in NAT mode} With a NAT configuration, a simple job is to look at the network configuration: @@ -59,3 +59,18 @@ collisions:0 txqueuelen:1000 RX bytes:2636 (2.5 KiB) TX bytes:2896 (2.8 KiB) {endverbatim} + +{subsection: Configuring Lark in Bridge Mode} + +You need additional attributes in the machine ad to get Lark to change to bridge mode: + +{verbatim} +STARTD_ATTRS = LarkNetworkType, LarkAddressType, LarkBridgeDevice +LarkNetworkType = "bridge" +LarkBridgeDevice = "eth0" +LarkAddressType = "dhcp" +{endverbatim} + +In particular, you will need to adjust LarkBridgeDevice from "eth0" to match the desired ethernet device on your host. + +The network available on "eth0" must have a DHCP server willing to provide IP addresses to unregistered ethernet devices.