pxe 네트웤 부팅 시 tftp open timeout 문제...
저의 설정 내용들입니다.
vi /etc/dhcpd.conf
------------------------------------------------------------------------------------------------
allow booting;
allow bootp;
default-lease-time 3600;
max-lease-time 7200;
#authorative;
#log-facility local7;
ddns-update-style none;
option domain-name-servers 192.168.0.1;
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
subnet 192.168.0.0 netmask 255.255.255.0 {
}
group{
filename "pxelinux.0";
use-host-decl-names on;
next-server 192.168.0.20;(서버아이피)
host n1{
hardware ethernet 00:0C:29:AA:44:DE;(클라이언트 맥주소)
fixed-address 192.168.0.21;(클라이언트 아이피 주소)
option root-path "/";
}
}
------------------------------------------------------------------------------------------------
vi /etc/exports
-------------------------------------------------------------------------------------------------
/tftpboot/n1 192.168.0.21/24(클라이언트 아이피)(sync,rw,no_root_squash,no_all_squash)
/root 192.168.0.21/24(클라이언트 아이피)((sync,rw,no_root_squash,no_all_squash)
/usr/local 192.168.0.21/24(클라이언트 아이피)((sync,rw,no_root_squash,no_all_squash)
/opt 192.168.0.21/24(클라이언트 아이피)(((sync,rw,no_root_squash,no_all_squash)
/usr 192.168.0.21/24(클라이언트 아이피)(((sync,rw,no_root_squash,no_all_squash)
/home 192.168.0.21/24(클라이언트 아이피)(((sync,rw,no_root_squash,no_all_squash)
-------------------------------------------------------------------------------------------------
vi /etc/hosts
-------------------------------------------------------------------------------------------------
127.0.0.1 localhost localhost
192.168.0.20(서버 아이피) master.ikis.co.kr localhost
192.168.0.21(클라이언트 아이피) n1.ikis.co.kr n1
-------------------------------------------------------------------------------------------------
vi /etc/hosts.equiv
-------------------------------------------------------------------------------------------------
master
n1
n2
n3
-------------------------------------------------------------------------------------------------
vi /tftpboot/n1/etc/fstab
-------------------------------------------------------------------------------------------------
192.168.0.10(서버아이피):/tftpboot/n1 / nfs sync,hard,intr,rw,nolock,rsize=8192,wsize=8192 0 0
192.168.0.10(서버아이피):/opt /opt nfs sync,hard,intr,ro,nolock,rsize=8192,wsize=8192 0 0
192.168.0.10(서버아이피):/usr /usr nfs sync,hard,intr,ro,nolock,rsize=8192,wsize=8192 0 0
192.168.0.10(서버아이피):/home /home nfs sync,hard,intr,rw,nolock,rsize=8192,wsize=8192 0 0
none /proc proc defaults 0 0
-------------------------------------------------------------------------------------------------
vi /etc/xinetd.d/tftp
-------------------------------------------------------------------------------------------------
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
-------------------------------------------------------------------------------------------------
흠.. tftp 가 nfs mount 를
흠.. tftp 가 nfs mount 를 지원하지 않을 수도 있습니다. bootp 에서 받아가는 양은 얼마되지 않을테니 tftp root 를 local partition 에다 지정해 보세요.
댓글 달기