You might need a x-over RJ45 cable to connect the 2 together.
There is a technology called "Auto MDI-X". With it NIC can detect cable type hence it can support both cross-cord and patch-cord.
This technology is optional for 10Mb and 100Mb (although widely implemented in 100).
For 1000Mb cross cable is never required.