ask your question more specifically.
define your network, board, your protocol stack(physical, data link, ip,tcp).
generally if you use static IP there is no need for implementing DHCP client.
Sure Miralipoor,
FPGA: Spartan-6 lx16 cgs324
Ethernet PHY IC: smscLAN8710a
My board is Digilent nexys-3.
I want to receive a UDP payload in my FPGA board:
I used the following packet format:
Ethernet preamble/SFD (synchronizer): 55 55 55 55 55 55 55 D5
Ethernet destination address: 00 10 A4 7B EA 80
Ethernet source address: 00 12 34 56 78 90
Ethernet type: 08 00 (=IP)
IP header: 45 00 00 2E B3 FE 00 00 80
IP protocol: 11 (=UDP)
IP checksum: 05 40
IP source (192.168.0.4 my PC): C0 A8 00 04
IP destination (192.168.0.5 my FPGA board): C0 A8 00 05
UPD source port (1024): 04 00
UPD destination port (1024): 04 00
UDP payload length (18): 00 1A
UPD checksum: 2D E8
UDP payload (18 bytes): 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11
Ethernet checksum: B3 31 88 1B
These are my assumptions please correnct me if I am wrong
1. If I dont implement a DHCP client, then no IP address is allocated for my FPGA board
2. OK, my question is if the modem receive a packet to be sent to IP (192.168.0.5) where will it route the packet?
Thanks in advance to Any solution to my problem