Hi all,
how i can login as root to a KVM-VM over SSH? Does anyone have a command?
We would check, if KVM VM have the right ip adress. or have anyone a command for check this as root on node?
Very thanks and best regards
root@proxmox1:~# arping -c 1 -I vmbr23 172.20.3.151
ARPING 172.20.3.151 from 172.20.3.61 vmbr23
Unicast reply from 172.20.3.151 [BE:19:E2:BD:21:99] 0.633ms
Sent 1 probes (1 broadcast(s))
Received 1 response(s)
root@proxmox1:~# grep -i BE:19:E2:BD:21:99 /etc/pve/qemu-server/*
/etc/pve/qemu-server/101.conf:net0: e1000=BE:19:E2:BD:21:99,bridge=vmbr23
# grep net0 /etc/pve/qemu-server/150.conf
net0: virtio=1A:E1:7E:55:D0:6A,bridge=vmbr90
# tcpdump -n -i vmbr90 | grep -i "1A:E1:7E:55:D0:6A"
tcpdump: WARNING: vmbr90: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vmbr90, link-type EN10MB (Ethernet), capture size 65535 bytes
15:28:51.748813 ARP, Reply 192.168.40.27 is-at 1a:e1:7e:55:d0:6a, length 28
Hi,
ok. Also, if i dont get an ip address, the vm was not configured correctly, right?
thanks and best regards @udo
Hi udo,
arping -c 1 -I vmbr23 172.20.3.151, is this ip-address the address of node?
regards
Hi udo,
ok, but the VM is online with a IPv4 or IPv6 address (i can see traffic in interface), but if i use the command, i don´t get a answer/information of this vm/ip. i don´t understand it,,,
Do you have a other idea, to check, which ip the vm has?
best regards and very thanks for your informations.
We use essential cookies to make this site work, and optional cookies to enhance your experience.