[SUMMARY] multi ip related problems

From: Giardina Marina <wavexx_at_ngweb.it>
Date: Fri Mar 01 2002 - 08:20:10 EST
This is the first time that I do a summary so don't expect big things :).
However:

Q - How can I route differently a tcp connection to the same host? For
example:

machine A:
 hme0    10.1.2.1
 hme0:1  10.1.5.1

machine B:
 hme0    10.1.6.1

netmask here is 255.255.0.0
machine B is completely closed and does an ip address based detection.

Every socket connection from machine A to machine B routes through hme0 and
machine B detects A always as 10.1.2.1.

A - You can't. The only way is to change manually the routing order. Sadly,
you must be root to use route(1). Definitively the only good solution is to
manually change the sources to bind a socket call to a specific address. Not
appliable if you use closed source programs :/.

Thanks to everyone who replyed.

--
Wave++
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Mar 1 07:05:10 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:35 EST