[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to add route to the routing tables?



hi
i need some help in defining static route in my linux.
i've connected both my pc's in a local lan.
i have only one phone line, so i'm using nat address to connect both pc's to 
the internet using one modem.
i have both windows and linux on my pc's, and in windows it works fine.
now to the questions:
1. how do i know if linux recognized my eternet card?
2. how do i add a static route like this for example:
   ip: 122.188.100.100, s.n: 255.255.255.0, g.w 122.188.100.100 to the 
eternet card?
(i've read the manuals about addroute, ifconfig, netstat, but i dont know 
linux so good, and dont want to mess my modem configuration)

thanks,
	alon kadury
	kadury@hotmail.com



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com