The setroute postscript calls the routeop script inside. There's operation in the routeop to fix the route cfg to be persistent. Could you take a look whether the route entry has been added in the compute node (refer to the routeop and relative OS).

Thanks
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (王晓朋)
IBM China System Technology Laboratory
Tel: 86-10-82453455
Email: [email protected]
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193
 
 
----- Original message -----
From: "Baker D.J." <[email protected]>
To: "[email protected]" <[email protected]>
Cc:
Subject: [xcat-user] Setting the default gateway on a node
Date: Fri, Mar 18, 2016 6:18 PM
 

Hello,

 

I wish to define a default gateway on a group of nodes which is not in the deployment network. I figured out how to do this in xcat and it works as expected. Essentially I followed these instructions…

 

1. First define a route in the routes table. Make net=192… for default

gateway.

2. Add the route name for the node attribute.

    chdef <node> routenames="blah"

3. Run command to add the route to the node

    makeroutes <node>

4.  If you want the routes be automatically setup during node deployment,

add setroute script name to the postscripts.postbootscripts for the node.

 

So when I build my nodes everything works just great…

 

route -à

default         192.168.161.254 0.0.0.0         UG    0      0        0 eth1

 

Unfortunately, on subsequent reboots, the default route reverts to that supplied by DHCP. That is, the one on the primary network…

 

route à

default         10.13.23.254    0.0.0.0         UG    0      0        0 eth0

 

Someone posted regarding this issue/feature a year ago, however did not receive a reply. I’m just wondering if is this a bug or am I missing something fundamental? Could someone please advise me.

 

Best regards,

David

 

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to