On Mon, 27 Apr 2009 09:17:33 +0200, Christian Horn <[email protected]> wrote: > Hi all, > > > looking for idea/ways to do things. > > > a) setting network-modes > We run some network interfaces in 100full-mode and some in 1gbit mode. > Wondering how to set this up best. The mode is unknown at the time > 'cobbler system add' is done, so i do not wand to use ksopts handing > over vars to a snippet configuring the mode. > My idea for now is using ethtool to ask for interfaces current speed. > If its 1gbit do nothing, if its autonegotiated to 100-half or 100-full i > > echo 'ETHTOOL_OPTS="speed 100 duplex full autoneg off"' \ > >>/etc/sysconfig/network-scripts/ifcfg-eth$number > > to set the mode since if its 100 we run 100full by default. > Any more cobblerish way for this yet?
If you don't have any standard way of doing this, then I'm not sure cobbler can help. We have standard network interfaces for each network, for instance the first onboard is the management network link, whereas the second onboard and the first port of the first PCI card are used for the production bonded interface. If you don't have a standard cabling plan, you really really should. For a solution, I'd recommend either making everything autoneg (since gig needs to be anyway). > b) Finding out networks. > Usually admins deploying a new server have a list by hand containing this: > > - new servers hostname: xyz > - one interface, ip 10.0.0.2 /24 gw .1 > - one interface, ip 11.0.0.2 /16 > - one interface, ip 12.0.0.3 /24 > > Network-people plug cables into the server, and we try to get out pxe- > interface onto first rj45-plug on the motherboard. > The mac has to be read from the remote service board. > I would like to have heuristics for finding out on what other interfaces > the other networks are plugged in. Unfortunatelly not all of these have > gateways, otherwise i could have taken interfaces up, tried to ping the > gateway, and in case of success configure the network. > > How are others handling this? > > > Christian > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
