Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
you will need to connect an ethernet controller to that. I think ENC28J60 is there. And you can use TCPIP stack from microchip. I'm not sure if you will be able to use 16f877, it doesn't have sufficient memory to accomodate the code, but may be with the latest stack you can atleast try pinging. Rather if you want to simulate ethernet, go for PIC18 or higher end controllers.