Having troubles with the network setup
Posted: 26. Jul 2008, 18:04
Hi,
I want to allow my virtual machine to vpn into my company's network and since the vpn is PPTP i can't use NAT.
This is what I've tried:
I made a static bridge vbox0 and tried "Internal Network" this way. My ifconfig looks like:
The problem is, when i put vbox0 as network name, the guest is not able to acquire an IP from the DHCP server(external router).
Okay I said, let's try the "Host Interface" version then:
I tried to assign the tap to my user with:
because I get the error "VERR_HOSTIF_INIT_FAILED" when i try to start my virtual machine with "host interface" networking.
What am I doing wrong? I went thru the documentation a couple times but i didn't see what I'm missing.
Help would be appreciated!
I'm btw working on an opensuse 11 system - not sure if this matters...
Thanks!
I want to allow my virtual machine to vpn into my company's network and since the vpn is PPTP i can't use NAT.
This is what I've tried:
I made a static bridge vbox0 and tried "Internal Network" this way. My ifconfig looks like:
Code: Select all
br0 Link encap:Ethernet HWaddr 00:1C:25:03:B0:F3
inet addr:192.168.0.234 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39235126 errors:0 dropped:0 overruns:0 frame:0
TX packets:24210380 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4260665981 (4063.2 Mb) TX bytes:2080207323 (1983.8 Mb)
eth0 Link encap:Ethernet HWaddr 00:1C:25:03:B0:F3
inet6 addr: fe80::21c:25ff:fe03:b0f3/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:100090730 errors:0 dropped:0 overruns:0 frame:0
TX packets:61604594 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3474922911 (3313.9 Mb) TX bytes:38143047 (36.3 Mb)
Memory:effc0000-effe0000
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:698762 errors:0 dropped:0 overruns:0 frame:0
TX packets:698762 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2651612598 (2528.7 Mb) TX bytes:2651612598 (2528.7 Mb)
vbox0 Link encap:Ethernet HWaddr 00:FF:35:00:A0:F1
inet6 addr: fe80::2ff:35ff:fe00:a0f1/64 Scope:Link
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:5969 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Okay I said, let's try the "Host Interface" version then:
I tried to assign the tap to my user with:
Code: Select all
linux-c73s:/home/reg # sudo tunctl -t tap0 -u reg
Set 'tap0' persistent and owned by uid 1000
linux-c73s:/home/reg # sudo tunctl -t tap1 -u reg
Set 'tap1' persistent and owned by uid 1000
What am I doing wrong? I went thru the documentation a couple times but i didn't see what I'm missing.
Help would be appreciated!
I'm btw working on an opensuse 11 system - not sure if this matters...
Thanks!