SCTP Discussions

Text archives Help


[SCTP-Discussion] Multihoming


Chronological Thread 
  • From: Stüdi, Patrick <stuedip AT student.ethz.ch>
  • To: <discussion AT sctp.de>
  • Subject: [SCTP-Discussion] Multihoming
  • Date: Tue Oct 19 14:17:01 2004
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi everyone,

I first want to apologize for my last post in case it sounded a bit harsh.
This is maybe because I'm somehow desperate with that multihoming issue. Is
there really no-one having an idea? Any help would be appreciated. I have
again attached my setup below.

Best Regards,

Patrick

----------------------------- SETUP
-----------------------------------------------------

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:



Kernel IP routing table

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. 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 a lot.

Patrick





Archive powered by MHonArc 2.6.19+.

Top of page