[Olsr-users] Internet connectivity with OLSR

(spam-protected) (spam-protected)
Thu Dec 10 05:58:21 CET 2009


 

> -----Original Message-----
> From: Markus Kittenberger 
> [mailto:(spam-protected)] On Behalf Of Markus 
> Kittenberger
> Sent: Tuesday, December 08, 2009 9:25 PM
> To: Vijai Kumar (WT01 - Joint CEO Office); (spam-protected)
> Subject: Re: [Olsr-users] Internet connectivity with OLSR
> 
> me an henning just looked over the routing tables and 
> olsrd.conf u sent
> 
> the contain to many interfaces (for your current setup only 
> specify eth0 in olsrd.conf), but these unneeded interfaces do 
> not create your problems as the routing table looks correct!!
> 
> so i still asume you have to create an nat rule on pc-b, as 
> your gateway
> (10.105.12.1) maybe does not even accept traffic 10.105.10, 
> or at least does not know that is has to route the replies 
> from the internet to
> 10.105.12.0/24 back over pc-b (10.105.12.28)
> 
> e.g. on pc-b: iptables -t nat -I POSTROUTING -o eth1 -s 
> 10.105.10.0/24 -j MASQUERADE
> 
> 
> 
> > Please send your olsrd.conf (without comment lines) and the routing
> tables ("route -n") to this list so that we can check them.
> >  Henning Rogge
> 
>    Please find the attached files for analysis of the problem.
> 
> PC-A(10.105.10.200)<--------------->eth0(10.105.10.201)-PC-B-e
> th1(10.105
> .12.28)<-----------------> Internet
>    on PC-B the internet is working fine.
> 
> Thanks
> Vijai
> 

Thanks for the information.
But still there are some probles in the HNA settings and internet
connectivity.
I tried bu running the suggested command iptables --- also but problem
is not resolved.

Now I changed all PCs to the same subnet and the configuration is as
follows -

PC-A(10.105.12.200)<--------------->eth0(10.105.12.201)-PC-B-eth1(10.105
.12.28)<-----------------> Internet

Observations:
Instead of internet connection I tried to ping sytrms to/from the
internet LAN.
I concluded these points -
1. from any PC which is in internet LAN I am able to ping both
interfaces of PC-B but not PC-A.
2. from PC-A I am able to ping both interfaces of PC-A but not any PC of
internet LAN.

Please reply for any help or command which I need to run to get the
complete path!

Actually We are planning to have 10 Nodes woth olsr demon and one node
will be declared as HNA and then other nodes will access the internet
through HNA node. SO first I am trying the scenerio with two PC and
internet then with all the 10 nodes.

Thanks in advances -

The olsr.conf and route -n output on both PC ar as as follows -

++++++++++++++++++++++PC-A olsrd.conf++++++++++++++++++++++++
IpVersion	4
FIBMetric "flat"
OlsrPort 698
AllowNoInt	yes
TosValue	16
IpcConnect
{
     MaxConnections  5
     Host            127.0.0.1
     Host            10.105.12.200 
     Host            10.105.12.201 
     Host            10.105.10.202 
     Host            10.105.10.203 
     Net             10.0.0.0 255.255.255.0     
}
UeHysteresis	no
Pollrate	0.05
NicChgsPollInt  3.0
TcRedundancy	2
MprCoverage	1
LoadPlugin "olsrd_dot_draw.so.0.3"
{
  PlParam     "port" "2004"
  PlParam     "Accept"   "127.0.0.1"
  PlParam     "allow"   "localhost"
}
LoadPlugin "olsrd_httpinfo.so.0.1"
{
    PlParam     "port"   "1978"
      PlParam     "Host"   "127.0.0.1"
       PlParam     "Net"    "0.0.0.0 0.0.0.0"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
    PlParam     "port"   "81"
    PlParam     "Accept"   "127.0.0.1"
}
Interface "eth0" "ath0"
{
     HelloInterval    0.1
     HelloValidityTime	0.3
     TcInterval        0.5
     TcValidityTime	1.5
     MidInterval	0.5
     MidValidityTime	1.5
}
+++++++++++++++++++++++++++++++++++++++++++++++++++++++


+++++++++++++++++++++++PC-B olsrd.conf+++++++++++++++++++++
IpVersion	4
FIBMetric "flat"
Hna4
{
    0.0.0.0   0.0.0.0
}
OlsrPort 698
AllowNoInt	yes
TosValue	16
IpcConnect
{
     MaxConnections  5
     Host            127.0.0.1
     Host            10.105.12.200 
     Host            10.105.12.201 
     Host            10.105.10.202 
     Host            10.105.10.203 
     Net             10.0.0.0 255.255.255.0     
}
UeHysteresis	no
Pollrate	0.05
NicChgsPollInt  3.0
TcRedundancy	2
MprCoverage	1
LoadPlugin "olsrd_dot_draw.so.0.3"
{
  PlParam     "port" "2004"
  PlParam     "Accept"   "127.0.0.1"
  PlParam     "allow"   "localhost"
}
LoadPlugin "olsrd_httpinfo.so.0.1"
{
    PlParam     "port"   "1978"
      PlParam     "Host"   "127.0.0.1"
       PlParam     "Net"    "0.0.0.0 0.0.0.0"
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
    PlParam     "port"   "81"
    PlParam     "Accept"   "127.0.0.1"
}
Interface "eth0" "ath0"
{
     HelloInterval    0.1
     HelloValidityTime	0.3
     TcInterval        0.5
     TcValidityTime	1.5
     MidInterval	0.5
     MidValidityTime	1.5
}
Interface "eth1"
{
     HelloInterval    0.1
     HelloValidityTime 0.3
     TcInterval       0.5 
     TcValidityTime    1.5
    MidInterval        0.5
     MidValidityTime  1.5 
        HnaInterval	15.0
     HnaValidityTime 	30.0

}
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

++++++++++++++++++PC-A route -n +++++++++++++++++++++++
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref
UseIface           
10.105.12.201   0.0.0.0         255.255.255.255 UH    2      0        0
eth0
10.105.12.28    10.105.12.201   255.255.255.255 UGH   2      0        0
eth0
10.105.12.0     0.0.0.0         255.255.255.0   U     1      0        0
eth0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0
virbr0
0.0.0.0         10.105.12.201   0.0.0.0         UG    2      0        0
eth0
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

++++++++++++++++++PC-A route -n +++++++++++++++++++++++
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
10.105.12.200   0.0.0.0         255.255.255.255 UH    2      0        0
eth0
10.105.12.0     0.0.0.0         255.255.255.0   U     1      0        0
eth1
10.105.12.0     0.0.0.0         255.255.255.0   U     1      0        0
eth0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0
virbr0
0.0.0.0         10.105.12.1     0.0.0.0         UG    0      0        0
eth1
+++++++++++++++++++++++++++++++++++++++++++++++++++++++









Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com




More information about the Olsr-users mailing list