Network configuration
Pay attention to the 25-bit netmasks. Often, 24-bit netmasks, 255.255.255.0, are used.
The information given below can usally be inserted using a graphical tool, e.g., NetworkManager, Yast, System settings. See also below for examples where in the filesystem this information might be stored.
Location Getreidemarkt
Gateway: 128.130.169.1
Netmask; 255.255.255.128
DNS Server 1: 128.130.4.3
DNS Server 2: 128.131.4.3
Vlan number: 169, vlan name: e322
Ip numbers can be in the range 128.130.169.2 to 128.130.169.119.
Location Arsenal
Gateway: 128.130.169.129
Netmask; 255.255.255.128
DNS Server 1: 128.130.4.3
DNS Server 2: 128.131.4.3
Vlan number: 469, vlan name: e322-o
Ip numbers can be in the range 128.130.169.130 to 128.130.169.247.
# Information from Johann Kainrath <hostmaster@noc.tuwien.ac.at> # by e-mail from 2017-01-24.
Configuration file examples
With systemd
/etc/systemd/network/wombat.network
#man systemd.network, networkctl, systemd-networkd.service [Match] #Name=eth0 MACAddress=14:da:e9:4c:4f:ab [Network] Address=128.130.169.119/25 Gateway=128.130.169.1 DNS=128.130.4.3 DNS=128.131.4.3 NTP=tutimeb.tuwien.ac.at tutimea.tuwien.ac.at tutimec.tuwien.ac.at
/etc/systemd/resolved.conf
[Resolve] Domains=fluid.tuwien.ac.at tuwien.ac.at
ifupdown
/etc/network/interfaces:
auto lo iface lo inet loopback # The primary network interface iface eth0 inet static address 128.130.169.?? # Ask Iris Fula for an ip-number netmask 255.255.255.128 # 128 at the end, an /25 mask. network 128.130.169.0 broadcast 128.130.169.127 gateway 128.130.169.1 # dns-* options are implemented by the resolvconf package, if installed # siehe /etc/resolv.conf # dns-nameservers 128.130.4.3 128.131.4.3 # dns-search fluid.tuwien.ac.at tuwien.ac.at auto eth0
/etc/resolv.conf
nameserver 128.130.4.3 nameserver 128.131.4.3 search fluid.tuwien.ac.at tuwien.ac.at options ndots:2 #search and domain are mutually exclusive #by default, domain is everything after the first '.'. # domain fluid.tuwien.ac.at