I'm working on an ethernet connection with the
ENC28J60. During development, I'd like to connect the chip to my computer directly (i.e. not via a gateway). This computer is running XP, has a primary network interface over
WLAN (local IP
DHCP assigned), default gateway
192.168.1.254, subnet mask
255.255.255.0) and I do not use the ethernet for other connections.
How should I setup the network? Normally, you'd use the default settings with
DHCP to get an IP address assigned, however now, I think I have to set this up manually. Is this correct? How should I setup the ethernet configuration on my computer?
ENC28J60 and its
PIC's configuration use the IP address
192.168.0.140 for themselves, and
192.168.0.1 for the default gateway.