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.

VLAN support feature in NDK (C6678)

  • Hi,

    I have few doubts over usage of vlan support feature in NDK.
    I have gone through section A.16. I understand that VLANAddDevice() is to be used to create a vlan with specific ID for a specified interface.
    This is the approach we are following :-
    1) add CFGTAG_IPNET entry in NDK for interface 1 and setup IP address manually to the specified interface
    2) VLANInit()
    3) NC_NetStart invocation
    4) VLANAddDevice() for the same interface and vlan ID 2 with some priority.
    5) Bind socket to that IP

    This leads to creation of new interface 2 having vlan ID 2 configured (eth0:2). We have specified interface 1 as argument to VLANAddDevice().
    Is this behavior expected? We intended vlan tagging to be configured for interface 1.
    Please send a test project showcasing vlan support in NDK on c6678 EVM.

    Regards,

    Rajesh Teli

  • NDK 2.21.0.32
  • DSP/BIOS 6.35.04.50
  • C6678