Now I changed /etc/network/interfaces to this found on internet:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth1
iface eth1 inet manual
auto tap0
iface tap0 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
tunctl_user ad
auto br0
iface br0 inet static
address 192.168.1.103
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
bridge_ports eth1 tap0
bridge_maxwait 0
But now after reboot neither host(Debian Etch) nor guest os(Winxp) can connect
to
internet. output of route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
Am i missing something? Also i have setup winxp to obtain ip address
automatically.
if that helps.
----------------------------------------
> Date: Fri, 7 Mar 2008 11:51:07 +0100
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: [vbox-users] Guest OS(Winxp): Unable to connect to internet,
> network
>
> A D wrote:
> [...]
>
>> # The primary network interface
>> allow-hotplug eth1
>> iface eth1 inet static
>> address 192.168.1.103
>> netmask 255.255.255.0
>> network 192.168.1.0
>> broadcast 192.168.1.255
>> gateway 192.168.1.1
>> # dns-* options are implemented by the resolvconf package, if installed
>> dns-nameservers XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX
>>
>>
>> auto tap0
>> iface tap0 inet manual
>> up ifconfig $IFACE 0.0.0.0 up
>> down ifconfig $IFACE down
>> tunctl_user ad
>>
>> auto br0
>> iface br0 inet static
>> address 192.168.1.103
>> network 192.168.1.0
>> netmask 255.255.255.0
>> broadcast 192.168.1.255
>> gateway 192.168.1.1
>> bridge_ports eth1 tap0
>
> This is a misconfiguration. DO NOT assign any configuration to eth1 if
> you want to use it in a bridge. Just configure the bridge. If fact you
> don't even need to mention the physical interface you want to use for
> bridging anywhere but in the bridge_ports line in the br0 config.
>
> I suspect (the ifconfig output you provide isn't helpful in that
> context, I'd need the routing table, route -n) that this prevents things
> from working. Like setting up routes incorrectly.
>
> --
> Dr. Klaus Espenlaub innotek GmbH, http://www.innotek.de
>
> _______________________________________________
> vbox-users mailing list
> [email protected]
> http://vbox.innotek.de/mailman/listinfo/vbox-users
_________________________________________________________________
_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users