Forum Discussion
53 Replies
- Altera_Forum
Honored Contributor
No, the information here:
The dynamic host configuration protocol (dhcp) is a network configuration protocol for hosts on (IP) networks. Computers that are connected to IP networks must be configured before they can communicate with other hosts. The most essential information needed is an ip (http://en.wikipedia.org/wiki/ip_address), and a default route and routing prefix. DHCP eliminates the manual task by a network administrator. It also provides a central database of devices that are connected to the network and eliminates duplicate resource assignments. In addition to IP addresses, DHCP also provides other configuration information, particularly the IP addresses of local (dns) (http://en.wikipedia.org/wiki/name_server), network boot servers, or other service hosts. all right?:mad: - Altera_Forum
Honored Contributor
As I said already at least 3 times, it depends on your DHCP_CLIENT define.
When I asked you the FPGA configuration I didn't mean the kit, but the actual configuration that you uploaded into the FPGA. - Altera_Forum
Honored Contributor
--- Quote Start --- No, the information here: The dynamic host configuration protocol (dhcp) is a network configuration protocol for hosts on (IP) networks. Computers that are connected to IP networks must be configured before they can communicate with other hosts. The most essential information needed is an ip (http://en.wikipedia.org/wiki/ip_address), and a default route and routing prefix. DHCP eliminates the manual task by a network administrator. It also provides a central database of devices that are connected to the network and eliminates duplicate resource assignments. In addition to IP addresses, DHCP also provides other configuration information, particularly the IP addresses of local (dns) (http://en.wikipedia.org/wiki/name_server), network boot servers, or other service hosts. all right?:mad: --- Quote End --- Wikipedia is almost everytime right. - Altera_Forum
Honored Contributor
Okey thanks both!
I had understood DHCP how, with your linking has sent on wiki, It's really far away my topic. - Altera_Forum
Honored Contributor
Search the triple speed ethernet tutorial guide of altera, there are examples you may use...
- Altera_Forum
Honored Contributor
You can find it here:
http://www.altera.com/support/examples/nios2/exm-tse-sgdma.html - Altera_Forum
Honored Contributor
thanks so much.
I had done many way. I'm define IP following and saving named(ip.h): /* * ip.h * * Created on: Jan 13, 2013 * Author: Lam Van Trung */ # ifndef IP_H_ # define IP_H_ # include "alt_iniche_dev.h" # include "includes.h" # include "ipport.h" # include "tcpport.h" int get_ip_addr(alt_iniche_dev* p_dev, ip_addr* ipaddr, ip_addr* netmask, ip_addr* gw, int* use_dhcp) { IP4_ADDR(&ipaddr, 10, 1, 1 ,3); // Assign the Default Gateway Address IP4_ADDR(&gw, 10, 1, 1, 254); // Assign the Netmask IP4_ADDR(&netmask, 255, 255, 255, 0); *use_dhcp = 0; } # endif /* IP_H_ */ But, there are numerous error occur. The NIOS report that"error line 0". please help me ? any help me will be better for me??? - Altera_Forum
Honored Contributor
What do you mean by "the Nios"? We need to know what you were doing, where you got the error message, and the full error message
- Altera_Forum
Honored Contributor
TO_BE_DONE
- Altera_Forum
Honored Contributor
Yeah, you're very close to the finish. Very! :D