IFF_RUNNING and SIOCGMIIPHY support

shogunx shogunx at sleekfreak.ath.cx
Wed Mar 3 06:21:13 EST 2004


On Wed, 3 Mar 2004, Patrick Tran wrote:

> Hi ,
> As far as I understand, the scenario should be some thing similar to this
>
> 205.10.10.1<--NAT--> 10.0.0.1<---adhoc--->10.0.0.2<--adhoc-->10.0.0.3
ipv4

eth0 host A<-NAT->wlan0 host A<--adhoc--->10.0.0.2<--adhoc-->10.0.0.3

ipv6

sit1(3ffe::1) <--radvd v6 /48-->ipv6 wlan0<--adhoc,radvd-->3ffe:1:1::1<--adhoc,radvd-->3ffe:1:1::2

>
> The normal ad-hoc routing 802.11 only allows nodes to communicate directly
> to each other.

right

> So in order to transfer traffic from 10.0.0.1 to 10.0.0.3, this ad-hoc must
> employ some routing protocol like AODV (reactive) or OLSR (proactive). These
> two are still in development process and some release working quite well.

would "route add -host 10.0.0.3 netmask 255.255.255.0 gateway 10.0.0.2" on
the first host above, "route add -host 10.0.0.1 netmask 255.255.255.0
gateway 10.0.0.2", and "route add default gateway 10.0.0.1" on the third
host do the job?  Then, once the v4 static routes are functional, the v6
radvd takes over and advertises v6 addresses and routes to 10.0.0.3?

Scott



> Patrick
>
> ----- Original Message -----
> From: "Mark Glines" <mark-hostap at glines.org>
> To: "shogunx" <shogunx at sleekfreak.ath.cx>
> Cc: <hostap at shmoo.com>
> Sent: Wednesday, March 03, 2004 6:44 AM
> Subject: Re: IFF_RUNNING and SIOCGMIIPHY support
>
>
> > On Tue, Mar 02, 2004 at 11:16:48AM -0500, shogunx wrote:
> > > Lets say we have a three node ad-hoc network.  10.0.0.1 can physically
> see
> > > 10.0.0.2.  10.0.0.3 can physically see 10.0.0.2.  10.0.0.1 and 10.0.0.3
> > > cannot physically see each other.  10.0.0.1 has another interface,
> > > 205.10.10.1, connected to the public internet, and is configured to
> route
> > > ipv4 packets via NAT and as an ipv6 router.  Can the
> > > traffic flow to 10.0.0.3 from 10.0.0.1, or is additional routing
> information
> > > required to be passed to the kernel on 10.0.0.2 and 10.0.0.3?
> >
> > Additional routing information is required.  Point-to-multipoint mode
> > OSPF would work in this scenerio.
> >
> > Mark
> > _______________________________________________
> > HostAP mailing list
> > HostAP at shmoo.com
> > http://lists.shmoo.com/mailman/listinfo/hostap
> >
> >
>
>

sleekfreak pirate broadcast
http://sleekfreak.ath.cx:81/




More information about the HostAP mailing list