Need some assistance with correcting route issues on a login node. Login node networking is just like the management node, meaning, that it has an internal interface (where it was deployed by xcatmn), and it has an external network interface, where users can log in from the campus network.
The issue is that the default route for the login node is the internalnet (via xcatmn). Now that works fine for outbound traffic. However, that doesn't work at all for inbound traffic. Users cannot log in to the login node directly. Now, if I forget about the cluster, and just use linux to solve this, it's simple. route del default gw www.xxx.yyy.zzz, then, route add default gw www.xxx.yyy.zzz via em4, and it's working. Now a user can log in to the login node directly from the campus network without issue. But, I want to do this the proper "xCAT way". If the login node gets rebuilt, I want it to work out of the box after reinstall, because it configured what was in the xCAT database and that was correct. So, what IS the proper way to have that login node delete the internalnet default gateway, then add the externalnet gateway as the default? I've added routes for internal and external nets. chdef -t route defaultroute net=internalnet mask=255.255.252.0 gateway=172.16.0.1 chdef -t route externalnet net=10.10.10.0 mask=255.255.255.0 gateway=10.10.10.1 ifname=em4 I've then told xCAT to remove the defaultroute (internalnet) from that node: makeroutes login01 -d -r defaultroute But it responds with: [root@xcat-master ~]# makeroutes login01 -d -r defaultroute login01: The temporary route (172.16.0.0 255.255.252.0 172.16.0.1) does not exist. However, on the node, it most certainly does exist in the routing table. [root@login01 ~]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default xcat-master.del 0.0.0.0 UG 0 0 0 em1 So how do I get rid of that, and replace it with the externalnet gatewy as the default for only that node, the proper xCAT way? Thanks in advance.
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user