Ok thanks, tried it but I get:

SIOCADDRT: Invalid argument

when I issue:
route add -net 192.168.3.0 eth0

man route tells me:
 route add -net 192.56.76.0 netmask 255.255.255.0 dev eth0
              adds a route to the network 192.56.76.x via "eth0".
              The Class C netmask modifier is not  really  neces­
              sary  here  because  192.* is a Class C IP address.
              The word "dev" can be omitted here.

What am I missing?

Mark

----- Original Message -----
From: "Lukasz Hejnak" <[EMAIL PROTECTED]>
To: "Mark Maas" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, September 04, 2003 1:57 PM
Subject: Re: Routing


> 0, Mark Maas <[EMAIL PROTECTED]> napisał:
> > Now how do I tell Debian to route all traffic for 192.168.3.0-255 and
10.1.0.0-255 over the eth0 interface?
> what You need is something like this
> route add -net 192.168.3.0-255 eth0
> or similar, try man route
>
> --
> with regards
> Lukasz Hejnak
> [EMAIL PROTECTED]
>
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to