<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>I use raw socket to send an ip packet and fill the source ip 5.5.5.5. I use tcpdump to capture it:</div><div><b><br></b></div><div><b> 15:01:29.385061 IP 5.5.5.5 > 224.0.0.18: VRRPv4, unknown type (9)</b></div><div><br></div><div>It works well.</div><div><br></div><div><br></div><div>But when I setns to a lxc and also send the packet:</div><div><br></div><div><b>15:03:41.724126 IP 10.28.50.198 > 224.0.0.18: VRRPv4, unknown type (9)</b></div><div><b><br></b></div><div>The source ip of the packet changed to "10.28.50.198" which is the ip of the interface. Seems like the IP_HDRINCL option not working, but the protocol is working.</div><div><br></div><div><br></div><div>Is there any method to make the source ip right?</div><div><br></div><div><br></div><div>Forgive my bad english.<br> <br>Best wishes <br>Shuai<br>sanyechong12@live.com </div><div><br></div> </div></body>
</html>