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

Re: Routing



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" <szift@tkk.pl>
To: "Mark Maas" <mark@menem.mine.nu>
Cc: <debian-user@lists.debian.org>
Sent: Thursday, September 04, 2003 1:57 PM
Subject: Re: Routing


> 0, Mark Maas <mark@menem.mine.nu> 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
> szift@tkk.pl
>
>



Reply to: