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