Difference between revisions of "OLSR - di Ubuntu IPv6"

From OnnoWiki
Jump to navigation Jump to search
(New page: Agar dapat jalan sekaligus IPv4 dan IPv6, lakukan: ifconfig wlan0 ip -6 addr add 2001:123:123::123/64 dev wlan0 ==/etc/olsrd4.conf== IpVersion 4 Hna4 { } LinkQualityFishEye ...)
 
Line 27: Line 27:
 
==/etc/olsrd6.conf==
 
==/etc/olsrd6.conf==
  
 +
 +
# DebugLevel 0
 
  AllowNoInt yes
 
  AllowNoInt yes
 
  IpVersion 6
 
  IpVersion 6
Line 36: Line 38:
 
  NatThreshold 1.0
 
  NatThreshold 1.0
 
  SmartGateway yes
 
  SmartGateway yes
 +
SmartGatewayUplink "both"
 
   
 
   
 
  Hna4
 
  Hna4
Line 47: Line 50:
 
  LoadPlugin "olsrd_arprefresh.so.0.1"
 
  LoadPlugin "olsrd_arprefresh.so.0.1"
 
  {
 
  {
  }  
+
  }
 
   
 
   
 
  LoadPlugin "olsrd_dyn_gw.so.0.5"
 
  LoadPlugin "olsrd_dyn_gw.so.0.5"
Line 59: Line 62:
 
  InterfaceDefaults
 
  InterfaceDefaults
 
  {
 
  {
Mode "mesh"
 
 
  }
 
  }
 
   
 
   
 
  Interface "wlan0"
 
  Interface "wlan0"
{
+
  {
Mode "mesh"
 
}
 
 
Interface "br-lan"
 
  {  
 
 
  Mode "mesh"
 
  Mode "mesh"
 
  }
 
  }

Revision as of 16:17, 21 October 2014

Agar dapat jalan sekaligus IPv4 dan IPv6, lakukan:

ifconfig wlan0 
ip -6 addr add 2001:123:123::123/64 dev wlan0

/etc/olsrd4.conf

IpVersion 4

Hna4
{
}

LinkQualityFishEye  0

LoadPlugin "olsrd_txtinfo.so.0.1"
{
}

InterfaceDefaults {
}

Interface "wlan0"
{
}

/etc/olsrd6.conf

# DebugLevel 0
AllowNoInt yes
IpVersion 6
FIBMetric "flat"
LinkQualityLevel 2
LinkQualityAlgorithm "etx_ff"
OlsrPort 698
Willingness 3
NatThreshold 1.0
SmartGateway yes
SmartGatewayUplink "both"

Hna4
{
}

Hna6
{
}

LoadPlugin "olsrd_arprefresh.so.0.1"
{
}

LoadPlugin "olsrd_dyn_gw.so.0.5"
{
}

LoadPlugin "olsrd_txtinfo.so.0.1"
{
}

InterfaceDefaults
{
}

Interface "wlan0"
{
	Mode "mesh"
}

Jalankan

olsrd -f /etc/olsrd4.conf -nofork &
olsrd -f /etc/olsrd6.conf -nofork &