I surmised as well.  Giving the 'dev' in addition to the router ip address make
it work.  The quesion still is ... how come it works in redhat 5.2 without the
'dev'...when i've got the same iproute2 package, same kernel, same everything
except for the distro...

Really strange.


On Tue, 08 Aug 2000, Jonathan Earle wrote:
> 
>  
> I found I had to specify all of the parameters within the nexthop option.
> There's a device, a nexthop address and one more thing I can't remember.  It
> seemed really odd to me to that I had to give it all the info, but, there
> you are.
> 
> >From the ip-cref.ps file, p25:
> 
> nexthop NEXTHOP 
> | nexthop of multipath route. NEXTHOP is complex value with its own syntax 
> similar to one of top level argument list: 
> { via ADDRESS is nexthop router. 
> { dev NAME is output device. 
> { weight NUMBER is weight of this element of multipath route re its 
> relative bandwidth or quality. 
> 
> Jon
> 
> > -----Original Message-----
> > From: Ian "C.Sison [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, August 06, 2000 10:53 AM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: [DESPERATE] Problem with EQUAL COST MULTIPATH, and Redhat 6.2
> > 
> > 
> > 
> > Hello anyone,
> > 
> > I've basically at my wits end with this problem with Redhat 
> > 6.2 and equal cost
> > multipath:
> > 
> > when i do an
> > 
> > ip route add default via 203.123.1.1   
> > 
> > (203.123.1.1 being the IP of the router), all is fine.  The 
> > system accepts the
> > default route and i can route to the internet.
> > 
> > However, doing an
> > 
> > ip route add default nexthop via 203.123.1.1
> > 
> > i get an "RTNETLIN answers: network unreachable"
> > 
> > The reason for only one 'nexthop' is because i initially 
> > wanted to 'hop'
> > between interfaces, and kept on getting this error message.  
> > So i just left one
> > interface for the next hop and still the problem persists.  
> > It's interesting to
> > note that the initial ip route command without the next hop 
> > works fine.
> > 
> > This exact same command works with Redhat 5.2 (with kernel 
> > 2.2 upgraded), and
> > Mandrake 6.1.  I'm using iproute2-2.2.4 for this and have the 
> > _same kernel_
> > running on both machines.  Any help would be appreciated on 
> > this matter!
> > 
> > Ian
> > 
> > 
> > 
> > 
> > -
> > To unsubscribe from this list: send the line "unsubscribe 
> > linux-net" in
> > the body of a message to [EMAIL PROTECTED]
> > 
> 

----------------------------------------
Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to