Two Arduino Mega 1280 boards communicate using I2C

IF you used the wiring diagram in that link then you have the two I2C pins wired to the wrong pins. The AVR1280 mega boards use different pins for I2C, pins 20 & 21 for data & clock.

Lefty