Some time ago I bought ENC28j60 Ethernet module for Arduino and I connected this to my Leonardo. Firstly, I used router with DHCP turned on and everything was fine. I uploaded sketch pings from default sketches and after few seconds I could read Ethernet module's IP address. Other programs worked OK too - rbbb_server, back_soon from examples.
Although it's good, I'd like to connect ENC28j60 module directly to computer, without router. I just connected them with RJ45 crossover cable and now I don't know how to configure network card and which parameters change to succeed. I mean using pings program for example.
P.S. I'm building a weather station project on Leonardo and I would like to send data from sensors to database using Ethernet module, so I wonder how to setup it fine without router.
Any help will be appreciated.