Hi! I’m sorry for the newbie question, but I just imported an OVA Ubuntu image into virt-manager, and no network calls are working. As a final goal, I would like to be able to SSH into the VM.
wget
calls fail, as does trying to access any webpage through Firefox. Running ifconfig
, I get:
username@vmname:~/Desktop$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1164 bytes 83908 (83.9 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1164 bytes 83908 (83.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
which does not seem right?
I’m using the default Virtual network ‘default’: NAT under the Virtio device model, and the IP address is Unknown within the VM config.
Running ip addr
yields:
1: lo: <LOOPBACK,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
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 52:54:00:b0:cf:3b brd ff:ff:ff:ff:ff:ff