VBox and Ubuntu... Ping to gateway doesn't work.
Posted: 21. Oct 2009, 23:53
Hi everyone,
I'm a French student, so my english could be a little bit bad
I have a project of virtual networking with VirtualBox
It is a very nice project, however problems started
Host: Vista64
Guests: Ubuntu 9.04
Here is my problem:
User(192.168.56.3) ----- (192.168.56.4) (server) (DHCP 192.168.1.21) ----- NeufTelecom Router (192.168.1.1)
I added routes in Ubuntu User virtual machine. I can ping the server 192.168.56.4, and I can ping 192.168.1.21. But when I try to ping 192.168.1.1, it doesn't work
I can access 192.168.1.1 from the server, so I have access to the internet.
Here is my route table:
For User:
Destination Passerelle Genmask Indic Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth4
192.168.1.0 default.local 255.255.255.0 UG 0 0 0 eth4
192.168.56.0 * 255.255.255.0 U 0 0 0 eth4
192.168.56.0 * 255.255.255.0 U 0 0 0 eth4
link-local * 255.255.0.0 U 1000 0 0 eth4
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth4
default default-2.local 0.0.0.0 UG 0 0 0 eth4
default default.local 0.0.0.0 UG 100 0 0 eth4
Maybe some routes are wrong, but Linux test every routes, and if I can ping the 192.168.1.21, the route to 192.168.1.0 is working I think.
In VirtualBox, all Ethernet interfaces are Private hosts, on the same Private host controller. Maybe I'm wrong?
Thanks for help
I'm a French student, so my english could be a little bit bad
I have a project of virtual networking with VirtualBox
It is a very nice project, however problems started
Host: Vista64
Guests: Ubuntu 9.04
Here is my problem:
User(192.168.56.3) ----- (192.168.56.4) (server) (DHCP 192.168.1.21) ----- NeufTelecom Router (192.168.1.1)
I added routes in Ubuntu User virtual machine. I can ping the server 192.168.56.4, and I can ping 192.168.1.21. But when I try to ping 192.168.1.1, it doesn't work
I can access 192.168.1.1 from the server, so I have access to the internet.
Here is my route table:
For User:
Destination Passerelle Genmask Indic Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth4
192.168.1.0 default.local 255.255.255.0 UG 0 0 0 eth4
192.168.56.0 * 255.255.255.0 U 0 0 0 eth4
192.168.56.0 * 255.255.255.0 U 0 0 0 eth4
link-local * 255.255.0.0 U 1000 0 0 eth4
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth4
default default-2.local 0.0.0.0 UG 0 0 0 eth4
default default.local 0.0.0.0 UG 100 0 0 eth4
Maybe some routes are wrong, but Linux test every routes, and if I can ping the 192.168.1.21, the route to 192.168.1.0 is working I think.
In VirtualBox, all Ethernet interfaces are Private hosts, on the same Private host controller. Maybe I'm wrong?
Thanks for help