DreamDreams Posted November 28, 2016 Posted November 28, 2016 I tried the 3.4.112 on Pi One and 3.4.113 on Pi Zero. Both have the same problem which is that no unicast packets are flowing into the macvlan device when I run tcpdump on it. The device was created like this: ip link add link eth0 address 1E:74:C0:DC:BB:01 vlan mtu 1500 type macvlan I can see inbound broadcast and multicast packets though. Outbound packets also seem fine. I can see arp request and ICMP request (if set static arp entry on PI) from the other end. Does anybody have any clue what it could it?
DreamDreams Posted November 28, 2016 Author Posted November 28, 2016 Tried 4.9 kernel on Pi zero, same thing. The inbound unicast packets seem went to the physical ethernet interface. Not sure if that's normal.
Fadly Umar Posted November 29, 2016 Posted November 29, 2016 i d0 same thing but i had different aproach to this., i want traffic udp converging to http via udpxy , still cannot get it work . i dunno why , AFAIK , just try this #ifconfig "your_macvlan" promisc, and your sysctl.conf disable rp_filter. seems to be driver bugs , perhaps 1
DreamDreams Posted November 29, 2016 Author Posted November 29, 2016 Change macvlan device to promisc works! Is there any consequence of doing this? And how did you come up with this solution? When running tcpdump isn't it under promisc mode? Yet I get no unicast packets using tcpdump.
Fadly Umar Posted November 29, 2016 Posted November 29, 2016 I dont use vlan . but i received udp packet . oh maybe ur firewall configuration or routing things . it seems dont reach the unicast packet. Consequnces ? Yea i knw there always have consequences hehe but it looks fine to me
Recommended Posts