How to activate eth1 ?!

machines

Member
Nov 1, 2006
32
0
6
Hello There,

I know that there are several threads about this, but there was no solution for my problem.

We have an installation with proxmox VE 4.4 on a supermicro board with two NICs. One NIC is used for the VM and connected via bridging (vmbr).

Now I like to use the "eth1" to connect to a NAS directly. But how do I get the "eth1" working ? I tried to set an IP-adress and rebooted the system, but eth1 will not work.

Is there a hint for me ?

Greetings Marco.
 
Hello There,

I know that there are several threads about this, but there was no solution for my problem.

We have an installation with proxmox VE 4.4 on a supermicro board with two NICs. One NIC is used for the VM and connected via bridging (vmbr).

Now I like to use the "eth1" to connect to a NAS directly. But how do I get the "eth1" working ? I tried to set an IP-adress and rebooted the system, but eth1 will not work.

Is there a hint for me ?

Greetings Marco.

Please provide the contents of your /etc/network/interfaces file.
 
Hello adamb,

here is what it says:

auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
address x.x.x.x
netmask 255.255.255.0
gateway x.x.x.x
bridge_ports eth0
bridge_stp off
bridge_fd 0

Can I also manage it in the web gui ?

Greetings Marco.
 
for proper config your interface file should look at least like

Code:
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet static
address x.x.x.x
netmask 255.255.255.0


auto vmbr0
iface vmbr0 inet static
address x.x.x.x
netmask 255.255.255.0
gateway x.x.x.x
bridge_ports eth0
bridge_stp off
bridge_fd 0

the "inet manual" next to interface in essence means "RECOGNISED BUT NOT CONFIGURED"
as in , system can see there is an interface but it will do nothing with it.
you need to either set it to inet dhcp or static
and if static provide the ip and bitmask .

no gateway as you can only have one gateway in the system.
 
Hello Jim,

now I did the follwing ...

auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet static
address 192.168.50.14
netmask 255.255.255.0

auto vmbr0
iface vmbr0 inet static
address x.x.x.x
netmask 255.255.255.0
gateway x.x.x.x
bridge_ports eth0
bridge_stp off
bridge_fd 0

I restarted the machine, but the eth1 is still not active. I am not able to ping my own.
Cable is connected and the NAS on the other hand says that there is a cable.

Greetings Marco.
 
Hello Jim,

now I did the follwing ...



I restarted the machine, but the eth1 is still not active. I am not able to ping my own.
Cable is connected and the NAS on the other hand says that there is a cable.

Greetings Marco.
what exactly is your setup?
where are this cables are connected?
are both nics go onto the same network?

where are you pinging it from. from other machine? from the box itself?

the setup should work.
as long as both ports are on the same network schema they should be recognized.
 
your eth1 is defined but is not set to be up at boot. prepend auto eth1 above your interface definition, eg:

auto eth1
iface eth1 inet static
address 192.168.50.14
netmask 255.255.255.0

I suppose this would be a good time to ask- what is this interface for?
 
  • Like
Reactions: dontwanna
Hi alexskysilk,

Thanks for your reply. I really didn´t recognize that. Now it seems to work.

As answer to your question > I use this interface to connect directly to a NAS for backup in order to save traffic in the NOC.

Greetings Marco.
 
I am also facing similar issue, when i connect USB to ethernet port the server identified this NIC (eth2) but not able to activate.

/etc/network/interfaces

auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

auto eth2
iface eth2 inet manual
#eth2

eth0 and eth1 are active but eth2 is not active

1625562625666.png
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!