www.linuxexpert.ro

Tutorials

  • Home
  • BGP Tutorials
    • Remove private AS
  • cPanel Tutorials
    • Install ImageMagick on cPanel
    • Install Softaculous
  • Linux Tutorials
    • Auto-reboot Linux after kernel panic
    • Building a firewall with Iptables
    • Change array RAID 1 disk order
    • Configure ntfs-3g on Linux Slackware
    • DHCP Option Codes
    • DansGuardian with Squid and ClamAV
    • Fetchmail for Gmail accounts
    • Install Zend & APC PHP Optimizers
    • Install Atheros AR242x PCI Express Adapter
    • Install awstats with DirectAdmin
    • Install DBD::mysql via CPAN shell
    • Install DjbDNS on Ubuntu
    • Installing fail2ban on Centos 5
    • Install GoDaddy SSL Certificate
    • Install i386 packages under x86_64
    • Install Linux via USB flashdrive
    • Install ModSecurity2 on Apache2.0.x
    • Install Nginx on CentOS
    • Install webalizer with ispconfig
    • Install intel A/B/G/N wireless on linux
    • Kernel Upgrade
    • Mobile phone access via bluetooth
    • Optimize MySQL
    • Optimize Qmail
    • Optimize server load
    • Optimize and Tune Apache for performance
    • Optimize and Tune Nginx for performance
    • Perfect Mailserver on Debian
    • Pidgin "Now Playing" Status Message
    • PHP hardening
    • PHP hardening with Suhosin
    • PHP5 Support allong with PHP4
    • Previewing your site before making DNS changes
    • Proxy Auto Configuration
    • PXE boot install rescue
    • Setup awstats on CentOS
    • Setup EC2 Amazon L2TP IPSec VPN
    • Setup email piping with Qmail
    • Setup Exim with DKIM
    • Setup Exim smart relay with cPanel
    • Setup OpenVPN
    • Setup postfix on nonstandard port
    • Setup SS5 Socks Proxy
    • Setup vsftp with no shell access
    • Sendmail smart relay with gmail auth
    • Squid proxy NCSA authentication
    • Tcpdump filters
    • Upgrade PHP to 5.3 in Plesk 10
    • Useful regular expressions
    • X with [SiS] 771/671 VGA controller
  • Joomla Tutorials
    • Hardening Joomla
    • Module Positions
    • Remove Joomla description meta tag
  • Looking Glasses
  • Optimize Firefox
  • Security
    • Crack WiFi WEP passwords
    • Defend against UDP isc.org DNS query DDOS
    • Detect DDoS attack
    • Remove malware from web sites
    • Sniff SSL passwords with ettercap
    • Snort2BGP
    • Track Hackers
    • What Is My IP
  • Troubleshooting
    • Grub error no such disk
    • named dumping master file: tmp-XXXXXXXXXX: open: permission denied
    • Nginx 413 Request Entity Too Large
    • SSH conection closed by remote host
    • Troubleshooting sis190.c
  • Unix Tutorials
    • FreeBSD reset root password
    • Installing snort on OpenBSD
    • Unix Toolbox
  • Virtualization Tutorials
    • Convert VirtualBox image to VMWare
    • VMware SNMP Enable
  • VoIP Tutorials
    • Install Elastix
    • Qos for Asterisk

Who's Online

We have 20 guests and no members online

Most Read

  • Setup SS5 Socks Proxy
  • Install webalizer with ispconfig
  • Sniff SSL passwords with ettercap
  • __404__
  • Optimize and Tune Apache for performance

Products and Services

  • Home
  • Linux Products and Services
  • Buy VPN Account
  • Privacy Policy for Linuxexpert
  • Remove malware

PXE boot install rescue

  • Print
  • Email
Details
Parent Category: Tutorials
Published: 23 December 2008
Hits: 3981

 

Bellow you have Scott Morris's answer:

 

 

"PXE (Preboot eXecution Environment) searches for a boot server as well as a DHCP server if an IP is not preconfigured. The information returned from DHCP normally provides things like an IP address, netmask, default gateway and any other desired options. In the PXE world, one of the options is an Remote Installation Services (RIS) server. If the PXE boot code REQUIRES this option and it’s not being handed back, then the information may be ignored. (It’s option 60, in case you care!)

That’s potential problem No. 1, but if you aren’t seeing the broadcasts forwarded to begin with, then this isn’t your issue.

Another issue depending on the PXE software/requests is if the router views this as a "malformed" DHCP request, it won’t forward it. Some PXE vendors do not put an IP address field into their DHCP discovery packet. Normally, in a workstation that doesn’t know who it is, this field will be there and contain "0.0.0.0" as the entry. If not present, a Cisco router will regard this as an invalid packet and not forward it.

This is potential problem No. 2 and seems more likely what you’re running into. I read somewhere that when vendors use an LanClient Control Manager (LCCM) server instead of the RIS that this seems to be a common issue and there is no workaround other than putting the DHCP server on the same subnet as the clients.

A third thing that you may be running into would be in your switch configuration. If your switch is doing spanning tree calculations, you’re not forwarding any traffic at all within the first 50 seconds and that may exceed the timeouts in your PXE setup. On your switch’s ports, try using "spanning-tree portfast" to jump immediately to a forwarding state.

Do this on the ports your hosts are connected to. Keep things simple and sane!

Answering your question though about running a DHCP server and forwarding at the same time, the answer would be no. You can configure it all you want, but if you have a DHCP server running on the router, it’ll process the received broadcast first to the service and the helper-address will never engage. At least that has been my experience with setting things up.

While it’s nice that your router/switch can be a DHCP server for your network, it’s really not recommended! You can always get a spare PC and install some free flavor of Unix on it to run DHCP services. Even if you don’t know anything about Unix, it’ll take perhaps an hour worth of searching on the Web for step-by-step instructions, and you’ll have a much more robust environment. Then, as you go from office to office, the setup will be the same, except for the unique scope information.

You might also try asking your computer/NIC vendor about any issues they know about with remote DHCP servers. There may be other workarounds based on their particular drivers and coding.

Hope that helps!"

Note:

We use Hosting and VPS Hosting, from: www.star-host.org

We like and trust them.

Good prices, high security.

fShare
Tweet