About Azure:same packets will received with eth0 and eth1 at same time.

Michiteru Sugitani 85 Reputation points
2023-03-03T04:03:30.9133333+00:00

Hello

we are making SIP servers with Linux on Azure.
I found problem as below.

if SIP client will sent request to SIP servers, it will send request twice.
normally, if SIP servers does not respond within 500 ms it will re send request.

but this time 2nd request sent same time or just after 0.000001 sec.

I fouid this on Liux server with chcking packet.

thre are 2 NICs, eth0 and eth1.

I didn't made eth1.

there is no file for eth1 on /etc/sysconfig/network-scripts
there is ifcfg-ens3 file and set for onboot=yes

eth1 doen't have address but send and receive packet.

it seem that same packets will received with eth0 and eth1 at same time.
I confirmed this using tcpdump..

I think this is cause of this problem that SIP server will receive request twice.

NIC is connected for VM and NSG.
sometimes it seem packet using both NICs

  1. does it need eth1?
  2. how to route for use same NIC for inbound and outbound?.

I concern behavior that if software receive same request from 2 NICs..

Best regards.
Michiteru

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,775 questions
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 49,616 Reputation points Microsoft Employee Moderator
    2023-03-13T03:43:29.6533333+00:00

    @Michiteru Sugitani

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you are seeing the same packet in two NICs of your Azure VM.

    Ideally, this shouldn't be the case.

    You have confirmed that the Azure platform has only one NIC.

    This raises the suspicion that the issue is either OS related, or Application related.

    Hence I suggested to reach out to Azure Support Team and it appears they were able to resolve the issue.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.