From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Matias Namiot" Date: Mon, 26 Jul 2004 20:57:40 +0000 Subject: Re: [LARTC] IP ROUTE Message-Id: <001a01c47353$37e74640$1410a8c0@Wireless> MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0017_01C4733A.0B270320" List-Id: References: In-Reply-To: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0017_01C4733A.0B270320 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks ----- Original Message -----=20 From: Julien=20 To: lartc@mailman.ds9a.nl=20 Sent: Monday, July 26, 2004 5:07 PM Subject: Re: [LARTC] IP ROUTE Matias Namiot wrote: > Hello, my linux show me that: > =20 > =20 > /server2 root # ip route add default scope global nexthop via=20 > 192.168.5.1 dev eth2 weight 1 nexthop via 192.168.160.1 dev eth0 = weight 1 > RTNETLINK answers: Invalid argument > / > // =20 > What can I do???? > Thanks > Matias > =20 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/2004 Hi, you need to recompile your kernel with the following enabled : CONFIG_IP_ADVANCED_ROUTER CONFIG_IP_MULTIPLE_TABLES CONFIG_IP_ROUTE_FWMARK (not sure it's needed here but let's enable it) Julien _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/2004 ------=_NextPart_000_0017_01C4733A.0B270320 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thanks
----- Original Message -----
From:=20 Julien
Sent: Monday, July 26, 2004 = 5:07 PM
Subject: Re: [LARTC] IP = ROUTE

Matias Namiot wrote:

> Hello, my linux show me=20 that:


> /server2 root # ip route = add=20 default scope global nexthop via
> 192.168.5.1 dev eth2 weight = 1=20 nexthop via 192.168.160.1 dev eth0 weight 1
> RTNETLINK answers: = Invalid=20 argument
> /
> // 
> What can I do????
> = Thanks
> Matias

>
> ---
> = Outgoing mail=20 is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> = Version:=20 6.0.726 / Virus Database: 481 - Release Date:=20 22/07/2004


Hi,

you need to recompile your kernel = with the=20 following enabled=20 = :

CONFIG_IP_ADVANCED_ROUTER
CONFIG_IP_MULTIPLE_TABLES
CONFIG= _IP_ROUTE_FWMARK=20 (not sure it's needed here but let's enable=20 = it)

Julien

_______________________________________________<= BR>LARTC=20 mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9= a.nl/mailman/listinfo/lartc=20 HOWTO: http://lartc.org/
 

---
Outgoing mail is certified Virus Free.
Checked by = AVG=20 anti-virus system (http://www.grisoft.com).
Version: = 6.0.726=20 / Virus Database: 481 - Release Date:=20 22/07/2004
------=_NextPart_000_0017_01C4733A.0B270320-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/