Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: From: "Joel Hughes" To: Subject: RE: can CYGWIN have a different IP address to Windows? Date: Tue, 13 Aug 2002 11:19:35 +0100 Message-ID: <003901c242b2$ed112190$0b46a8c0@orac> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <3500515B75D9D311948800508BA379559505E6@EX-LONDON> X-MDRemoteIP: 192.168.70.11 X-Return-Path: joel AT jojet DOT com X-MDaemon-Deliver-To: cygwin AT cygwin DOT com oh well! its good neds that you have got this working Vince - this gives me hope (obviously I'm running Server IIS5 though). How did you add your IP addresses? Why did you add 2? My first approach was to simply add a new IP to the advanced tab of the network device. (My laptop is running a wireless IP card which I'm hoping is NOT bringing added problems!) I created another IP 192.168.70.12 on the advanced TCP/IP tab of my wireless network connection. Could then ping this new IP address. I then entered 192.168.70.12 as the bind & listen address for cygwins Apache in httpd.conf. WHen I start apache (/usr/sbin/apachectl start) I get the following warning message f:\cygwin\usr\sbin\httpd.exe: *** unable to remap f:\cygwin\lib\apache\mod_vhost _alias.dll to same address as parent -- 0x890000 f:\cygwin\usr\sbin\httpd.exe: *** unable to remap f:\cygwin\lib\apache\mod_vhost _alias.dll to same address as parent -- 0x890000 f:\cygwin\usr\sbin\httpd.exe: *** unable to remap f:\cygwin\lib\apache\mod_vhost _alias.dll to same address as parent -- 0x890000 I am unsure what this means and a net search hasn't really shed any light. All my IIS websites are running of IP1 192.168.70.11 (and this is working). I have stopped the laptops IIS services just to see if I can get cygwin apache running but if you try to browse 192.168.70.12 the browser just sits there. If you try to telnet to 192.168.70.12 80; that also just sits there and never returns anything. Lassi mentioned an interesting option with an MS LOOPBACK device which I have installed but, in light of your email, if think it may not be needed. I was getting the same remap errors anyway. Any body got any ideas? regards Joel -----Original Message----- From: Vince Hoffman [mailto:Vince DOT Hoffman AT uk DOT circle DOT com] Sent: 13 August 2002 10:45 To: 'joel AT jojet DOT com'; cygwin AT cygwin DOT com Subject: RE: can CYGWIN have a different IP address to Windows? hmm i just tried this on windows 2K professional just for curiosity and can access both webservers fine on port 80. (just added the IPs 10.20.0.19 and 10.20.0.10, bound the PWS website to 10.20.0.19, added BindAddress 10.20.0.10 to httpd.conf and it worked like a dream.) i know this isnt helpful other that to let you know it can be done, but i didnt have to do anything special so it must be something in your config. Possibly IIS being a pain where PWS isnt ? -----Original Message----- From: Joel Hughes [mailto:joel AT jojet DOT com] Sent: 13 August 2002 08:51 To: cygwin AT cygwin DOT com Subject: RE: can CYGWIN have a different IP address to Windows? Hi Max, the issue here is serving web pages. There is already a port 80 web server on the laptop (IIS) and there is obviously apache in cygwin. I need cygwin because I need a *nix like dev env for a certain web site. I don't really want to run cygwins apache on a different port. I need also to run apache in a nix env rather than the win32 install. Obviously I can't run both web servers on the same port on the same IP. Bruce came up with an interesting idea of giving the laptop 2 IPs and then specify the two different IPs respectively in the two different webservers. The desired effect is not there yet - IIS still thinks it will serve off the new IP (IP2). Even thought all websites on IIS (& FTP & SMTP) are running bound to IP1, the IIS Master service still thinks its bound to all applicable IPs (this is where I think the issue lies). If I can force IIS to be more selective with its bound IP choice then I can get this done. Another more roundabout method (if I can't get IIS to ignore IP2) would be to make the CYGWIN apache the main port 80 server and run IIS servers on non-standard ports (& then use APache to proxy on). However, I feel this may fall with the same problem as above - the default master web server properties are hardcoded IP All Unassigned and Port 80. If I HAVE to amend the apache web application to run off a non-standard port in dev then I will but I was searching for a more elegent solution which allowed me to keep the dev & live envs more similar. joel -----Original Message----- From: Max Bowsher [mailto:maxb AT ukf DOT net] Sent: 12 August 2002 23:31 To: joel AT jojet DOT com; cygwin AT cygwin DOT com Subject: Re: can CYGWIN have a different IP address to Windows? Joel Hughes wrote: > Hi, > I have CYGWIN installed on my Win2K server laptop. > > Can I assign CYGWIN a different IP address to that of my laptop? Cygwin != VMware, or anything like that. So, really, your question is more or less equivalent to 'Can I assign Internet Explorer and Outlook Express different IP addresses when they run on the same computer?' Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/