From: Gomathi s. <gom...@gm...> - 2007-05-10 09:29:30
|
Hi I am trying to make a network to access the Internet through the AODV network. But i don;t know to how to proceed with that .Your help towards this will be very useful This is my Plan network A - (which will be a Ethernet n/w and doesn't know anything about Adhoc) network B - Which is an AODV network. and two of them(PC's) have 2 interface network C - Is a normal network with an Internet Gateway Now my need is network A needs to connect to the Internet through this AODV network.B can easily connect to the Internet.You have done this already. Can we extend this access to the normal network also. Do you ever tried this. Do you any idea for this Thanks & regards Goamthisankar.P On 5/6/07, indra anthony <ind...@ya...> wrote: > > Hi xr.wang, > what your goal is my goal too..I want to make a node in an ad hoc network > with AODV to become a gateway to my campus network. > > I want to share my experience with you. I think you are running AODV for > just one interface (eth1). looking to your scenario, the interface eth0 > cannot be detected by eth1 because there is no AODV running in eth1. > Unfortunately, this problem cannot be solved easily by running AODV in eth1. > I am using SLAX linux and I cannot run AODV on any interface while I am > running it in another interface. > > I have an idea but I don't know if it can be realized or not. Maybe we can > make a new kernel module,but actually old, or we can say that we have > another AODV with different name like "AODV1" or "AODV2". Then, we can run > it in another interface and hope that interface (eth0) could be detected. > So, we can imagine that we have two computers in one computers. > > That's just my experience. If you can solve this problem, I hope I can > hear from you. > > -Indra- > > > *"xr.wang" <xr....@gm...>* wrote: > > > > ---------- Forwarded message ---------- > From: xr. wang <xr....@gm...> > Date: May 3, 2007 11:44 AM > Subject: aodv-uu -- how to play as a gateway? > To: ma...@ie... > > Hi, > > aodv-uu-0.9.3 works ok in pure ad-hoc network. > The aodv-uu source file is compiled with -DCONFIG_GATEWAY option. > and the README shows that aodv-uu support internet gateway. > But how to make a node as a gateway? > > > ---------- ---------------- -------------- > | LAN | <---> eth0<-| Gateway |->eth1 <---> | MANET | > ---------- ---------------- > -------------- > > IP distribution: > LAN: 192.168.1.x > Gateway: eth0 with IP 192.168.1.1, eth1 with IP 192.168.2.1 > MANET: 192.168.2.x > > as to the gateway node, I run the following step: > $ /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE > $ route add default dev eth1 > $ aodvd -w > > But the node in MANET(e.g 192.168.2.2) ping the node in LAN(e.g > 192.168.1.2) failed! > message shows "connect: Network is unreachable!" > > any advise will be appreciated! > > Regards > xr.wang > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/_______________________________________________ > Aodvimpl-public mailing list > Aod...@li... > https://lists.sourceforge.net/lists/listinfo/aodvimpl-public > > > ------------------------------ > Ahhh...imagining that irresistible "new car" smell? > Check out new cars at Yahoo! Autos.<http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Aodvimpl-public mailing list > Aod...@li... > https://lists.sourceforge.net/lists/listinfo/aodvimpl-public > > |