Does the IP address has to be (192.168.103.100) after running that "vagrant ssh"?

does the IP address has to be (192.168.103.100) after running that “vagrant ssh”?

MIne is showing as 10.x.x.xx…maybe because I am working within a company network?

There could be more than one. But yes, the M103 VM must have at least one interface on 192.168.103.100. If you run sudo ifconfig -a you should see one interface with that IP.

Hi yutao100,

Look at the output below which I get when I do vagrant ssh:

m103-vagrant-env$ vagrant ssh
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-153-generic x86_64)

* Documentation:  https://help.ubuntu.com/

 System information as of Tue Nov 20 11:25:04 UTC 2018

 System load:  0.07               Processes:           89
 Usage of /:   26.5% of 39.34GB   Users logged in:     0
 Memory usage: 6%                 IP address for eth0: 10.0.2.15
 Swap usage:   0%                 IP address for eth1: 192.168.103.100

If you see IP: 192.168.103.100, then you are good to go!

If not, then please re provision the vagrant. Run vagrant provision. It will reset the IP.

Kanika

1 Like