Hi,
i have a problem installing Systems with Redhat 5 using Spacewalk.
The Systems have 3 Network Interfaces which shall be used
eth0 is the install network, which is not routed.
eth2 and 3 shall be configured as bond for LAN access.
i use cobbler to add the system with the following syntax:
cobbler system add --name=$NAME --profile
rhel5-x86_64-prod:1:SpacewalkDefaultOrganization --hostname=$NAME
--interface=eth0 --mac=$MAC --ip-address=$INSTIP --subnet=255.255.0.0
--static=1
cobbler system edit --name=$NAME --interface=eth2 --bonding=slave
--bonding-master=bond0
cobbler system edit --name=$NAME --interface=eth3 --bonding=slave
--bonding-master=bond0
cobbler system edit --name=$NAME --interface=bond0 --bonding=master
--bonding-opts="mode=active-backup miimon=100" --ip-address=$BONDIP
--subnet=255.255.0.0 --static=1 --gateway=$GATEWAY
--name-servers=$DNSSERRVERS --name-servers-search=$SEARCHLIST
This creates all required entries, but also creates the entry "option
routers $GATEWAY" in /etc/dhcp/dhcpd.conf in the host entries.
When booting the to be installed systems the installations stops while
aquiring the ip adress for eth0 from the dhcp server with the message
add: failed - 101: Netlink Error (errno = Network is unreachable)
nic_configure: failed to add routes
As far as i understand this message occurs because the system tries to
add the gateway specified in dhcpd.conf, but it can't because there is
no network interface with an ip in the same subnet as the gateway, which
is correct for this point in time.
after the installation the gateway can be reached over the bond interface.
With Redhat 6 i don't habe this problem.
Why does redhat 5 stop installing because it can't add the specified
Default gateway ?
the Spacewalk server can be reached since it is in the same subnet as
the ip for eth0.
the specified DNS Servers also can not be reached and throw an error but
the installation continues.
anyone got an idea how to get this running ?
if i delete the gateway entry in dhcpd.conf the system installs without
any problem.
since i don't want to modify dhcpd.conf manually for each server i need
to install i need a way to get this running.
thank in advance
Frank
--
beste Grüße,
Frank Paulick
Baader Bank AG
Weihenstephaner Str. 4
85716 Unterschleißheim
Deutschland
Telefon: +49-89/5150-1522
Telefax: +49-89/5150-2421
Email: [email protected]
Internet: http://www.baaderbank.de
http://www.bondboard.de
******************************************************************************************************
Baader Bank AG: Vorstand: Uto Baader (Vors.), Nico Baader, Dieter Brichmann;
Vorsitzender des Aufsichtsrates: Dr. Horst Schiessl; Amtsgericht München HRB
121537; Sitz der Gesellschaft: Unterschleissheim; StNr. 143/100/10066;
USt-IdNr. DE114123893.
******************************************************************************************************
Diese Email enthält vertrauliche Informationen. Sollten Sie diese Email
irrtümlich erhalten, machen wir Sie darauf aufmerksam, dass jegliche Verwendung
strikt untersagt ist. Bitte informieren Sie uns gegebenenfalls unverzüglich und
vernichten Sie das Original. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Email ist nicht gestattet.
Wir haben alle verkehrsüblichen Maßnahmen unternommen, um das Risiko der
Verbreitung virenbefallener Software oder Emails zu minimieren, dennoch raten
wir Ihnen, Ihre eigenen Virenkontrollen auf alle Anhänge an dieser Nachricht
durchzuführen. Wir schließen außer für den Fall von Vorsatz die Haftung für
jeglichen Verlust oder Schäden durch virenbefallene Software oder Emails aus.
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list