Change from eth0 to eth4

jkoral

New Member
Dec 8, 2016
7
0
1
51
Not sure if this should go here or under Networking and Firewall, but this issue is just after installing Proxmox.

I have a server that had 4 internal network ports (eth0, eth1, eth2, and eth3). For some reason, the switch this is connected to does not like the hardware and the ports on the switch get disabled. So I had to add another NIC to the server, which does not create the port flap.

Anyway, I need to change the default management NIC port to eth4, which I have done under /etc/network/interfaces. This is what my interface looks like:
auto lo
iface lo inet loopback
iface eth4 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.57.23
netmask 255.255.255.128
gatway 192.168.57.1
bridge_ports eth4
bridge_stp off
bridge_fd 0


First, don't let the IP throw you off with the netmask, I just substituted our internal IP for 192.168. After restarting the server and everything, I cannot ping the gateway.

Is there anything else that really needs to change? I had to do this on a regular CentOS box and it seemed to work fine. Just not with Proxmox.

Thank you.
 
gatway 192.168.57.1
is this a typo, or does it really say: 'gatway' ?

normally this should work, has your interface really the name eth4 ?

what does
Code:
ip addr
ip link
ip route
say?
 
Sorry, yes, that is a typo. Since I cannot SSH to the server, I am not able to copy and paste the settings. I have to connect through a remote KVM. ip addr, ip link, and ip route all show eth4 DOWN. I'll probably need to go visit that data center again to make sure the port is actually active and that there are link lights. I was told the switch ports have been fixed, but I guess I'll have to see for myself.

Thanks.