On Fri, May 21, 1999 at 07:08:00AM -0700, Alon Kadury wrote:

> 1. how do i know if linux recognized my eternet card?

ifconfig eth0

> 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?

Why is your gateway IP's the same as your local machine's?
Generally, if your address is L and the gw is G, and you're both
on net N (for example, 122.188.100.0), you want:

        route add -net N
        route add default gw G

(you do want G to be your default gateway, right?)

You didn't tell us which distribution you use, so I can't tell
you what's the "proper" way of setting this to be persistent across
boots, but if you use redhat, edit the files

        /etc/sysconfig/network                      and
        /etc/sysconfig/network-scripts/ifcfg-eth0

to suit your needs.

> (i've read the manuals about addroute, ifconfig, netstat, but i dont know 
> linux so good, and dont want to mess my modem configuration)

Try the Network Administrator's Guide.

Good luck,
Gaal

-- 
believing is seeing
[EMAIL PROTECTED]
http://www.forum2.org/gaal/

Reply via email to