Network Server Setup Notes

OS Setup

  • Debian Stable, minimal install
  • hostname net-mcp
  • aptitude → install openssh-server, deselect xauth

DNS / DHCP Server Config

  • aptitude → install dnsmasq and dnsutils, deselect dbus and xml-core
  • /etc/dnsmasq.conf:
domain-needed

resolv-file=/etc/resolv.conf-dnsmasq

no-hosts
addn-hosts=/etc/hosts-dnsmasq

bogus-nxdomain=63.251.179.28
bogus-nxdomain=8.15.7.102

# Note: it's important that the subdomains are listed before the local line
server=/ds.mcp.lcl/10.2.25.100
server=/25.168.192.in-addr.arpa/10.2.25.100
server=/_msdcs.mcp.lcl/10.2.25.232
server=/_msdcs.mcp.lcl/10.2.25.233
server=/_sites.mcp.lcl/10.2.25.232
server=/_sites.mcp.lcl/10.2.25.233
server=/_tcp.mcp.lcl/10.2.25.232
server=/_tcp.mcp.lcl/10.2.25.233
server=/_udp.mcp.lcl/10.2.25.232
server=/_udp.mcp.lcl/10.2.25.233
server=/DomainDnsZones.mcp.lcl/10.2.25.232
server=/DomainDnsZones.mcp.lcl/10.2.25.233
server=/ForestDnsZones.mcp.lcl/10.2.25.232
server=/ForestDnsZones.mcp.lcl/10.2.25.233
local=/mcp.lcl/
local=/25.2.10.in-addr.arpa/
server=/planetarium.k12.in.us/10.2.25.1

server=/mvsc.k12.in.us/10.1.1.12
server=/mvsc.k12.in.us/10.1.2.27
server=/10.in-addr.arpa/10.1.1.12
server=/10.in-addr.arpa/10.1.2.27

expand-hosts
domain=mcp.lcl

dhcp-range=10.2.25.101,10.2.25.199,255.255.255.0,12h
dhcp-authoritative
dhcp-option=option:router,10.2.25.254
dhcp-option=option:domain-name,mcp.lcl
# 0.0.0.0 refers to the local system
dhcp-option=option:dns-server,0.0.0.0,10.2.25.100
# most clients don't support this:
#dhcp-option=option:domain-search,mcp.lcl
#nobody seems to use the static-route option, so we're not going to bother with it
# this works on debian:
dhcp-option=option:classless-static-route,0.0.0.0/0,10.2.25.254,192.168.25.0/24,10.2.25.100
# this works on windows:
dhcp-option=249,192.168.25.0/24,10.2.25.100
# wins only:
dhcp-option=option:netbios-nodetype,2
# 0.0.0.0 refers to the local system
dhcp-option=option:netbios-ns,0.0.0.0
dhcp-option=option:ntp-server,0.0.0.0

read-ethers
  • /etc/resolv.conf-dnsmasq:
nameserver 10.2.25.254
  • /etc/hosts-dnsmasq:
10.2.25.3 jetdirect
10.2.25.4 ricohc222sf
10.2.25.5 dvr
10.2.25.6 laserjet3390
10.2.25.7 vpn
10.2.25.8 ipump
10.2.25.10 soloist1
10.2.25.11 soloist2
10.2.25.24 brother
10.2.25.100 ds-router
10.2.25.240 zenith
10.2.25.241 castor
10.2.25.242 pollux
10.2.25.243 xen-test
10.2.25.244 music
10.2.25.230 net-mcp
10.2.25.232 dc01-mcp
10.2.25.233 dc02-mcp
10.2.25.234 storage01-mcp
10.2.25.235 storage02-mcp
10.2.25.236 print01-mcp
10.2.25.237 print02-mcp
10.2.25.238 apps01-mcp
10.2.25.239 apps02-mcp
10.2.25.252 mcp-switch
10.2.25.253 ds-switch
10.2.25.254 gateway

10.2.25.232 mcp.lcl
10.2.25.233 mcp.lcl
  • /etc/ethers:
00:0e:7f:ea:a4:14       jetdirect
00:00:74:cf:fb:ef       ricohc222sf
00:14:38:d2:e8:bd       laserjet3390
00:80:77:da:13:27       brother

WINS Server Config

  • aptitude → install samba
  • /etc/samba/smb.conf:
[global]
  security = share
  workgroup = MCP
  realm = MCP.LCL
  wins support = yes
  server string = Network Server

  # try to become browse master
  local master = yes
  # don't use DNS for NetBIOS lookups
  dns proxy = no

  # no broadcast announcements (we're not using OS/2)
  lm announce = no
  • change RUN_MODE to “inetd” in /etc/default/samba
  • /etc/init.d/samba restart

Time Server Config

  • aptitude → install chrony
  • maybe uncomment the rtcfile line in /etc/chrony/chrony.conf
  • Purdue only: server lines in /etc/chrony/chrony.conf:
server tack.cerias.purdue.edu minpoll 8
server tock.cerias.purdue.edu minpoll 8
server tick.cerias.purdue.edu minpoll 8
computer/network_server_config.txt · Last modified: 2010/05/08 14:40 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS