eth vlan

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

eth vlan

969 次查看
zhangmeng6
Contributor I

HI, nxp:

I configured a VLAN on the board as shown in the following:

5: pfe1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:11:22:33:44:55 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.11/24 brd 192.168.2.255 scope global pfe1
valid_lft forever preferred_lft forever
inet6 fe80::211:22ff:fe33:4455/64 scope link
valid_lft forever preferred_lft forever
7: vlan_69@pfe1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:11:22:33:44:55 brd ff:ff:ff:ff:ff:ff
inet 192.168.69.15/24 scope global vlan_69
valid_lft forever preferred_lft forever
inet6 fe80::211:22ff:fe33:4455/64 scope link
valid_lft forever preferred_lft forever

and then set up a static ARP entry as also shown in the following:

root@s32g399ardb3:~# arp -n
Address HWtype HWaddress Flags Mask Iface
192.168.69.31 ether 00:11:22:33:44:66 CM vlan_69

Then, from my PC, I sent an ICMP request message to the development board. The source address of the message was the one set in the static ARP, and the destination address was my VLAN_69. However, this message didn't carry a VLAN tag,but VLAN 69 sent me a reply. Why is this? Why wasn't the untagged packet discarded?

 

标记 (1)
0 项奖励
回复
3 回复数

795 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @zhangmeng6 

Sorry for the late response.

Sorry that I do not find such issues locally, would you mind sharing your testing log? so that I could try reproducing it on my side for further debugging.

 

BR

Chenyin

0 项奖励
回复

964 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @zhangmeng6 

Thanks for you post.

Would you minding sharing the BSP version you are working with? 
And you were testing VLAN on PFE1, right?

 

BR

Chenyin

0 项奖励
回复

878 次查看
zhangmeng6
Contributor I
Hi,Chenyin:
bsp35.
0 项奖励
回复