04.06.2013 Views

UCS 2.4 - Univention

UCS 2.4 - Univention

UCS 2.4 - Univention

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

10 Basic System Services<br />

10.5 Network configuration<br />

10.5.1 Network interfaces<br />

Network interfaces settings are stored in <strong>Univention</strong> Configuration Registry. They can be changed via<br />

<strong>Univention</strong> System Setup (see chapter 15.<strong>2.4</strong>), or stored directly in <strong>Univention</strong> Configuration Registry. For<br />

each interface there must be four properties stored in <strong>Univention</strong> Configuration Registry variables:<br />

• interfaces/ethX/address for the IP address which is to be linked to an interface.<br />

• interfaces/ethX/broadcast for the Broadcast address of the interface<br />

• interfaces/ethX/netmask for the subnet mask of the interface<br />

• interfaces/ethX/network for the network of the interface<br />

Besides the physical interfaces, additional virtual interfaces can also be defined in the form inter-<br />

faces/ethX_Y/property.<br />

The default gateway is configured by the <strong>Univention</strong> Configuration Registry variable gateway.<br />

On mobile clients where <strong>UCS</strong> versions as of 2.3 are installed, Network Manager is used for the IP config-<br />

uration.<br />

If a server is configured over DHCP, an address is configured in <strong>Univention</strong> Configuration Reg-<br />

istry which can be resorted to if the DHCP request should fail. The setting is specified<br />

by the <strong>Univention</strong> Configuration Registry variables interfaces/ethX/fallback/address and<br />

interfaces/ethX/fallback/netmask. Network and broadcast addresses can be specified us-<br />

ing the <strong>Univention</strong> Configuration Registry variables interfaces/ethX/fallback/network and<br />

interfaces/ethX/fallback/broadcast. A gateway can be specified with gateway/fallback.<br />

If the <strong>Univention</strong> Configuration Registry variable networkmanager/dhcp/options/fallback is set<br />

to yes, options which are not set by the DHCP server are read out of the previously listed <strong>Univention</strong><br />

Configuration Registry variables.<br />

10.5.2 DNS servers<br />

One or more DNS servers can be configured for each system in the <strong>Univention</strong> Configuration Registry<br />

variables nameserver1, nameserver2 and nameserver3.<br />

For each configured network interface, the entry in the /etc/hosts can be configured through<br />

interfaces/ethX_Y/hosts.<br />

Information on the configuration of the name resolution through the /etc/hosts file can be found in<br />

Chapter 10.11.4.<br />

10.5.3 Proxy configuration<br />

The majority of the command line tools which access web servers (e.g., wget, elinks or curl) check<br />

whether the environment variable http_proxy is set. If this is the case, the proxy server set in this<br />

variable is used automatically.<br />

228

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!