second NIC it's not recognized

solrac

New Member
Nov 16, 2009
5
0
1
I have installed Proxmox 1.4 (pve-manager/1.4/4403)

When I installed the software my server was only using one Ethernet card (eth0). Now I want to use the second card that comes with my server (Dell Poweredge 2950). But when I try to do it manually I get the error:

Reconfiguring network interfaces...SIOCDELRT: No such device
eth1: ERROR while getting interface flags: No such device
Waiting for vmbr0 to get ready (MAXWAIT is 2 seconds).
if-up.d/mountnfs[vmbr0]: waiting for interface vmbr0:0 before doing NFS mounts (warning).
if-up.d/mountnfs[vmbr0]: waiting for interface vmbr1 before doing NFS mounts (warning).
if-up.d/mountnfs[vmbr0:0]: waiting for interface vmbr1 before doing NFS mounts (warning).
interface eth1 does not exist!
Waiting for vmbr1 to get ready (MAXWAIT is 32 seconds).
done.


Is there a way to make an auto discovery for my second NIC or a way to configure it manually??


I have try this on my /etc/network/interfaces:
 
# network interface settings
auto lo
iface lo inet loopback
####################################
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet static
address 172.16.1.3
netmask 255.255.255.0
gateway 172.16.1.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
up route add -net 192.168.21.0 netmask 255.255.255.0 gw 172.16.1.254
auto vmbr0:0
iface vmbr0:0 inet static
address 192.168.100.100
netmask 255.255.255.0
gateway 192.168.100.1
#######################################
iface eth1 inet manual
auto vmbr1
iface vmbr1 inet static
address 200.235.185.133
netmask 255.255.255.248
gateway 200.235.185.134
bridge_ports eth1
 
I accept with information:
iface vmbr0 inet static
address 172.16.1.3
netmask 255.255.255.0
gateway 172.16.1.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
up route add -net 192.168.21.0 netmask 255.255.255.0 gw 172.16.1.254
auto vmbr0:0
iface vmbr0:0 inet static
address 192.168.100.100
netmask 255.255.255.0
 
What is the output of

# cat /proc/net/dev

also check the output of

# dmesg

to see it the second card is detected.
 
I have installed Proxmox 1.4 (pve-manager/1.4/4403)
...

why don´t you use the latest? (proxmox-ve_1.4-4390.iso)
or/and run apt-get update/upgrade?
 
I had solve the problem to recognize the second NIC.

But another problem appears. On the second NIC I configured a public IP to get access to my server via internet. But the configuration it's not working.

I get the following:

root@vs:~ #/etc/init.d/networking restart
Reconfiguring network interfaces...SIOCDELRT: No such device

Waiting for vmbr0 to get ready (MAXWAIT is 2 seconds).
if-up.d/mountnfs[vmbr0]: waiting for interface vmbr0:0 before doing NFS mounts (warning).
if-up.d/mountnfs[vmbr0]: waiting for interface vmbr1 before doing NFS mounts (warning).
if-up.d/mountnfs[vmbr0:0]: waiting for interface vmbr1 before doing NFS mounts (warning).


Waiting for vmbr1 to get ready (MAXWAIT is 2 seconds).
done.
 
So what network configuration do you use now (/etc/network/interfaces):

And what is the output of

# cat /proc/net/dev

also check the output of

# dmesg

if all network cards are detected.