From: Ian L. <Ian...@mq...> - 2004-02-01 07:18:23
|
Ok, I think I see how this TAP interface works ... its equivalent to a windows interface, a crossover cable, and a linux interface all rolled into one. It looks like windows (XP Pro) doesn't do forwarding by default - without Internet Connection sharing. Funny thing is that Windows looks like it will only do connection sharing such that the internal network interface is 192.168.0.1, which is what my "external" network is on this host ;-) Aint gunna happen. No matter. With an external interface of 192.168.0.x/24 and an internal interface (TAP) of 192.168.1.1/24 and a colinux interface of 192.168.1.2/24 I can ping from colinux to windows, and from windows to colinux. colinux times out going anywhere else due to a suspected lack of forwarding in windows. I still get a "sendto" error if I try to ping the colinux interface address from colinux. But I'm still pretty happy with what I'm seeing. Is it possible to configure the TAP interface to be on the same network as the ethernet interface? I didn't get very far doing this (kepy coming up with duplicate IP errors, when there wasn't another host using that address prior to TAP configuration). ----- Original Message ----- >From: "Dan Aloni" <da...@gm...> >To: "Nigel Spowage" <Nig...@BT...> >Subject: Re: [coLinux-devel] networking question >Date: Sun, 01 Feb 2004 07:35:20 +0200 > > On Sat, Jan 31, 2004 at 11:29:54PM +0000, Nigel Spowage wrote: > > > the colinux instance think's it's interface is up, and is > > configured the private ip of 192.168.0.40. pinging this ip > > causes ping to report: > > ping: sendto: Invalid argument > > ping: wrote 192.168.0.40 64 chars, ret=-1 > > > > have i missed a configuration step of the Tap-win32 driver ? > > In Windows, if you configure an IP address for your TAP-Win32 > driver it would fix this. 192.168.0.1 netmask 255.255.255.0. > > Or optionally, if you enable Internet Connection Sharing this > subnet will automatically be used and you will able to access > the Internet from within coLinux. (apt-get !). > > -- > Dan Aloni > da...@gm... > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > coLinux-devel mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-devel > -- Ian Latter Internet and Networking Security Officer Macquarie University Meet me at the Australian Unix and open systems User Group (AUUG) Security Symposium; 2004 http://www.auug.org.au/events/2004/security/ |