arduino + ethernet shiel(urgent please)

Hi all
I am working in a project using RC522 RFID module for home access and I urgently need help since I'm going to submit my final year project in few days later
my problem is that I bought an ethernet shield, I want to test it by using the webserver example, I read a lot , a lot of posts in forums as well as articles and other stuffs but I didn't reach any thing
first I connected my Ethernet shield to my home modem using RG45 and my pc to my home modem also by another RG45 (ethernet shield is stacked into the arduino), I guess that the problem of mine is about the choice of IP address, in the attachement below you see how i did it but it doesn't work , please if someone can help , I'll be thankful because i need it the sooner
ps: I've tried this way of connecting the ethernet shield directly to pc then i got ip from the cmd (look attachement 3)after i try it in the code it works some times and outputs analog values, the problem is that this address changes quite often and now it doesn't work for me

If you change line # 49 from "Ethernet.begin(mac, ip, dns, gateway, subnet);" to "Ethernet.begin(mac);", assuming you are using Arduino 1.0 or later, your shield will obtain the IP, DNS, Gateway and Subnet from your router, making networking easier.