1) Say your subnet is 192.168.0.0, a router at 192.168.0.254 is configured to reach the 192.168.1.0 subnet, then to define the route on your subnet: route add -net 192.168.1 192.168.0.254
2)To assign a IP address to a NIC, do netconfig.
The ifconfig can then be used to assign alias address.
Anyway, first do the following: ifconfig -a; netstat -rn
this will give you an overview of your current configuration.
I strongly suggest this:
man netconfig
man ifconfig
man route
man netstat
Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
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.