In my router under DHCP setup it says start address is 192.168.1.1 and the pool size in 200 so I presume that means the ip could be 192.168.1.201 or with anything greater than 200 on the end. In the router the under TCP/IP the lan ip is 192.168.1.254 so i think that's what I set ip[] to.
My shield's mac address is 90-A2-....... I'm sure that's filled in as 0x90, 0xA2, .... etc.
I have the gateway[] as 192.168.1.1 and the
I've filled it all in like this: (hope I'm not putting too much information on the net!)
byte mac[] = { 0x90, 0xA2, 0xDA, 0x00, 0xFB, 0x94 }; //physical mac address
byte ip[] = { 192, 168, 1, 254 }; // ip in lan
byte gateway[] = { 192, 168, 1, 1 }; // internet access via router
byte subnet[] = { 255, 255, 255, 0 }; //subnet mask
EthernetServer server(80); //server port
When it comes to connecting in a browser from outside my home network, 192.168.1.177:80 won't work because 192.168.1.177 is only for inside my network. So should i use my router's ip followed by :80?
Thanks for all your help and patience.
Shane