Routed_Networks_setup_with_DHCP

Note: this is a user-contributed document. While this howto contains some very useful information, it is not necessarily updated for new versions of xCAT and therefore may be inaccurate in some cases. Use it with this in mind. We welcome corrections and contributions - see Editing xCAT Documentation. And see the [XCAT_Documentation] page for documentation that is tested and updated with each xCAT release (to the best of our ability).

To enable DHCP to work in environments where the network switches handle DHCP forwarding you need to mark the subnets in the network table with a tag indicating that they are "remote". The way that this is accomplished is by using the management interface name field in the subnet ("mgtifname") designating it as a "!remote!" interface. Here is an example of such a subnet definition:

#netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,nodehostname,comments,disable
"rem1","192.168.0.0","255.255.255.0","!remote!",,,"192.168.0.197","9.0.9.1,9.0.8.1,192.168.0.1",,,,,,

After you get this entry in the networks table, you need to tell the site table which networks the management node is attached to. This is done by having the following value in the site table:

"dhcpinterface","!remote!",,

You may have as many "remote" subnets as are necessary.


Related

Wiki: HowTos

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.