There are a serie of commands you can use in order to properly configure your network device. I assume you're using dhcp in whatever network you're on:
1. Check what devices we have available
Look for a line starting with "Ethernet controller", see example below:
lspci wrote:
[...]
03:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139 C+ (rev 10)
[...]
2. Locate the device name
Output may look like this:
dmesg | grep '^eth[0-9]' wrote:
eth0: RealTek RTL8139 at 0xf887e400, 00:11:d8:83:5f:08, IRQ 225
eth0: Identified 8139 chip type 'RTL-8101'
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
3. Run dhcpcd to receive DNS-information and an IP-address
4. Use ifconfig to confirm this
You should probably read
The Gentoo Handbook Chapter 3. Configuring your Network.