route add default gw (your gateway)
-CJO-
On Mon, 14 Jun 1999 [EMAIL PROTECTED] wrote:
>
> I have a fix ip in a LAN. I can ping any ip inside the LAN, but I
>can't ping any ip outside the gateway. First my netstat shows
>
>Kernel IP routing table
>Destination Gateway Genmask Flags MSS Window irtt Iface
>202.184.13.128 0.0.0.0 255.255.255.128 U 1500 0 0 eth0
>127.0.0.0 0.0.0.0 255.0.0.0 U 3584 0 0 lo
>
> I try,
>
>% route add -net (my ip) gw (the gateway)
>
> SIOCADRT: Invalid argument
>
>% route add -net (x.x.x.0) gw (the gateway)
>
> I still can't ping ip outside the gateway? Why.
>
> Excuse me for taking out the ip. :)
>
>
>
>
C.J. Oster (Linux Guru/Surge Addict)
------------------------------------------------------------------
| [EMAIL PROTECTED] | 1003 S. 1st St. | CCSO, WSG, UIUC |
| [EMAIL PROTECTED] | Champaign, IL 61820 | 1443 DCL, Urbana |
| ---------------------------------------------------------------|
| PGP: 87D5 4216 43A1 42D6 754D 8F5E 24B3 992A B7A1 F556 |
------------------------------------------------------------------
(580)761-6393 (217)328-8934
"Linux, for people with an IQ above 98" - Bumper Sticker
"Hm, a little big for a cup holder... Why does it say '4x' on it?"