I am a complete newbie here, but I've been tasked to fix the ProxMox EV at my office for the purposes of testing our virtual lab devices.
Unfortunately the person who setup the environment and maintained it left the company without any instruction, and apparently no one in the office has any idea on how to work on it.
I am able to connect to the server directly with a keyboard and monitor, but the server can't connect to the company-wide network.
I have found that the gateway is not pingable, and looking at the contents of the /etc/network/interfaces file, I'm guessing that the server is not pointed to the physical interfaces correctly.
I know that the server has 4 ethernet cables connecting it to a netgear switch, and have tested the switch and the cables.
Looking at the /etc/network/interfaces file below, there are 4 VM bridges and 4 ethernet interfaces.
While looking at the results of the "ip a" command there are the same 4 VM bridges listed, but 4 different ethernet interfaces, and 30 tap interfaces (for the VMs that host the virtual lab devices), and another interface I am not sure the purpose for.
Could the issue with the network access be fixed with some simple edits for the /etc/network/interfaces file?
Hopefully I am making sense here, cause I am very green with linux based systems in general.
/etc/network/interfaces
auto lo
iface lo inet loopback
iface enp16s0 inet manual
iface enp10s0 inet manual
iface enp11s0 inet manual
iface enp15s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 10.1.210.252
netmask 255.255.255.0
gateway 10.1.210.1
bridge_ports enp16s0
bridge_stp off
bridge_fd 0
#PRIMARY
auto vmbr1
iface vmbr1 inet manual
bridge_ports enp10s0
bridge_stp off
bridge_fd 0
#COLLECTOR 100-110
auto vmbr2
iface vmbr2 inet manual
bridge_ports enp11s0
bridge_stp off
bridge_fd 0
#COLLECTOR 111-121
auto vmbr3
iface vmbr3 inet manual
bridge_ports enp15s0
bridge_stp off
bridge_fd 0
#CELLULAR
ip a
1: lo: <LOOKBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2. enp7s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether d0:50:99:c3:f7:42 brd ff:ff:ff:ff:ff:ff
3. enp8s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether d0:50:99:c3:f7:40 brd ff:ff:ff:ff:ff:ff
4. enp12s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether d0:50:99:c3:f7:43 brd ff:ff:ff:ff:ff:ff
5. enp13s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether d0:50:99:c3:f7:41 brd ff:ff:ff:ff:ff:ff
6. vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether c6:3c:f4:3f:48:9d brd ff:ff:ff:ff:ff:ff
inet 10.1.210.252/24 brd 10.1.210.255 scope global vmbr0
valid_lft forever preferred_lft forever
7. vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether fa:eb:75:97:aa:b7 brd ff:ff:ff:ff:ff:ff
8. vmbr2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 1a:66:a0:22:79:c8 brd ff:ff:ff:ff:ff:ff
9. vmbr3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
link/ether da:a4:fb:45:85:ea brd ff:ff:ff:ff:ff:ff
10. tap101i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether c6:3c:f4:3f:48:9d brd ff:ff:ff:ff:ff:ff
11. tap102i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 6e:ea:5a:c3:14:09 brd ff:ff:ff:ff:ff:ff
12. tap104i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether ce:21:b0:26:66:c2 brd ff:ff:ff:ff:ff:ff
13. tap105i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether e2:e3:b7:61:f3:a9 brd ff:ff:ff:ff:ff:ff
14. tap106i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 12:0c:db:af:5c:49 brd ff:ff:ff:ff:ff:ff
15. tap107i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether b6:f9:76:9b:20:1b brd ff:ff:ff:ff:ff:ff
16. tap108i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 26:62:e6:f1:b8:e1 brd ff:ff:ff:ff:ff:ff
17. tap109i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 3a:b6:97:6e:46:1a brd ff:ff:ff:ff:ff:ff
18. tap110i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr1 state UNKNOWN group default qlen 1000
link/ether fa:eb:75:97:aa:b7 brd ff:ff:ff:ff:ff:ff
19. tap111i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether da:55:31:42:20:bb brd ff:ff:ff:ff:ff:ff
20. tap112i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether da:f7:f8:4d:a2:81 brd ff:ff:ff:ff:ff:ff
21. tap113i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 52:67:88:47:a4:6e brd ff:ff:ff:ff:ff:ff
22. tap114i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 52:be:d6:ae:00:fc brd ff:ff:ff:ff:ff:ff
23. tap115i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr2 state UNKNOWN group default qlen 1000
link/ether 1a:66:a0:22:79:c8 brd ff:ff:ff:ff:ff:ff
24. tap116i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether b2:e5:4e:7e:7c:1b brd ff:ff:ff:ff:ff:ff
25. tap117i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 4e:50:18:0c:af:86 brd ff:ff:ff:ff:ff:ff
26. tap118i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether da:96:ad:f0:fa:ea brd ff:ff:ff:ff:ff:ff
27. tap119i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 6e:a4:2c:a7:a2:0a brd ff:ff:ff:ff:ff:ff
28. tap120i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether ca:a4:37:c8:76:3c brd ff:ff:ff:ff:ff:ff
29. tap121i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr1 state UNKNOWN group default qlen 1000
link/ether be:e4:0c:33:d6:8f brd ff:ff:ff:ff:ff:ff
30. veth301i0@if30: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr2 state UP group default qlen 1000
link/ether fe:36:8e:38:c6:6f brd ff:ff:ff:ff:ff:ff
Unfortunately the person who setup the environment and maintained it left the company without any instruction, and apparently no one in the office has any idea on how to work on it.
I am able to connect to the server directly with a keyboard and monitor, but the server can't connect to the company-wide network.
I have found that the gateway is not pingable, and looking at the contents of the /etc/network/interfaces file, I'm guessing that the server is not pointed to the physical interfaces correctly.
I know that the server has 4 ethernet cables connecting it to a netgear switch, and have tested the switch and the cables.
Looking at the /etc/network/interfaces file below, there are 4 VM bridges and 4 ethernet interfaces.
While looking at the results of the "ip a" command there are the same 4 VM bridges listed, but 4 different ethernet interfaces, and 30 tap interfaces (for the VMs that host the virtual lab devices), and another interface I am not sure the purpose for.
Could the issue with the network access be fixed with some simple edits for the /etc/network/interfaces file?
Hopefully I am making sense here, cause I am very green with linux based systems in general.
/etc/network/interfaces
auto lo
iface lo inet loopback
iface enp16s0 inet manual
iface enp10s0 inet manual
iface enp11s0 inet manual
iface enp15s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 10.1.210.252
netmask 255.255.255.0
gateway 10.1.210.1
bridge_ports enp16s0
bridge_stp off
bridge_fd 0
#PRIMARY
auto vmbr1
iface vmbr1 inet manual
bridge_ports enp10s0
bridge_stp off
bridge_fd 0
#COLLECTOR 100-110
auto vmbr2
iface vmbr2 inet manual
bridge_ports enp11s0
bridge_stp off
bridge_fd 0
#COLLECTOR 111-121
auto vmbr3
iface vmbr3 inet manual
bridge_ports enp15s0
bridge_stp off
bridge_fd 0
#CELLULAR
ip a
1: lo: <LOOKBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2. enp7s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether d0:50:99:c3:f7:42 brd ff:ff:ff:ff:ff:ff
3. enp8s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether d0:50:99:c3:f7:40 brd ff:ff:ff:ff:ff:ff
4. enp12s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether d0:50:99:c3:f7:43 brd ff:ff:ff:ff:ff:ff
5. enp13s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether d0:50:99:c3:f7:41 brd ff:ff:ff:ff:ff:ff
6. vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether c6:3c:f4:3f:48:9d brd ff:ff:ff:ff:ff:ff
inet 10.1.210.252/24 brd 10.1.210.255 scope global vmbr0
valid_lft forever preferred_lft forever
7. vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether fa:eb:75:97:aa:b7 brd ff:ff:ff:ff:ff:ff
8. vmbr2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 1a:66:a0:22:79:c8 brd ff:ff:ff:ff:ff:ff
9. vmbr3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
link/ether da:a4:fb:45:85:ea brd ff:ff:ff:ff:ff:ff
10. tap101i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether c6:3c:f4:3f:48:9d brd ff:ff:ff:ff:ff:ff
11. tap102i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 6e:ea:5a:c3:14:09 brd ff:ff:ff:ff:ff:ff
12. tap104i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether ce:21:b0:26:66:c2 brd ff:ff:ff:ff:ff:ff
13. tap105i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether e2:e3:b7:61:f3:a9 brd ff:ff:ff:ff:ff:ff
14. tap106i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 12:0c:db:af:5c:49 brd ff:ff:ff:ff:ff:ff
15. tap107i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether b6:f9:76:9b:20:1b brd ff:ff:ff:ff:ff:ff
16. tap108i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 26:62:e6:f1:b8:e1 brd ff:ff:ff:ff:ff:ff
17. tap109i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 3a:b6:97:6e:46:1a brd ff:ff:ff:ff:ff:ff
18. tap110i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr1 state UNKNOWN group default qlen 1000
link/ether fa:eb:75:97:aa:b7 brd ff:ff:ff:ff:ff:ff
19. tap111i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether da:55:31:42:20:bb brd ff:ff:ff:ff:ff:ff
20. tap112i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether da:f7:f8:4d:a2:81 brd ff:ff:ff:ff:ff:ff
21. tap113i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 52:67:88:47:a4:6e brd ff:ff:ff:ff:ff:ff
22. tap114i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 52:be:d6:ae:00:fc brd ff:ff:ff:ff:ff:ff
23. tap115i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr2 state UNKNOWN group default qlen 1000
link/ether 1a:66:a0:22:79:c8 brd ff:ff:ff:ff:ff:ff
24. tap116i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether b2:e5:4e:7e:7c:1b brd ff:ff:ff:ff:ff:ff
25. tap117i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 4e:50:18:0c:af:86 brd ff:ff:ff:ff:ff:ff
26. tap118i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether da:96:ad:f0:fa:ea brd ff:ff:ff:ff:ff:ff
27. tap119i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 6e:a4:2c:a7:a2:0a brd ff:ff:ff:ff:ff:ff
28. tap120i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether ca:a4:37:c8:76:3c brd ff:ff:ff:ff:ff:ff
29. tap121i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr1 state UNKNOWN group default qlen 1000
link/ether be:e4:0c:33:d6:8f brd ff:ff:ff:ff:ff:ff
30. veth301i0@if30: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr2 state UP group default qlen 1000
link/ether fe:36:8e:38:c6:6f brd ff:ff:ff:ff:ff:ff