How do i add a 2nd NIC on my Linode VM
I would like to enable routing on my Linode VM across 2 different NICs. eth0 and eth1.
Presently my VM has only 1 NIC. *-network description: Ethernet controller product: Virtio network device vendor: Red Hat, Inc physical id: 4 bus info: pci@0000:00:04.0 version: 00 width: 64 bits clock: 33MHz capabilities: msix busmaster caplist rom configuration: driver=virtio-pci latency=0 resources: irq:10 ioport:c040(size=32) memory:febd2000-febd2fff memory:fe004000-fe007fff memory:feb80000-febbffff *-virtio1 description: Ethernet interface physical id: 0 bus info: virtio@1 logical name: eth0 serial: f2:3c:91:4f:a1:91 capabilities: ethernet physical configuration: autonegotiation=off broadcast=yes driver=virtio_net driverversion=1.0.0 ip=22.214.171.124 link=yes multicast=yes
How to i enable the 2nd NIC eth1 ?
Your Linode only has access to one network device but you can create an alias for it in your Linode's network connection by adding eth0:0. From there, you can continue adding aliases such as eth0:1, eth0:2, eth0:3, and so on.
If you would like an extra IP address for the additional aliases, please feel free to open a Support Ticket providing the technical justification for why you will need the additional IP address.