Strange, that's all I use to define remote network blocks and it works
fine. The subnet {} definition gets created, but is not tied into a real
shared-network {} block. A commented out shared-network block is created
like so for remote networks, I'm assuming for internal xcat use:
#shared-network !remote! {
Here's what a remote network line looks like that is working correctly
for me:
#netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,staticrange,staticrangeincrement,nodehostname,ddnsdomain,vlanid,domain,comments,disable
"cluster1","172.49.1.0","255.255.255.0","!remote!","172.49.1.254","172.28.55.1","172.28.183.101","172.30.251.20,172.31.251.20","172.31.251.5,172.30.251.5","172.28.55.1",,,,,,,,,
Have you re-ran "makedhcp -n" to create a new dhcpd.conf after
configuring your remote network?
On 2/7/2014 11:19 AM, Brown, David M JR wrote:
>> http://xcat.sourceforge.net/man5/networks.5.html
>>
>> **mgtifname**
>>
>> The interface name of the management/service node facing this
>> network. !remote! indicates a non-local network for relay DHCP.
>>
>>
>> "!remote!" is what you want to use be able to define networks that are not
>> local to the node.
>>
>>
> Right, I read that part of the man page. The issue I'm having is that, the
> subnet block is not showing up in the dhcpd.conf file anywhere. So addresses
> on that network don't get handed out because dhcpd doesn't have the subnet
> defined. I've had to hack the dhcp.pm file to add the remote network to an
> interface so that the subnet block definition for dhcpd shows up associated
> with the interface the dhcp requests come in on.
>
> I don't think "!remote!" is enough to define a network where dhcp requests
> are routed to the xCAT master, since the dhcpd.conf file isn't generated
> correctly. Somehow the subnet block definition needs to be associated with an
> interface for dhcpd to hand out addresses in that range.
>
> Thanks,
> - David Brown
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user