Topic: Connecting to a mesh network using Ethernet

Hi,

I have several routers connected through a mesh Network using as the IP 192.68.10.X. I can ping every router from any router.
On the other hand, I have my computer connected by SSH to one of those routers by Ethernet in the network 192.168.1.X.

I want to be able to ping every router in the mesh network from my computer.

I used this link to configure the mesh and create a bridge between the interfaces mesh0 and eth0 but it didn't work:
http://o11s.org/trac/wiki/HOWTO#advancedmesh (Mesh Gate, at the end)

I also tried to add a gateway using the route command but I didn't get any success.

I know it has to be something stupid but I cannot find the way. Maybe someone can give me some clue about the way to do it.

I copy some command outputs in the router connected to my computer.

The output of ifconfig:

br-lan    Link encap:Ethernet  HWaddr 00:24:A5:F4:1B:97  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:955 errors:0 dropped:1 overruns:0 frame:0
          TX packets:522 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:63771 (62.2 KiB)  TX bytes:69573 (67.9 KiB)

eth0      Link encap:Ethernet  HWaddr 00:24:A5:F4:1B:97  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:961 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1432 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:81605 (79.6 KiB)  TX bytes:433463 (423.3 KiB)
          Interrupt:4 

eth0.1    Link encap:Ethernet  HWaddr 00:24:A5:F4:1B:97  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:955 errors:0 dropped:0 overruns:0 frame:0
          TX packets:545 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:67591 (66.0 KiB)  TX bytes:70631 (68.9 KiB)

eth0.2    Link encap:Ethernet  HWaddr 00:24:A5:F4:1B:97  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:887 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:357104 (348.7 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:36 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2952 (2.8 KiB)  TX bytes:2952 (2.8 KiB)

mesh0     Link encap:Ethernet  HWaddr 00:24:A5:F4:1B:97  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:70 (70.0 B)

meshbr0   Link encap:Ethernet  HWaddr 00:24:A5:F4:1B:97  
          inet addr:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

mon.wlan0 Link encap:UNSPEC  HWaddr 00-24-A5-F4-1B-97-00-47-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:48145 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:9009092 (8.5 MiB)  TX bytes:0 (0.0 B)

The output of brctl show:

bridge name    bridge id        STP enabled    interfaces
br-lan        8000.0024a5f41b97    no        eth0.1
                            wlan0
meshbr0        8000.0024a5f41b97    no        eth0.2
                            mesh0

The output of route:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 br-lan
192.168.10.0    *               255.255.255.0   U     0      0        0 meshbr0

Thank you very much.
Infauster.

Re: Connecting to a mesh network using Ethernet

Dear,

I am Also facing the same problem, I can able to ping from MPP to MAP but when i connect to laptop via MAP it can just ping to MAP not the MPP and MP

So if you have the resolution for the same please let me know.

Thanks
Maxe

Re: Connecting to a mesh network using Ethernet

Dear all

mesh implementation using 11s done except internet communication at laptop

just need to do ip masquerade at map and mp side.


cheers
Maxe

Re: Connecting to a mesh network using Ethernet

Dear All,

I ahve successfully created mesh network with internet connectivity also, I can ping all the router from my laptop but a small issue in that i can not ping the br-lan ip from other router rest mesh and ap interface can ping from another router
pls help in the same.