Soroush - look for "addif" in the brctl manpage. You usually have to add the physical interface that connects the two machines to the bridge connecting your containers. Something like this on both machines:
brctl addif emanenode0 eth0 -- Eric Schreiber Adjacent Link LLC [email protected] On 01/19/2016 09:33 PM, [REDACTED] wrote: > Hello everyone, > > > I have problem to configure EMANE on 2 physical machime. here is my > scenario. > I have tow physical machine Physical machine A ip address= 192.168.10.1 > eth0 > Physical machine B ip > address= 192.168.10.2 eth0 > > I am running 2 NEM on each physical macine > NEM1 and NEM2 on physical machine A > NEM3 and NEM4 on physical machine B > > I am using democtl-host script to create lxc instances, bridge and > virtual instances on each physical machine . > also I am bring up emaneeventservice on both physical machine. > emanenode0 address: 10.99.0.100 > node-1 address: 10.99.0.1 > node-2 address: 10.99.0.2 > node-3 address: 10.99.0.3 > node-4 address: 10.99.0.4 > > > my problem is that I am able to see EMANE traffic on each physical > machine but not able to transfer EMANE traffic from machine A to Machine B > like : NEM1-----> Machine A --------> Machine B----------> NEM3 > or > NEM2-----> Machine A --------> Machine B----------> NEM4 > > I've added multicast address to kernel routing table to route OTA > traffic between physical machine : > sudo route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0 > but still I wasn't able resolve issue > > would you please instruct me? > what is problem in my configuration? > what am I missing here ? > > > here is my platform.xml configuration for NEM1 and NEM2 on physical > machine A: > > <?xml version="1.0" encoding="UTF-8"?> > > > > <!DOCTYPE platform SYSTEM "file:///usr/share/emane/dtd/platform.dtd"> > <platform> > <param name="otamanagerchannelenable" value="on"/> > <param name="otamanagerdevice" value="eth1"/> > <param name="otamanagergroup" value="224.1.2.8:45702 > <http://224.1.2.8:45702>"/> > <param name="eventservicegroup" value="224.1.2.8:45703 > <http://224.1.2.8:45703>"/> > <param name="eventservicedevice" value="eth1"/> > <param name="controlportendpoint" value="0.0.0.0:47000 > <http://0.0.0.0:47000>"/> > > <nem id="1" definition="ieee80211abgnem.xml"> > <transport definition="transvirtual.xml"> > <param name="address" value="10.0.0.1"/> > <param name="mask" value="255.192.0.0"/> > </transport> > <phy> > <param name="frequencyofinterest" value="0.4G"/> > <param name="frequency" value="0.4G"/> > </phy> > </nem> > </platform> > > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE platform SYSTEM "file:///usr/share/emane/dtd/platform.dtd"> > <platform> > <param name="otamanagerchannelenable" value="on"/> > <param name="otamanagerdevice" value="eth1"/> > <param name="otamanagergroup" value="224.1.2.8:45702 > <http://224.1.2.8:45702>"/> > <param name="eventservicegroup" value="224.1.2.8:45703 > <http://224.1.2.8:45703>"/> > <param name="eventservicedevice" value="eth1"/> > <param name="controlportendpoint" value="0.0.0.0:47000 > <http://0.0.0.0:47000>"/> > > <nem id="2" definition="ieee80211abgnem.xml"> > <transport definition="transvirtual.xml"> > <param name="address" value="10.0.0.2"/> > <param name="mask" value="255.192.0.0"/> > </transport> > <phy> > <param name="frequencyofinterest" value="0.4G"/> > <param name="frequency" value="0.4G"/> > </phy> > </nem> > </platform> > > here is my platform.xml configuration for NEM3 and NEM4 on physical > machine B: > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE platform SYSTEM "file:///usr/share/emane/dtd/platform.dtd"> > <platform> > <param name="otamanagerchannelenable" value="on"/> > <param name="otamanagerdevice" value="eth1"/> > <param name="otamanagergroup" value="224.1.2.8:45702 > <http://224.1.2.8:45702>"/> > <param name="eventservicegroup" value="224.1.2.8:45703 > <http://224.1.2.8:45703>"/> > <param name="eventservicedevice" value="eth1"/> > <param name="controlportendpoint" value="0.0.0.0:47000 > <http://0.0.0.0:47000>"/> > > <nem id="3" definition="ieee80211abgnem.xml" > > <transport definition="transvirtual.xml" > > <param name="address" value="10.0.0.3"/> > <param name="mask" value="255.192.0.0"/> > </transport> > <phy> > <param name="frequencyofinterest" value="0.4G"/> > <param name="frequency" value="0.4G"/> > </phy> > </nem> > </platform> > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE platform SYSTEM "file:///usr/share/emane/dtd/platform.dtd"> > <platform> > <param name="otamanagerchannelenable" value="on"/> > <param name="otamanagerdevice" value="eth1"/> > <param name="otamanagergroup" value="224.1.2.8:45702 > <http://224.1.2.8:45702>"/> > <param name="eventservicegroup" value="224.1.2.8:45703 > <http://224.1.2.8:45703>"/> > <param name="eventservicedevice" value="eth1"/> > <param name="controlportendpoint" value="0.0.0.0:47000 > <http://0.0.0.0:47000>"/> > > <nem id="4" definition=""ieee80211abgnem.xml"> > <transport definition="transvirtual.xml"> > <param name="address" value="10.0.0.4"/> > <param name="mask" value="255.192.0.0"/> > </transport> > <phy> > <param name="frequencyofinterest" value="0.4G"/> > <param name="frequency" value="0.4G"/> > </phy> > </nem> > </platform> > > and here is my scenario.eel file in each physical machine : > > 0.0 nem:1 pathloss nem:3,90 nem:2,90 > 0.0 nem:2 pathloss nem:4,90 nem:1,90 > 0.0 nem:3 pathloss nem:1,90 > 0.0 nem:4 pathloss nem:2,90 > > > > Thanks, > Soroush > > > _______________________________________________ > emane-users mailing list > [email protected] > http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users > _______________________________________________ emane-users mailing list [email protected] http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users
