How do you get arch linux on a virtual machine using internal network with a static ip to connect outside of the network?
I am having trouble connecting it outside of the internal network. I am able to connect to the other network machines and ping them and drill/dig command outside machines.
ip address add 192.168.1.106 broadcast 255.255.255.0 dev enp0s3
ip route add default via 192.168.1.1 dev enp0s3
added to /etc/resolv.conf:
[Resolve] nameserver 192.168.1.1
Able to get a static ip and it appears on arp table on router. Able to ping outside network and pacman works.
Update Solved: The problem was the nameserver and [Resolve] had a typo. Had to put [Resolve] and then nameserver.