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

Re: Help needed with ip route



well yes the gateway is in the same class c that the route that I am using.
these numbers are hypothetical anyway.... :)
and I have 4 Ethernet devices with various subnets.
at anyrate... Route doesn't work anymore (at all).. I have to use ip route
with kernel 2.2.14
I just dont know the syntax of ip route.


> On 2000-02-03 22:51:08, Kent Andersen wrote:
>
> > route add -net 198.168.1.32 netmask 255.255.255.240 metric 4 gw
198.168.1.2
> > dev eth1
>
> Your gw is not in the network that you are routing.  Also, try to
> using this sequence of options:
>
> route add {-host|-net} Target[/prefix] [gw Gw] [metric M] [netmask N]
> [[dev] If]
>
> Unless you have multiple devices on this network, I don't think that
> you will need to specify the device.
>
>
> /Allan
> --
> Allan M. Wind Email: wind@freewwweb.com
> P.O. Box 2022 Phone: 781.279.4513 (home)
> Woburn, MA 01888-0022 Phone: 781.274.7000 ext. 368 (work)
>


Reply to: