[Rocks-Discuss] compute node gateway

193 views
Skip to first unread message

Jiang, Victor (Ext)

unread,
Jan 10, 2012, 4:32:18 AM1/10/12
to npaci-rocks...@sdsc.edu
Hi,

We wan to configure interface gateway in compute node, but we cannot find such rocks command, we ever find "rocks set host interface gateway" by google, but cannot find it in the rocks help, could someone tell me how to configure compute node gateway? Thanks!


Best regards,

Victor Jiang
External
China Novartis Institutes for
BioMedical Research Co.,Ltd.,Pudong
five and six floor,BoYun Street 2#
Pudong new area
Shanghai 201203
CHINA

Phone +86 21 61606055
Fax +86 21 61606760
victor...@novartis.com<mailto:victor...@novartis.com>
www.novartis.com<http://www.novartis.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20120110/3b799291/attachment.html

Philip Papadopoulos

unread,
Jan 10, 2012, 11:54:49 AM1/10/12
to Discussion of Rocks Clusters
Hi Victor,
Do you want to set a different default route on the node?

rocks add host route <host> 0.0.0.0 <gateway> netmask=0.0.0.0
followed by a
rocks sync host network <host>

is this command you are looking for. If you want something other than a
default route,
you use the same command, just different network destination and netmask.

-P


--
Philip Papadopoulos, PhD
University of California, San Diego
858-822-3628 (Ofc)
619-331-2990 (Fax)


-------------- next part --------------
An HTML attachment was scrubbed...

URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20120110/a4efc963/attachment.html

Nick Holway

unread,
Jan 19, 2012, 12:04:34 PM1/19/12
to Discussion of Rocks Clusters
Hello Philip,

I'm helping Victor with this Rocks 5.3 cluster. We've tried running
the commands you suggest below, it appears that no changes to the
ifcfg-ethx files are made.

We ran the following:

rocks add host route cluscnzj012 10.132.81.1 eth2 netmask=255.255.255.0
rocks sync config
rocks sync host network cluscnzj012

[root@cnzjhpc1000 ~]# rocks list host route cluscnzj012
HOST NETWORK NETMASK GATEWAY SOURCE
cluscnzj012: 0.0.0.0 0.0.0.0 10.132.87.20 G
cluscnzj012: 10.132.81.1 255.255.255.0 eth2 H
cluscnzj012: 224.0.0.0 255.0.0.0 eth0 G
cluscnzj012: 255.255.255.255 255.255.255.255 eth0 G
cluscnzj012: 86.116.39.37 255.255.255.255 10.132.87.20 G

[root@cluscnzj012 network-scripts]# cat ifcfg-eth2
DEVICE=eth2
HWADDR=00:02:c9:51:08:98
IPADDR=10.132.81.22
NETMASK=255.255.255.0
BOOTPROTO=none
ONBOOT=yes
MTU=1500
TYPE=Ethernet

Do you know how we can fix this?

Thank you for any help.

Nick

Philip Papadopoulos

unread,
Jan 19, 2012, 12:35:15 PM1/19/12
to Discussion of Rocks Clusters
I believe in Rocks 5.3, that the sync network command does not update the
static-routes table.
Can you send the output of
# rocks report host route cluscnzj012

-P

URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20120119/d43756a3/attachment.html

Reply all
Reply to author
Forward
0 new messages