Hi All,
I have scoured the web and can't find this anywhere.
What I am trying to do is set up a static route through an available gateway on a server, and then test connectivity through TELNET.
I have done this on AIX (I already had this procedure).
On AIX I would use SMIT. In this example I had the following info.
Destination IP: 167.210.153.38
Default Gateway: 130.103.18.1
Net Mask: 255.255.254.0
Network Interface: 130.103.19.158
So using SMIT I created this command, which could be run via cmd line:
chdev -l inet0 -a route=net, -hopcount, 0, -netmask, 255.255.254.0, -if, en0,,,,167.210.153.38, 130.103,18.1
then after the static route is set up:
# telnet 167.210.153.38
would give a response to prove it worked.
* * * * *
Now, I just have to do the same thing on a number of Solaris boxes.
I assume the best approach would be to add a line to /etc/gateways, something like:
net 167.210.153.38/255.255.254.0 gateway 130.103.19.158 metric 0 passive
Since I have no SMIT or interface tool I can use, I am pretty much limited to having to figure out exactly where everything is supposed to be first shot.
Does anyone know how to this?
Thanks much