- From: Stüdi, Patrick <stuedip AT student.ethz.ch>
- To: <discussion AT sctp.de>
- Subject: [SCTP-Discussion] Multihoming/Ad Hoc Networks: to be continued
- Date: Mon Oct 18 09:42:00 2004
- List-id: SCTP Discussions <discussion.sctp.de>
Hi,
I'm currently testing some SCTP features in Mobile Ad Hoc Networks (MANETs).
As SCTP is an issue for handover, it might be interesting for MANETs, anyway.
Unfortunately, I still have a problem with the multihoming. I have configured
two physically separated networks, both accessible through different routing
entries, but still it doesn't work. Let me explain my setyp.
I have two laptops, both with a WLAN card (which is configured to be in 'ad
hoc' mode) and a Bluetooth dongle.
I configured the network to looks as follows on machine A:
>
ifconfig
bnep0 Link encap:Ethernet HWaddr 00:10:DC:E9:6C:B8
inet addr:192.168.221.12 Bcast:192.168.221.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:100
RX bytes:116 (116.0 b) TX bytes:0 (0.0 b)
eth1 Link encap:Ethernet HWaddr 00:02:2D:7B:89:B4
inet addr:192.168.220.11 Bcast:192.168.220.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:301 errors:0 dropped:0 overruns:0 frame:0
TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:45271 (44.2 Kb) TX bytes:9257 (9.0 Kb)
Interrupt:11 Base address:0x100
The configuration is the same on machine B. The route on A and B look like:
>
route
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.221.0 * 255.255.255.0 U 0 0 0 bnep0
192.168.220.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
When testing, I can ping both interface without any problem. So I'm starting
the sctpmultiserver on machine B (the example program):
./sctpmultiserver
Right after, I start the terminal program on machine A to connect to both
interfaces.
>
./sctpterminal 192.168.220.7:echo 192.168.221.8:echo
Great. So echoing works fine. But now I'm taking down interface eth1.
>
ifdown eth1
The routing entry on machine B for eth1 disappears, on machine A the table
keeps consistent. But the example terminal program doesn't switch to the
secondary address. What's going on? Interface two (192.168.221.8), is
pingable without any problems. I even tried to get rid of the 'eth1' entry in
A's routing table but this doesn't help either.
So, if anyone has a clue, please let me know. Any help would be appreciated.
Thanks.
Patrick
------ ----
Patrick Stuedi
Institute for Pervasive Computing
ETH Zentrum
CH-8092 Zürich
Tel: +41 1 632 71 36
Fax: +41 1 632 14 25
mailto:
stuedip AT inf.ethz.ch
http://www.inf.ethz.ch/~stuedip
- [SCTP-Discussion] Multihoming/Ad Hoc Networks: to be continued, Stüdi , Patrick, 10/18/2004
Archive powered by MHonArc 2.6.19+.