I set up a bridge in /etc/network/interfaces, restarted the network and added the vbox0 interface. Because I have a laptop with almost every time a wlan0 up, the bridge is connected to wlan0. In the settings of the vm I set up a network interface connected to vbox0.
Output of ifconfig -a of my host system gives:
Code: Select all
jurian@karolina:~$ ifconfig -a
br0 Link encap:Ethernet HWaddr 00:21:5c:51:8d:e1
inet addr:192.168.1.72 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::221:5cff:fe51:8de1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1528 errors:0 dropped:0 overruns:0 frame:0
TX packets:1316 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1141257 (1.1 MB) TX bytes:283861 (283.8 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:184 errors:0 dropped:0 overruns:0 frame:0
TX packets:184 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12088 (12.0 KB) TX bytes:12088 (12.0 KB)
vbox0 Link encap:Ethernet HWaddr 00:ff:3e:cf:0f:a6
inet6 addr: fe80::2ff:3eff:fecf:fa6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:25 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:2862 (2.8 KB) TX bytes:2134 (2.1 KB)
wlan0 Link encap:Ethernet HWaddr 00:21:5c:51:8d:e1
inet6 addr: fe80::221:5cff:fe51:8de1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8745 errors:0 dropped:0 overruns:0 frame:0
TX packets:6578 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9338891 (9.3 MB) TX bytes:1105120 (1.1 MB)
wmaster0 Link encap:UNSPEC HWaddr 00-21-5C-51-8D-E1-64-65-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
How can I connect from my host to my server? I'm quite a noob in virtual machines and networking, but I followed the manual as good as possible.
Did I do something wrong or did I forget something? Thanks for any help