pxe 네트웤 부팅 시 tftp open timeout 문제...

rlawnsgh3의 이미지

저의 설정 내용들입니다.

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 를 지원하지 않을 수도 있습니다. bootp 에서 받아가는 양은 얼마되지 않을테니 tftp root 를 local partition 에다 지정해 보세요.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.