I have an old DEC Unix 4 machine and am in need to change the gateway. I have managed to find the IP address and Netmask but was unsuccessful on finding the gateway.
not sure about this, as we haven't 4.0 systems any more. But, like Mike042, I think it should be in file /etc/routes.
Two ideas:
Have you read the manual? man routes might help.
Create a file /etc/routes with contents as described above, and permissions 644.
You may have to restart your net services (or at least use a kill -HUP) in order to make the change effective.
In your original post you said/asked "I have an old DEC Unix 4 machine and am in need to change the gateway."
Now you are saying "Still no joy. I have managed to change the IP and Subnet using the GUI."
It sounds like you are trying to (maybe already succeeded in) re-configuring your network interface card and the system connectivity. (perhaps because you moving the system from one location/network to another ?)
If this is what you are trying to do, then use the netsetup command:
Choice 1 (Configure Network Interfaces)
delete then configure your network interface(s)
Choice 2 (Add Static Route)
No to rwhod
Yes to run (g)ated or (r)outed
Yes to add a static route
Use d for (d)efault
Enter the gateway IP address
Choice 5 (Exit)
I hope that helps.
(PS Please remember that specific questions usually get specific answers)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.