01-29-2001
If your routers IP is 192.168.0.1 and the ipx IP is 10.0.0.2
As root type;
/usr/sbin/route add net 10.0.0.0 192.168.0.1
Whatever the ipx IP is replace the last octet with a 0. It does not matter where you are at in the file system when you type this. If route is not in /usr/sbin replace the path. This is only temporary though and will be deleted the next time the system is rebooted. If you need to make it permanant, you will need to create an executable file (/etc/rc2.d/S99routeadd) with the above route statement.
[Edited by 98_1LE on 01-29-2001 at 02:02 PM]
2 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I set up remote printing on a clients Unix server to my Windows XP USB printer. My USB printer is connected directly to my PC (no print server and no network input on printer). With my Win XP PC connected to my cable modem (without the router), i can do
lp -dhp842c /etc/hosts and it prints. I... (7 Replies)
Discussion started by: jmhohne
7 Replies
2. Shell Programming and Scripting
I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies