From: Mike <dis...@bo...> - 2008-03-25 21:00:15
|
Hi, I've been trying to get the 'private network' design, as shown in the Network Howto (section 'Keep Windows off the network -- surf via Linux') to work. On my pc with wired internet connection it works like a charm, but now I'm trying to set it up on a pc with a wireless connection. Tried all kind of variants (w/wo loopback, taptun/pcap-bridge, various IP configurations, w/wo promisc) but did not succeed to get it to work. OS: WinXP pro and Archlinux on Colinux (0.7.2) I connect to internet through a router using wep encryption and fixed IP adresses. The host has a wifi card (ZyDas zd1211, usb), -MAC 00:11:E2:00:EA:93 -ip 192.168.2.23 (name PhysicalNetwork) -gw 192.168.2.254 -pcap-bridge 192.168.2.24 (Colinux-TAP-external-network) -taptun 192.168.100.1 (Colinux-TAP-guest-network) The guest (Archlinux, runs squid),has eth0: 192.168.2.25 (name Colinux-TAP-external-network) eth1: 192.168.100.2 (name Colinux-TAP-guest-network) The connection to the guest through 192.168.100.1-192.168.100.2 works. Now the simple question is: how do I get it to work? More precise: -When I use a loopback adapter in windows, what would the design look like (e.g. which IP addresses and gw's I should use ). What type of bridge I should use (the ICS or bridge) between PhysicalNetwork and Colinux-TAP-host? -Can I also use pcap-bridge adapter on the client, to inject directly into the PhysicalNetwork adapter, should I, in that case, install the wireless extensions (iwconfig, etc) in the guest, or would the connection use the wireless-settings of the host? Should I provide a MAC address for Colinux-TAP-host (a unique one or a copy of the PhysicalNetwork adapter) Lots of questions, but I would love to get this to work... Thanks Mike |