Project

General

Profile

Actions

Bug #7

closed

How would you run BATMAN with TAP interfaces or GVPE tunnel.

Added by Anonymous about 18 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
batmand
Start date:
Due date:
% Done:

0%

Estimated time:

Description

In OLSR I can allow the TAP interface to be part of the routing along with GVPE, When I run BATMAN with a TAP interface the debug shows.
Using interface tap0 with address 172.1.30.1 and broadcast address 255.255.255.253
debug level: 4
[ 1]

[ 1000] purge()
[ 1000]

[ 2000] Forwarding packet (originator 172.1.30.1, seqno 0, TTL 50) on interface tap0
Error - can't send packet: Invalid argument.

Any help would be appreciated

Actions #1

Updated by Marek Lindner about 18 years ago

  • Status changed from New to In Progress

Sorry, I'm not familiar with GVPE tunnels. Do you know any good documentation about it ? Or could you explain your setup so that I can replay your situation ? Best would be to contact me directly via email.

Actions #2

Updated by Anonymous about 18 years ago

GVPE is GNU's Virtual Private Ethernet (https://savannah.gnu.org/projects/gvpe) works pretty good, We
also use tun/tap interfaces with openvpn, We are trying to route all the traffic through the tunnels .
Routers
openvpn --remote 10.4.0.2 --dev tap0 --ifconfig 172.1.30.1 172.1.30.2 --secret /home/keys/r0uter1 --po
rt 1194

Router2
openvpn --remote 10.4.0.1 --dev tap0 --ifconfig 172.1.30.2 172.1.30.1 --secret /home/keys/r0uter1 --po
rt 1194

This is a basic connection string for openvpn without certificates, this will create a TAP0 interface. Once the interface is created I try "batmand -a 192.168.1.0/24 tap0"
It runs for about 5 seconds and then dies. thats the debug info I sent earlier.

If you have any questions please feel free to e-mail .

Actions #3

Updated by Marek Lindner about 18 years ago

  • Status changed from In Progress to Closed

After setting the right openvpn option (--interface needs a netmask not a second IP) knox found out that it works perfectly. :-)

Actions #4

Updated by Anonymous about 14 years ago

  • Category set to batmand
Actions #5

Updated by Sven Eckelmann over 8 years ago

  • Status changed from Closed to Rejected
Actions

Also available in: Atom PDF