Adding a 2nd network card on a virtual Debian machine


hey! (:

i need to add another network card on a linux machine…
how to do it?

thanks for helping!



To add second network card on your virtual machine use your virtualization software to add another network interface and reboot. This way you will attach new network interface to your system and debian will recognize it after reboot and most like it will be available as



If you cannot create new virtual network interface due to the admin access restrictions you can create second network interface within your Linux system using the ifconfig command. For example here we create a secont virtual interface from exciting


network interface:

[B]# ifconfig eth0:0[/B]
# ifconfig eth0:0
eth0:0    Link encap:Ethernet  HWaddr 3c:97:0e:02:98:c8  
          inet addr:  Bcast:  Mask:

Follow this line for more information on how to add virtual network interface on Linux.

Hope this helps…