adding new iface to centos 7 (guest) in proxmox

semutmikro

Active Member
Feb 5, 2021
40
4
28
35
i have guest vm OS centos 7 i want to add more network interface (virtio) i created file ifcfg-eth1 with config same like ifcfg-eth0 with different config inside like Mac, UUID, device name an ip its self, and then restart the service and the vm, buat i can't ping to gateway or to another vm (with same subnet) just can ping to host (node) Screenshot 2022-02-23 094320.png
 
hi,

did you add a new NIC for your VM inside the "Hardware" menu on the GUI?

are you able to see the interface link inside the VM using the ifconfig or ip a commands?

buat i can't ping to gateway or to another vm (with same subnet) just can ping to host (node)
show us your VM configuration: qm config VMID (replace VMID with yours)

also your screenshot looks like it's using a different gateway IP address for the eth1. is that range routable?
 
hi,

did you add a new NIC for your VM inside the "Hardware" menu on the GUI?

are you able to see the interface link inside the VM using the ifconfig or ip a commands?


show us your VM configuration: qm config VMID (replace VMID with yours)

also your screenshot looks like it's using a different gateway IP address for the eth1. is that range routable?
thanks for your replay, yes already add new NIC from "Hardware" menu,
yes i can see the interface with different Mac Address

screen shot your ask

yes that range routable so i can ping from subnet 192.168.20.0/24 to 192.168.30.0/24
 

Attachments

  • Screenshot 2022-02-24 103816.png
    Screenshot 2022-02-24 103816.png
    15 KB · Views: 8