Write comments

[SOLVED] ARP problem

13. Apr 2017, 19:19

I did episode A02 and when i send ARP Request it sends FF FF FF FF FF FF as srcMAC and dstMAC. and FF FF FF FF as srcIP and 02 02 00 0A as dstIP.
I get response with correct dstIP and dstMAC but all FF srcMAC and srcIP.
When I add printing of GetIPAddress anywhere in kernelMain after SetIPAddress it prints 0F 02 00 0A
but when i run it in Request it prints FF FF FF FF
did anyone had this problem before?

https://www.dropbox.com/s/9dunpo3cyhzcaeu/epA2.zip?dl=0

This is the code.
Konzola::pisi(char *) is printf(char*)
Konzola::pisiHeks(uint8_t) is printfHex(uint8_t)

Thanks in advance.

13. Apr 2017, 19:19

Re: ARP problem

14. Apr 2017, 10:50

I found mistake. I've put EtherFrameProvider* backend; in protected area in class AddressResolutionProtocol : public EtherFrameHandler but it doesnt need it there because it inherits it from EtherFrameHandler.
Write comments




Bei iphpbb3.com bekommen Sie ein kostenloses Forum mit vielen tollen Extras
Forum kostenlos einrichten - Hot Topics - Tags
Beliebteste Themen: NES, Mode, Linux, Rap, Programm

Impressum | Datenschutz