Multiple Network Interfaces Howto: Difference between revisions
Jump to navigation
Jump to search
(→Solution: draft recommendation) |
(→Related Discussions: + another thread) |
||
Line 22: | Line 22: | ||
* [http://www.mail-archive.com/linux-fai@uni-koeln.de/msg02582.html Two network cards] (Nov 2009) | * [http://www.mail-archive.com/linux-fai@uni-koeln.de/msg02582.html Two network cards] (Nov 2009) | ||
* [http://www.mail-archive.com/linux-fai@uni-koeln.de/msg02110.html FAI - Debian Lenny and Hardware with Multiple Ethernets] (Jun 2009) | |||
* [http://www.mail-archive.com/linux-fai@uni-koeln.de/msg01845.html Multiple NICs, partial success, partial weirdness] (Mar 2009) | * [http://www.mail-archive.com/linux-fai@uni-koeln.de/msg01845.html Multiple NICs, partial success, partial weirdness] (Mar 2009) | ||
* [http://www.mail-archive.com/linux-fai@uni-koeln.de/msg01748.html Dual NIC = hang] (Feb 2009) | * [http://www.mail-archive.com/linux-fai@uni-koeln.de/msg01748.html Dual NIC = hang] (Feb 2009) |
Revision as of 08:23, 19 November 2009
Motivation
You want to use FAI to install systems with two or more network interface cards (NIC).
Installing a client with two active interfaces usually causes trouble as the boot process hangs when ipconfig tries to set up the 'wrong' interface using DHCP when no DHCP server is present for the respective interface. Also, by default FAI sets up only one (i.e. the first) network interface dynamically with the following script of the FAIBASE class:
/var/lib/fai/config/scripts/FAIBASE/30-interface
Solution
Draft recommendation:
- Set up DHCP for each network (card), otherwise the installation boot process will hang when ipconfig tries to set up all interfaces.
- You should have one template /etc/network/interfaces for each class of machine, and then plug in the IP addresses for each machine via search and replace. Use cfagent for this.
Analysis, Troubleshooting
- Boot process stops at ipconfig (client installation over network)
- Check which MAC address ipconfig is trying to set up. Typically, the related interface is not connected to a network that provides a DHCP address for that network card.
Related Discussions
- Two network cards (Nov 2009)
- FAI - Debian Lenny and Hardware with Multiple Ethernets (Jun 2009)
- Multiple NICs, partial success, partial weirdness (Mar 2009)
- Dual NIC = hang (Feb 2009)
- tg3 network cards (Dec 2008)