<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19154"></HEAD>
<BODY>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial>Hi
all,</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial>I've a configuration
here where one of my interfaces has 2 ip-addresses (added by "ip addr add
...").</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial>Now I'm running a
proprietary license-daemon (no source available here) that should respond to
</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial>request to that
additional address.</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial>The license-daemon
will receive the requests (UDP-packets), but any answer is sent out with
the</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial>wrong
source-address!! (see tcpdump below).</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial>So, do you know any
method to force/change/filter (whatever :)) that packets have correct source
address?</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2
face=Arial>Configuration:</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial>Server has:
"host-ip", additional ip is "license-ip" (see output of "ip addr show
eth0")</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial>2: eth0:
<BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN
qlen 1000<BR> link/ether 00:0c:29:xx:xx:xx brd
ff:ff:ff:ff:ff:ff<BR><STRONG> inet host-ip/23 brd
xxx.xxx.xxx.255 scope global eth0<BR> inet license-ip/23 scope
global secondary eth0<BR></STRONG></FONT></SPAN><SPAN
class=371083609-28102011><FONT size=2 face=Arial></FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial>Client connects
with: "client-ip"</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial>Here's the
tcpdump:</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial>11:41:12.140606 IP
client-ip.38668 > <STRONG>license-ip.371</STRONG>: UDP, length
108<BR>11:41:12.140879 IP <STRONG>host-ip.371</STRONG> > client-ip.38668:
UDP, length 36<BR>11:41:12.141121 IP client-ip.38668 > license-ip.371: UDP,
length 112<BR>11:41:12.141183 IP host-ip.371 > client-ip.38668: UDP, length
336</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial>As said, the
license-daemon cannot be modified (and I'm not sure whether the vendor will be
willing to do...)</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial>Thanks a
lot,</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2
face=Arial>Christian</FONT></SPAN></DIV>
<DIV><SPAN class=371083609-28102011><FONT size=2 face=Arial> </DIV>
<DIV><BR></DIV></FONT></SPAN></BODY></HTML>