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
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:
DHCPD_IFACE="eth2"
Konfigurácia servera je potom nasledovná
# 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 { # Zatial random hardware ethernet B8:27:EB:2C:03:DA; fixed-address 192.168.192.4; } host pi005 { # Ortopedia hardware ethernet B8:27:EB:AA:F4:CD; fixed-address 192.168.192.5; } 6 B8:27:EB:F9:AD:A9 }
RPi No | Device | MAC | IP |
---|---|---|---|
pi001 | Chirurgia | B8:27:EB:2C:03:D7 | 192.168.192.1 |
pi002 | Urologia | B8:27:EB:AB:1D:3A | 192.168.192.2 |
pi003 | Anestezia | B8:27:EB:8A:41:2F | 192.168.192.3 |
pi004 | #reserved# | unknown | 192.168.192.4 |
pi005 | Ortopedia | B8:27:EB:AA:F4:CD | 192.168.192.5 |
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:38:DD:58 | 192.168.192.20 |
pi021 | Ortopedia | B8:27:EB:38:DD:58 | 192.168.192.21 |