[B.A.T.M.A.N.] Some questions to BATMAN

John Harris JHarris at web.de
Wed Dec 31 12:20:00 UTC 2008


Hii Don,

my scenario look like as follows...

router 1   <--------------------->  router 2 <-----------------------> router 3 (connected to server..IP 129.211.186.46)
eth1:bat                                   eth1:bat                                 eth1:bat  (11.1.1.2) (wired: 129.211.186.12)

The IP Adress of my router 3 is 129.211.186.12 (dhcp-lan), router 3 is connected to my server with the server IP 129.211.186.46.

I can ping the eth1:bat interface of the router among each other. But I couldn't make a trace to the server IP 129.211.186.46 from 
an another router... I get the message:

" *sendto: Network is unreachable
traceroute: wrote 129.211.186.46 40 chars, ret=-1" 

My settings to BATMAN are:

----------------------------------------
Management: B.A.T.M.A.N.


WLAN as 			                            11.1.1.3/24
LAN as 			                            129.211.186.12
 			
local internet-bandwidth:                    This is not a internet-gateway	
common used gateway 	                    stable
Prefered gateway: 	         
Host&Network Announcement (HNA): 129.211.186.46/24	
Visualisation Server: 	                    
Hello-Interval [ms]: 	
----------------------------------------
   
 The output of the command "batmand -c -d 1" on the router I see:
 Originator           Router (#/128):    Potential routers... [B.A.T.M.A.N. 0.2 rv502, MainIF/IP: eth1:bat 11.1.1.1, UT: 0d 1h22m]
11.1.1.3               11.1.1.3 (119):        11.1.1.3 (119)
129.211.186.181        11.1.1.3 (128):        11.1.1.3 (128)

 Originator           Router (#/128):    Potential routers... [B.A.T.M.A.N. 0.2 rv502, MainIF/IP: eth1:bat 11.1.1.3, UT: 0d 0h27m]
11.1.1.1               11.1.1.1 (124):        11.1.1.1 (124)


I would be very appreciate, if you an the others could give me some advice how to fix my problem...How can make a
traceroute form a router to the server IP 129.211.186.46.

Thanks in advance...

greetings,
J



> -----Ursprüngliche Nachricht-----
> Von: "John Harris" <JHarris at web.de>
> Gesendet: 29.12.08 21:39:27
> An: b.a.t.m.a.n at open-mesh.net,dondavis at reglue.org
> Betreff: Re: [B.A.T.M.A.N.] Some questions to BATMAN

> Hiii Don,
> 
> thank you very much for your reply, for your help...
> 
> 
> >
> >> 1)
> >> I will build a mesh network.. One of my router is connected to my server
> >> with the IP 129.211.186.12. I can't make
> >> a traceroute through my router to this server. If I try to make
> >> "traceroute 129.211.186.12" from an another router I get the message:
> >> "PING 129.211.186.12 (129.211.186.12): 56 data bytes
> >> ping: sendto: Network is unreachable
> > 
> > 
> > router 				Server (129.211.186.12)
> > (batman eth0) <------------------> (batman some wireless device)
> > 
> > On the router, which firmware are you running with Batman?
> > 
> > 
> > When you type batmand -c -d 1 on the router /server what do you see?
> > 
> > What does batmand -v show on the router / server?
> > 
> > 
> 
> I have some problems with my server at the moment, I will write the output of the other commands as soon as possible...
> 
> 
> my freifunk firmware is v1.6.29 and the batmand version is :B.A.T.M.A.N. 0.2 rv502 (compability version 3)
>  
> 
> 
> 
> 
> >> I can send ping requests from my server to the router and from the
> >> router to the server, but as I said, I can't make a traceroute to the
> >> server
> >> from an another router. My question is, how can I do this ?
> >>
> >> In OLSR it was not a problem to trace the server through the router.
> >> Should I change something in HNA messages ?
> >>
> >> 2)
> >> I read the HowTO from Freifunk Leipzig about the configuration of
> >> BATMAN, look here http://wiki.leipzig.freifunk.net/BATMAN. How is the
> >> configuration
> >> If I want to run BATMAN in Ubuntu Intrepid? How can I configure the
> >> IPTABLES ?
> >>
> > 
> > For newer batman and experimental you'll want to open up ports 4305-4307:
> > 
> > iptables -t filter -I INPUT 2 -p udp --dport 4305 --sport 4305 -j ACCEPT
> > iptables -t filter -I INPUT 2 -p udp --dport 4306 --sport 4306 -j ACCEPT
> > iptables -t filter -I INPUT 2 -p udp --dport 4307 --sport 4307 -j ACCEPT
> > iptables -t filter -I OUTPUT 2 -p udp --dport 4305 --sport 4305 -j ACCEPT
> > iptables -t filter -I OUTPUT 2 -p udp --dport 4306 --sport 4306 -j ACCEPT
> > iptables -t filter -I OUTPUT 2 -p udp --dport 4307 --sport 4307 -j ACCEPT
> 
> 
> You helped me a lot so far,thank you, 
> I will write the output of the commands as soon as possible... 
> 
> 
> greetings,
> John
> 
> 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > B.A.T.M.A.N mailing list
> > B.A.T.M.A.N at open-mesh.net
> > https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
> > 
> 


_______________________________________________________________________
Täglich 1.000.000 Euro gewinnen! Jetzt kostenlos WEB.DE MillionenKlick 
spielen! https://millionenklick.web.de/?mc=mail@footer.mklick@home





More information about the B.A.T.M.A.N mailing list