As you know, I use vagrant to control a single vm, when I enter vm with vagrant ssh , the output shows that I was login with 10.0.2.2. So this IP was my host IP. But why can't I see it when running ifconfig in my host? It confused me. (But I can find the entry for 10.0.2.2 in the host route table)
Any hint would be appreciated!
source share