This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA2EXEVM: The same IP does not use vlanID to perform data receiving and sending operations of different network protocols (TCP / UDP). [Vision sdk 3.06][ (Linux)][kernel 4.4.84+]

Part Number: TDA2EXEVM

Create three vlan sockets with the same IP but different vlan-id,
1. Specify vlan 2 to use UDP broadcast to send and receive data.
2. Specify vlan 3 UDP to specify the IP address to send and receive data.
3. Specify vlan 6 TCP to send and receive data.
Is this mode of operation supported? If so, what are the precautions?

  • Hi,

    Yes, this is a basic operation supported by all Linux ethernet interfaces

    You can use these commands to create VLAN interface

    ip link add link enp1s0 name enp1s0.8 type vlan id 8

    ifconfig enp1s0.8 up

    TCP/UDP is application level traffic and you will have to do this segregation in your application.

    Regards
    Vineet