The network in our office is heavily sub-netted so our xCAT server is not directly attached to the same networks as some of the systems we want to install. To get round this we use DHCP forwarding to pass on the request to the main xCAT server.
With xCAT1 this works fine, with xCAT2 I can't get the makedhcp command to add the appropriate sections to the dhcpd.conf file. What am I missing? This is what I have in the networks tables for the two xCAT servers (first two octets of IP addresses changed for security): #xCAT1 # cat /opt/xcat/etc/networks.tab # networks.tab # #network mask,gateway,dns,dns,dns,... # 123.456.224.0 255.255.252.0,123.456.224.1,123.456.251.50 123.456.228.0 255.255.252.0,123.456.228.1,123.456.251.50 123.456.249.0 255.255.255.0,123.456.249.1,123.456.251.50 #xCAT2 # tabdump networks #netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,nodehostname,ddnsdomain,vlanid,domain,comments,disable "ground","123.456.249.0","255.255.255.0","eth0","123.456.249.1","123.456.249.152","123.456.249.152",,"123.456.251.50,123.456.251.6,123.456.251.51",,,,,,,, "secondeast","123.456.228.0","255.255.252.0","!remote!","123.456.228.1","123.456.249.152","123.456.249.152",,"123.456.251.50,123.456.251.6,123.456.251.51",,,,,,,, "secondwest","123.456.224.0","255.255.252.0","!remote!","123.456.224.1","123.456.249.152","123.456.249.152",,"123.456.251.50,123.456.251.6,123.456.251.51",,,,,,,, If I run: makedhcp -n makedhcp -a on the xCAT 1 server I get sections for all three networks. On xCAT2 I don't get the remote networks (though hosts on these networks do get added to the dhcpd.leases file). I should also perhaps mention that historically we don't use local DNS servers - we use the corporate servers so I haven't run makedns on either system and all DNS related values in the site table and elsewhere point at the corporate infrastructure. This is seen with xCAT 2.6.1 and 2.6.8 (xCAT1 version is 1.3 FWIW!) Regards, Mark ---------------------------------------------------------------------------- Mark Loveridge [email protected] Tel: +44(0)1293 556870 --- Fax: +44(0)1293 556800 --- Mob: +44(0)7824 473477 Registered Name: WesternGeco Limited Registered Office: Schlumberger House, Buckingham Gate, Gatwick Airport, West Sussex RH6 0NZ, UK Registered in England & Wales: No. 1389716 ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
