Hello Alvaro,
Sorry i was not able to answer your sooner.
This is what i have, and there is a difference with what i have at work (i
have just checked) :
*At home :*
root@lucid64:/home/vagrant# cat /etc/hosts
>
> 127.0.0.1 localhost
> 127.0.1.1 lucid64.localhost lucid64
>
# The following lines are desirable for IPv6 capable hosts
> ::1 localhost ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
root@lucid64:/home/vagrant# netstat -anp | grep ':80'
> tcp 0 0 0.0.0.0:80 0.0.0.0:*
> LISTEN 1022/apache2
>
for an ifconfig :
root@lucid64:/home/vagrant# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:36:71:5f
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:414 errors:0 dropped:0 overruns:0 frame:0
TX packets:263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:45177 (45.1 KB) TX bytes:36093 (36.0 KB)
eth1 Link encap:Ethernet HWaddr 08:00:27:bf:fe:05
inet addr:192.168.1.12 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5493 (5.4 KB) TX bytes:3066 (3.0 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 B) TX bytes:560 (560.0 B)
*Now, at work, without having change anything (and it works with success) :*
For the cat /etc/hosts, nothing change (which is i think logical).
Nevertheless for netstat :
root@lucid64:/home/vagrant# netstat -anp | grep ':80'
tcp 0 0 0.0.0.0:80 0.0.0.0:*
LISTEN 1083/apache2
tcp 0 0 10.0.2.15:80 10.0.2.2:34881
TIME_WAIT -
tcp 0 0 10.0.2.15:80 10.0.2.2:34878
TIME_WAIT -
tcp 0 0 10.0.2.15:80 10.0.2.2:34877
TIME_WAIT -
tcp 0 0 10.0.2.15:80 10.0.2.2:34862
TIME_WAIT -
tcp 0 0 10.0.2.15:80 10.0.2.2:34879
TIME_WAIT -
Well, any idea of wtf is this???
I have left into the vagrantFile the line that you told me to write (
config.vm.hostname = "lucid64.localhost")
Thanks for your help :)
--
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.