[OLSR-users] Configuring MANET Routers
Ben McCarthy
(spam-protected)
Wed May 9 13:48:43 CEST 2007
Patrick & Bernd,
I had thought HNAs were only designed to advertise a default route to the
Internet, I didn't realise you could use them to advertise reachability of
specific prefixes. I just tried it out and it works perfectly.
Thanks for your help.
Ben
> -----Original Message-----
> From: (spam-protected) [mailto:(spam-protected)] On
> Behalf Of Patrick McCarty
> Sent: 04 May 2007 21:06
> To: OLSR discussion and development
> Subject: Re: [OLSR-users] Configuring MANET Routers
>
> Hmmm... Unfortunately gmail kinda munged the diagram, but I think it's
> pretty much the same as what I said before.
>
> If the two MANET nodes exchange route information and have updated
> routes (which they would)... Any hosts sitting behind the routers on
> another segment would be reachable from the other. (Even if the other
> nodes were not running olsr). You just have to make sure that those
> nodes use the MR as their default gateway.
>
> ie: Fixed host 1 wants to talk to Fixed host 4
>
> FH1 Talks to MR1s FH side
> FH1 (192.168.1.2) -> MR1 (192.168.1.1)
>
> MR1 talks to MR2 across the MANET interface
> MR1 (10.0.0.1) -> MR2 (10.0.0.2) (Or whatever you use on that net)
>
> MR2 talks to FH4
> MR2 (192.168.2.1) -> FH4 (192.168.2.3)
>
> This assumes:
> 1) FH1 has MR1 as default route
> 2) FH4 has MR2 as default route
> 3) MR1 exports HNA4 route via OLSR (192.168.1.0/24)
> 4) MR2 exports HNA4 route via OLSR (192.168.2.0/24)
>
> Now 192.168.1.0/24 and 192.168.2.0/24 can route to each other.
>
> -- patrick
>
> On 5/4/07, Ben McCarthy <(spam-protected)> wrote:
> > Hi Patrick,
> >
> > No this isn't what I was meaning sorry, what I meant was:
> >
> > If you have two MANET nodes connected to one another directly and
> sharing
> > routes using OLSRd, and they each have a number of hosts attached to
> them
> > that aren't taking part in the OLSR exchange (i.e. they are normal
> hosts) as
> > follows..
> >
> > 192.168.1.2 192.168.2.2
> > [Fixed Host 1] [Fixed Host 3]
> > - -
> > - -
> > 192.168.1.1 -[MR 1]-------[MR 2]- 192.168.2.1
> > - -
> > - -
> > [Fixed Host 2] [Fixed Host 4]
> > 192.168.1.3 192.168.2.3
> >
> > Can MR 1 and MR 2 share their network prefixs 192.168.1 and 192.168.2 so
> > that Fixed Host 1 can send packets to Fixed Host 3 via MR 1 and in turn
> MR 1
> > will have a route to Fixed Host 3 because it will forward them towards
> MR
> > 2's prefix. At present my MRs any swap their exact addresses so any
> hosts
> > behind the MR can't be reached.
> >
> > Sorry for being ambiguous in my first mail.
> >
> > Thanks,
> >
> > Ben
> >
> >
> >
> > > -----Original Message-----
> > > From: (spam-protected) [mailto:(spam-protected)]
> On
> > > Behalf Of Patrick McCarty
> > > Sent: 04 May 2007 17:35
> > > To: OLSR discussion and development
> > > Subject: Re: [OLSR-users] Configuring MANET Routers
> > >
> > > Ben,
> > >
> > > If I understand your question correctly, then yes, it can do that.
> > >
> > > Does this diagram represent what you are attempting?
> > >
> > > [Net A] <---> [Router A] <-- LOCAL SUBNET --> [Router B] <---> [Net B]
> > >
> > >
> > > If both Routers are running olsr, they can advertise their other
> > > routes and make them available to the other network.
> > >
> > > Check out the HNA directive in the conf file, and configure each
> > > router to know about "it's own" routes. That information will be
> > > distributed to other nodes participating in the MANET.
> > >
> > > -- patrick
> > >
> > > On 5/4/07, Ben McCarthy <(spam-protected)> wrote:
> > > >
> > > >
> > > >
> > > >
> > > > Hi,
> > > >
> > > >
> > > >
> > > > I have a testbed running OLSRd between hosts and I am now interested
> to
> > > > determine whether OLSRd can support networks as MANET nodes (i.e.
> route
> > > > using prefixes rather than just single addresses).
> > > >
> > > >
> > > >
> > > > If so please can you advise me how to configure this functionality?
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > >
> > > > Ben
> > > > _______________________________________________
> > > > olsr-users mailing list
> > > > (spam-protected)
> > > > https://www.olsr.org/mailman/listinfo/olsr-users
> > > >
> > > >
> > >
> > > _______________________________________________
> > > olsr-users mailing list
> > > (spam-protected)
> > > https://www.olsr.org/mailman/listinfo/olsr-users
> >
> >
> >
> > _______________________________________________
> > olsr-users mailing list
> > (spam-protected)
> > https://www.olsr.org/mailman/listinfo/olsr-users
> >
>
> _______________________________________________
> olsr-users mailing list
> (spam-protected)
> https://www.olsr.org/mailman/listinfo/olsr-users
More information about the Olsr-users
mailing list