最新HONGHU PX
Directly physical Connection (GPU Server- NAS)
Install DHCP server
Check interface
Configure
sudo apt-get install isc-dhcp-server
ifconfig
to check which interface we can use
sudo vim /etc/default/isc-dhcp-server
insert your interface into " "
INTERFACESv4=“eth1”
sudo vim /etc/dhcp/dhcpd.conf
Uncomment lines :
authoritative;
And the lines near
“A slightly different configuration for an internal subnet.”
subnet 6.6.6.0 netmask 255.255.255.0 {
range 6.6.6.150 6.6.6.170;
option domain-name-servers ns1.internal.example.org;
option domain-name “internal.example.org”;
option subnet-mask 255.255.255.0;
option routers 6.6.6.1;
option broadcast-address 6.6.6.255;
default-lease-time 600;
max-lease-time 7200;
}
host fantasia {
hardware ethernet 08:00:07:26:c0:a5;
fixed-address 6.6.6.10;
}
set a static ip to GPU server via your desktop (e.g. 6.6.6.1)
sudo systemctl restart isc-dhcp-server
sudo systemctl status isc-dhcp-server
type 6.6.6.1:5000 on your browser
set all things you want - CGU