Any ifconfig or route statements you do are not permanent, you can play around with them and reboot if you get into trouble (or just do an /etc/init.d/networking restart (or whatever your distro's happens to be).<div><br>
</div><div>Also the add-net 192.168.1.0 is not necessary as when you configure the interface with that IP it automatically is entered into the routing table. </div><div><br></div><div>--j<br><div><br><div class="gmail_quote">
On Sun, Sep 12, 2010 at 10:46 AM, Tom Poe <span dir="ltr"><<a href="mailto:tompoe@meltel.net">tompoe@meltel.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Would like to confirm if I understand home network routing correctly.<br>
<br>
I want to open terminal on each computer, and type the following,<br>
assuming each computer has assigned static IP address:<br>
># sudo ifconfig eht0 192.168.1.66 netmask 255.255.255.0 up<br>
># sudo route add-net 192.168.1.0 netmask 255.255.255.0 eth0<br>
># sudo route add default gw 192.168.1.1 eth0<br>
<br>
I hate to run the commands, if I cause permanent change and can't undo<br>
it. Is this the steps I take?<br>
Thanks, Tom<br>
<br>
<br>
_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
</blockquote></div><br></div></div>