Ubuntu Pastebin

Paste from twoj_ at Fri, 30 Jun 2017 00:05:50 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
##########################################################
# /etc/dhcp/dhcpd.conf
##########################################################
# Disable DDNS updating. DDNS can associate a dynamic IP,
# like what your modem gives your router, with a domain
# name. I'll talk more about this later.
ddns-update-style-none;

# Domain name given to clients. Can be anything that makes
# you happy.
option domain-name "mslab.ubunt.router";

# DNS server that will be advertised to clients. Clients
# will use this DNS server for resolving domain names. In
# this case its Google's public DNS.
option domain-name-servers 192.168.0.1;

# How long clients are allowed to hold onto an IP address
# before checking in with the DHCP server again.
default-lease-time 86400;
max-lease-time 86400;

# This DHCP server is the authoritative source for IP
# addresses. It runs, use the IP it gives you or else.
authoritative;

# Logging.
log-facility local7;

# IMPORTANT PART. This block tells the DHCP server which
# IP addresses it can allocate to clients. This subnet and
# netmask block says there are some addresses to allocate
# from in the 192.168.0.0/24 block.
subnet 192.168.0.0 netmask 255.255.255.0 {

    # Tells the DHCP server it can hand out IPs from the
    # range 192.168.0.100 to 192.168.0.250. If you do the
    # math, that means there are 150 (or maybe 151?, I don't
    # know if its inclusive) addresses available for clients.
    # You can make the range bigger if you have more than
    # that many clients on your LAN. Why not start at
    # 192.168.0.1? I'll get to that in the next section.
    range 192.168.0.100 192.168.0.250;

    # These two options should be the same as what your
    # configured in /etc/network/interfaces
    option subnet-mask 255.255.255.0;
    option broadcast-address 192.168.0.255;

    # The IP address of the router clients should send their
    # traffic to. This should be the same as the static IP
    # address your configured for the router in
    # /etc/network/interfaces.
    option routers 192.168.0.1;
}

host msnas_vm_labkey {
    hardware ethernet 00:0c:29:bd:93:61;
    fixed-address 192.168.0.51;
}

host msnas_vm_oracle {
    hardware ethernet 00:0c:29:bd:93:62;
    fixed-address 192.168.0.50;
}

host tccf {
    hardware ethernet a0:36:9f:3e:a1:e8;
    fixed-address 192.168.0.10;
}

host msnas_1 {
    hardware ethernet 0c:c4:7a:8e:12:12;
    fixed-address 192.168.0.4;
}

host waters_lun {
    hardware ethernet 6c:0b:84:67:32:a9;
    fixed-address 192.168.0.20;
}

host yxx{
	hardware ethernet a0:36:9f:bc:c0:5e;
	deny booting;
}
Download as text