Nástroje používateľa

Nástoje správy stránok


server:dfnsp:start

Toto je staršia verzia dokumentu!


ETH Device MAC IP
N/A BMC / IPMI 00:25:90:ff:93:05 192.168.1.18
eth0 System LAN1 0c:c4:7a:3a:a6:1a 192.168.1.19
eth1 System LAN2 0c:c4:7a:3a:a6:1b 192.168.168.168
eth2 10Gb Opt LAN1 0c:c4:7a:1f:da:d8 192.168.192.168
eth3 10Gb Opt LAN2 0c:c4:7a:1f:da:d9 N/A

Firmware Revision : 01.93 Firmware Build Time : 03/26/2015 BIOS Version : 1.0a BIOS Build Time : 01/07/2015

DHCP

Pre RaspberryPi na samostatnej fyzickej sieti je nastavená autokonfigurácia IP adresy z DHCP servera. Všetky RaspberryPi budú mať záznam podľa svojej MAC adresy v konfiguráku a dostanú preto IP adresu natvrdo.

Aby DHCP bežalo len na RPi sieti zadáme toto:

/etc/conf.d/dhcpd
DHCPD_IFACE="eth2"

Konfigurácia servera je potom nasledovná

/etc/dhcp/dhcpd.conf
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# vim:ts=2 ai si sw=2 sta sm:
 
 
# option definitions common to all supported networks...
option domain-name "medic.sk";
option domain-name-servers 192.168.192.168;
 
default-lease-time 3600;
max-lease-time 80000;
 
# Use this to enable / disable dynamic dns updates globally.
ddns-update-style none;
 
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
 
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
 
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
 
# Main
subnet 192.168.192.0 netmask 255.255.255.0 {
  option ntp-servers  192.168.192.168;
  option time-servers 192.168.192.168;
  deny client-updates;
  deny unknown-clients;
  range 192.168.192.1 192.168.192.100;
  option routers 192.168.192.168;
  option domain-name-servers 192.168.192.168;
  default-lease-time 86400;
  max-lease-time 172800;
  # pomocny komp beziaci na xen serveri
  host pi001 {   # Asi chirurgia
    hardware ethernet B8:27:EB:2C:03:D7;
    fixed-address 192.168.192.1;
  }
  host pi002 {   # Urologia
    hardware ethernet B8:27:EB:AB:1D:3A;
    fixed-address 192.168.192.2;
  }
  host pi003 {   # Anestezia
    hardware ethernet B8:27:EB:8A:41:2F;
    fixed-address 192.168.192.3;
  }
  host pi004 {   # ToDo
    hardware ethernet B8:27:EB:C9:8F:BE;
    fixed-address 192.168.192.4;
  }
  host pi005 {   # Ortopedia
    hardware ethernet B8:27:EB:AA:F4:CD;
    fixed-address 192.168.192.5;
  }
  host pi006 {   # ToDo
    hardware ethernet B8:27:EB:F9:AD:A9;
    fixed-address 192.168.192.6;
  }
  host pi007 {   # ToDo
    hardware ethernet B8:27:EB:7A:BC:48;
    fixed-address 192.168.192.7;
  }
  host pi008 {   # ToDo
    hardware ethernet B8:27:EB:7C:C8:60;
    fixed-address 192.168.192.8;
  }
  host pi009 {   # ToDo
    hardware ethernet B8:27:EB:5A:3E:BA;
    fixed-address 192.168.192.9;
  }
  host pi010 {   # ToDo
    hardware ethernet B8:27:EB:8C:A8:20;
    fixed-address 192.168.192.10;
  }
  host pi011 {   # ToDo
    hardware ethernet B8:27:EB:17:61:E0;
    fixed-address 192.168.192.11;
  }
  host pi012 {   # ToDo
    hardware ethernet B8:27:EB:DF:E9:B1;
    fixed-address 192.168.192.12;
  }
  host pi013 {   # ToDo
    hardware ethernet B8:27:EB:D7:7F:BF;
    fixed-address 192.168.192.13;
  }
  host pi014 {   # ToDo
    hardware ethernet B8:27:EB:1F:68:85;
    fixed-address 192.168.192.14;
  }
  host pi015 {   # ToDo
    hardware ethernet B8:27:EB:28:BF:CF;
    fixed-address 192.168.192.15;
  }
  host pi016 {   # ToDo
    hardware ethernet B8:27:EB:38:DD:58;
    fixed-address 192.168.192.16;
  }
    host pi017 {   # ToDo
    hardware ethernet B8:27:EB:C9:4F:7D;
    fixed-address 192.168.192.17;
  }
  host pi018 {   # ToDo
    hardware ethernet B8:27:EB:70:F0:39;
    fixed-address 192.168.192.18;
  }
  host pi019 {   # ToDo
    hardware ethernet B8:27:EB:FA:CE:22;
    fixed-address 192.168.192.19;
  }
  host pi020 {   # ToDo
    hardware ethernet B8:27:EB:4B:26:0A;
    fixed-address 192.168.192.20;
  }
  host pi021 {   # ToDo
    hardware ethernet B8:27:EB:94:67:B6;
    fixed-address 192.168.192.12;
  }
  host pi091 {   # StanoB2+
    hardware ethernet B8:27:EB:02:3F:8B;
    fixed-address 192.168.192.91;
  }
  host pi092 {   # MerakB1+
    hardware ethernet B8:27:EB:76:67:04;
    fixed-address 192.168.192.92;
  }
  host pi093 {   # TestingB2+
    hardware ethernet B8:27:EB:F7:F7:93;
    fixed-address 192.168.192.93;
  }
}

FIXME

RPi No Device MAC IP hosts,demo,ssh
pi001 Chirurgia B8:27:EB:2C:03:D7 192.168.192.1 ok
pi002 Urologia B8:27:EB:AB:1D:3A 192.168.192.2 ok
pi003 Anestezia B8:27:EB:8A:41:2F 192.168.192.3 ok
pi004 #reserved# B8:27:EB:C9:8F:BE 192.168.192.4
pi005 Ortopedia B8:27:EB:AA:F4:CD 192.168.192.5 ok
pi006 Ortopedia B8:27:EB:F9:AD:A9 192.168.192.6
pi007 Ortopedia B8:27:EB:7A:BC:48 192.168.192.7
pi008 Ortopedia B8:27:EB:7C:C8:60 192.168.192.8
pi009 Ortopedia B8:27:EB:5A:3E:BA 192.168.192.9
pi010 Ortopedia B8:27:EB:8C:A8:20 192.168.192.10
pi011 Ortopedia B8:27:EB:17:61:E0 192.168.192.11
pi012 Ortopedia B8:27:EB:DF:E9:B1 192.168.192.12
pi013 Ortopedia B8:27:EB:D7:7F:BF 192.168.192.13
pi014 Ortopedia B8:27:EB:1F:68:85 192.168.192.14
pi015 Ortopedia B8:27:EB:28:BF:CF 192.168.192.15
pi016 Ortopedia B8:27:EB:38:DD:58 192.168.192.16
pi017 Ortopedia B8:27:EB:C9:4F:7D 192.168.192.17
pi018 Ortopedia B8:27:EB:70:F0:39 192.168.192.18
pi019 Ortopedia B8:27:EB:FA:CE:22 192.168.192.19
pi020 Ortopedia B8:27:EB:4B:26:0A 192.168.192.20
pi021 Ortopedia B8:27:EB:94:67:B6 192.168.192.21
pi022 #unknown# B8:27:EB:00:B7:9E 192.168.192.22
pi023 #unknown# B8:27:EB:68:80:4C 192.168.192.23
????? StanoB2+ B8:27:EB:02:3F:8B 192.168.192.??
????? MerakB1+ B8:27:EB:76:67:04 192.168.192.??
????? TestingB2+ B8:27:EB:F7:F7:93 192.168.192.??
server/dfnsp/start.1440155046.txt.gz · Posledná úprava: 2015/08/21 13:04 od Stanislav Nízky