Arduino Uno R3
Ethernet Shield : HanRun HR911105A
I tried Example code DhcpAddressPrinter, but it shows "Failed to configure Ethernet using DHCP
".
I also tried WebServer example but it shows server is at 0.0.0.0
Post a link to the Ethernet shield you have. There are several different types.
A description of your router and its configuration is in order, too. Does it, for instance, support DHCP?