help:use eth1 to setup kickstart and PXE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have two PC here. PC1 is used as dhcp server and PC2 as client.
PC1 have one NIC and config as eth0; PC2 have two NICs and 
named as eth0 and eth1.

I just want to install Rh9 via PXE and kickstart file and PC2 eth1 on PC2. So dhcp will get PC2 subnet,gateway and netmask info by sending request from PC2:eth1 to PC1:eth0.

But after PC2 get and uncompress kernel and it is printed in
window"getting ip information from eth1", and then it will prompt a window to let me config network by hand!!!!!
I don't know how to let it config automatically. 

You see, I have set these infomation in dhcp server:PC1.
My PXE config file as following:
APPEND ....ks=nfs:192.168.0.5:/tmp/192.168.0.6-kickstart ....ksdevice=eth1

on PC1,/etc/dhcpd.conf as following:
ddns-update-style ad-hoc;
shared-network temp {
option routers 192.168.0.1;
option domain-name-server 192.168.0.1;
subnet 192.168.0.0 netmask 255.255.255.0 {

   default-lease-time -1;
   filename "/tftpboot/pxelinux.0";
   next-server 192.168.0.5;
}
}

group{
   host test1.clusters.com {
       option domain-name "home.com";
       hardware ethernet 00:04:3C:10:49:BB;
       fixed-address 192.168.0.6;   
}
}

How can I let PC2 config network via eth1 automatically?

Thanks!

elechen
______________________________________

===================================================================
ÐÂÀË9Õ×Ãâ·ÑÓÊÏ䣬²»ÊÕ×¢²á·Ñ£¡ (http://mail.sina.com.cn)


_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux