How can I define network settings with vagrant

前端 未结 3 717
没有蜡笔的小新
没有蜡笔的小新 2021-02-10 09:02

I am running Ubuntu inside vagrant, here is the Vagrantfile:

# Vagrantfile API/syntax version. Don\'t touch unless you know what you\'re doing!
VAGRANTFILE_API_V         


        
3条回答
  •  一个人的身影
    2021-02-10 09:44

    I can bet you're looking at eth0 (that's another interface). Look at eth1 and you'll get what you're searching for. Moreover, from outside vagrant, try to ping it with

    ping 192.168.99.4
    

提交回复
热议问题