[Olsr-users] OLSRd nodes not talking to each other
John Schultz
(spam-protected)
Mon Sep 24 12:33:31 CEST 2012
Henning,...
What broadcast should I use. I currently have 10.255.255.255.
FYI, Im a windows networker, linux networking is very new to me still.
-----Original Message-----
From: (spam-protected) [mailto:(spam-protected)] On Behalf
Of Henning Rogge
Sent: Monday, September 24, 2012 1:01 AM
To: (spam-protected)
Subject: Re: [Olsr-users] OLSRd nodes not talking to each other
On 09/24/2012 08:55 AM, (spam-protected) wrote:
> the three interfaces may have the same mask, but the IPs are 10.0.1.1,
> 10.0.2.1 and 10.0.3.1 (confused) how is this the same address?
>
> ok I changed the broadcast in olsrd.conf to 10.255.255.255 ( actually,
> I used
> 255.255.255.255 for some reason its using the other) the nodes are
> still not communicating to each other.
They have the same network address and netmask (all three have 10.0.0.0/8).
This cannot work, the routing code will not know where to send packets.
You have to give each interface its own unique network range.
(e.g. 10.1.0.0/16, 10.2.0.0/16, 10.3.0.0/16)
example:
--------
iface eth0 inet static
address 10.1.0.1
netmask 255.255.0.0
network 10.1.0.0
...
iface wlan0 inet static
address 10.2.0.1
netmask 255.255.0.0
network 10.2.0.0
...
iface wlan1 inet static
address 10.3.0.1
netmask 255.255.0.0
network 10.3.0.0
...
Henning Rogge
> *----- Original Message -----*
> *From:* Henning Rogge [mailto:(spam-protected)]
> *To:* (spam-protected)
> *Sent:* Mon, 24 Sep 2012 07:35:57 +0200
> *Subject:* Fwd: Re: [Olsr-users] OLSRd nodes not talking to each other
>
> -------- Original Message --------
> Subject: Re: [Olsr-users] OLSRd nodes not talking to each other
> Date: Mon, 24 Sep 2012 07:22:11 +0200
> From: Henning Rogge <(spam-protected) <#>>
> To: (spam-protected) <#>
>
> On 09/24/2012 06:48 AM, (spam-protected) <#> wrote:
> > Interface "wlan0"
> > {
> > AutoDetectChanges yes
> > Ip4Broadcast 255.0.0.0
>
> This is no valid broadcast/multicast address.
>
> > Mode "mesh"
> > HelloInterval 5.0
> > HelloValidityTime 90.0
> > TcInterval 3.0
> > TcValidityTime 300.0
> > MidInterval 15.0
> > MidValidityTime 270.0
> > HnaInterval 15.0
> > HnaValidityTime 90.0
> > #LinkQualityMult 192.168.0.1 0.5
> > #LinkQualityMult default 0.8
> > }
> >
> >
> > my interfaces file:
> >
----------------------------------------------------------------------------
----
> > auto lo
> > iface lo inet loopback
> >
> > auto eth0
> > allow-hotplug eth0
> > iface eth0 inet static
> > address 10.0.1.1
> > netmask 255.0.0.0
> > network 10.0.0.0
> > broadcast 10.255.255.255
> > gateway 10.0.0.1
> >
> > #Client Radio
> > auto wlan0
> > iface wlan0 inet static
> > address 10.0.2.1
> > netmask 255.0.0.0
> > network 10.0.0.0
> > broadcast 10.255.255.255
> > gateway 10.0.0.1
> >
> > #Backhual Radio
> > auto wlan1
> > iface wlan1 inet static
> > address 10.0.3.1
> > netmask 255.0.0.0
> > network 10.0.0.0
> > broadcast 10.255.255.255
> > gateway 10.0.0.1
> > wireless-channel 1
> > wireless-essid OmegaMeshBackhual
> > wireless-mode ad-hoc
>
> You have three interfaces with the same netmask and network address.
> This will not work.
>
> Henning Rogge
>
> --
> Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
> Kommunikation, Informationsverarbeitung und Ergonomie FKIE
> Kommunikationssysteme (KOM) Fraunhofer Straße 20, 53343 Wachtberg,
> Germany Telefon +49 228 9435-961, Fax +49 228 9435 685
> mailto:(spam-protected) <#>
> http://www.fkie.fraunhofer.de
>
>
> --
> Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
> Kommunikation, Informationsverarbeitung und Ergonomie FKIE
> Kommunikationssysteme (KOM) Fraunhofer Straße 20, 53343 Wachtberg,
> Germany Telefon +49 228 9435-961, Fax +49 228 9435 685
> mailto:(spam-protected) <#>
> http://www.fkie.fraunhofer.de
>
>
>
>
--
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für Kommunikation,
Informationsverarbeitung und Ergonomie FKIE Kommunikationssysteme (KOM)
Fraunhofer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961, Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
More information about the Olsr-users
mailing list