LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 08-03-2003, 06:57 AM   #1
cpravia
LQ Newbie
 
Registered: Aug 2003
Location: Valencia
Distribution: Red Hat 9.0
Posts: 11

Rep: Reputation: 0
Unhappy Analogx in a WIN2000 box and a labtop linux box


Hi, íīve read the threads about throubles with analogx proxy and linux boxes, however, iīvenīt luck with my problem.

I have a win2000 box, with a ADSL connection to Internet. It has 2 network cards

The First One with the real IP, gateway and DNS settings of the ISP.

The Second One with:

IP: 169.254.102.4
NetMask: 255.255.0.0
and without Static Gateway or DNS

Analogx is set in the WIN box:
Proxy Binding
169.254.102.4

Now, my linux box is set:
IP: 169.254.254.187
NetMask: 255.255.0.0
Gateway:169.254.102.4
DNS: the same of the win box (statics IPs)

My problem is that i can ping the win box (169.254.102.4) and the linux box itself, but i can reach another ip outsite of 169.254.102.4. Also i canīt access the DNS or Internet.

I read the solution: change the proxy and use NAT32 insted, but i canīt change anything in the winbox (itīs forbitten).


What can i do ?

thanks
Carlos,
Valencia, Spain






 
Old 08-03-2003, 07:13 AM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Did you assign that 169 IP address yourself on windows?

That's the sort of IP windows automatically assigns to an interface when it hasn't managed to set up networking properly.

You'll have to be an administrator or have appropriate permissions to change network settings in windows 2000

Once you can do that give the windows a static IP 192.168.0.1 subnet mask 255.255.255.0 and the linux 192.168.0.2 subnet mask 255.255.255.0
along with the other settings required taking into account the change in IP's

Have you thought of just using windows internet connection sharing instead? Those 192 IP's will stand good for it.
 
Old 08-03-2003, 08:32 AM   #3
cpravia
LQ Newbie
 
Registered: Aug 2003
Location: Valencia
Distribution: Red Hat 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
>Once you can do that give the windows a static IP 192.168.0.1 >subnet mask 255.255.255.0 and the linux 192.168.0.2 subnet >mask 255.255.255.0
>along with the other settings required taking into account the >change in IP's

Iīm going to change it, in the W2000 box itīs installed the ZoneAlarm Firewall, i have to include those IPs there too ?

Where do i configure the windows internet connection sharing, in the net card on the ADSL or the card on the home network ?

Thanks a lot,

Iīm going to change the IPs
 
Old 08-03-2003, 08:47 AM   #4
cpravia
LQ Newbie
 
Registered: Aug 2003
Location: Valencia
Distribution: Red Hat 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
Unhappy

i change the IPs of the W2000 box (192.168.0.1) and the linux box (192.168.0.2)

Also i turn off the zone alarm fire wall in the W2000.

Reactivate the net card of my linux but iīm canīt reach behond the 192.168.0.1, i recive a Destination Host Unreacheble when i ping some IP from Internet.
 
Old 08-03-2003, 09:11 AM   #5
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
As long as you can ping from the linux machine to the windows one at the moment it's ok.

Basically in windows run the Network Connection wizard again if that's not right just look in windows help, search for ICS as I can't remember the exact place and follow the steps to activate it.

On the Linux one the settings should be

IP 192.168.0.2
Subnet 255.255.255.0
Gateway 192.168.0.1

DNS

Well, you can try 192.168.0.1

If that don't work put in your ISP DNS Servers

Main thing at the moment is to be able to ping somewhere on the internet

You can reactivate Zone Alarm once it's working which I would and put the internal IP's into the trusted zone


It should be the Net Card on the ADSL you share, it's been a long time

Last edited by Looking_Lost; 08-03-2003 at 09:15 AM.
 
Old 08-03-2003, 09:25 AM   #6
cpravia
LQ Newbie
 
Registered: Aug 2003
Location: Valencia
Distribution: Red Hat 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
Hi, itīs a new problem here. In the laptop also a have installed WinXP, so i try to set the same configuration there, but now, i canīt see the W2000 from the XP. I put exacly the same configuration:
IP. 192.168.0.2
Mask: 255.255.255.0
gateway: 192.168.0.1
DNS: 192.168.0.1

Before the changes, the XP box use DHCP (however, the W2000 isnīt a DHCP, so i donīt undestand why it works)

So, ... i want to make it works in WinXP and later in Linux,

I register the IP range in the ZoneAlarm Firewall.

:-/

Thanks for your pacience
 
Old 08-03-2003, 09:41 AM   #7
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Help, turning into www.windowsquestions.org

I assume before then you were connecting to the internet from the laptop via the other windows computer?

If you were and were'nt using Anolog X you were probably already using ICS especially as you say it got it's IP via DHCP. Windows ICS has a DHCP server built in so perhaps that explains that, for the moment though concentrate on the one thing getting linux via windows

If you have ICS up and running you could actually have just set the linux one to get an IP address by DHCP but I went for static as some people seem to have trouble with it and linux (whether self-inflicted I'm not sure)

How is the initial setup linux -> windows doing ? with and without Zone Alarm activated.
 
Old 08-03-2003, 09:42 AM   #8
cpravia
LQ Newbie
 
Registered: Aug 2003
Location: Valencia
Distribution: Red Hat 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
Now the situation is that the WinXP/Linux box can ping the W2000 box (192.168.0.1) but it canīt see Internet.
 
Old 08-03-2003, 09:45 AM   #9
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
When you say it can't see the internet you mean it can't

ping www.yahoo.com

?

or
ping 216.109.125.65

Last edited by Looking_Lost; 08-03-2003 at 09:47 AM.
 
Old 08-03-2003, 09:46 AM   #10
cpravia
LQ Newbie
 
Registered: Aug 2003
Location: Valencia
Distribution: Red Hat 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
yes, i make the ping www.yahoo.com and...
"ping request could not find host www.yahoo.com. Please ckeck the name and try again"
 
Old 08-03-2003, 09:47 AM   #11
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Try doing it by IP address above
 
Old 08-03-2003, 09:50 AM   #12
cpravia
LQ Newbie
 
Registered: Aug 2003
Location: Valencia
Distribution: Red Hat 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
i make
ping 192.168.0.1 : it works, the XP box see the W2000

ping 196.40.17.3 (IP from some server in Costa Rica),
: Request time out. :-/
 
Old 08-03-2003, 10:02 AM   #13
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Back to the beginning.

The settings I'm pretty sure are good for your laptop either booted as linux or windows an issue is dns but that's irrelevant for now.

I'll go through the steps for windows 2000 one as far as I can remember and make a change



On the network card on win 2000 connected to the laptop forget about static changing it to get an IP by DHCP (which might bring us back to why you had 169 range of addresses initially)

Run the Internet Connection Sharing Wizard again

Reboot the computer

Turn off Zone Alarm if it's back on again

if pinging the external IP address from laptop still doesn't work




Open the windows command line and do ipconfig/all
 
Old 08-03-2003, 10:05 AM   #14
cpravia
LQ Newbie
 
Registered: Aug 2003
Location: Valencia
Distribution: Red Hat 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
It Works !!!
The problem was the net card connected to Internet.

I shared that connection (just like you said) and i reactivate the card of the Linux box.

Works in XP and Linux both.
So, the steps are:

1. Configure the Net Card with the Internet connection (ISP give the IPs). Share this connection.

2. Configure the Net Card to the home network with the 192.168.0.1/255.255.255.0 IP and Netmask

3. Configure the clients with the 192.168.0.x / 255.255.255.0 IP and netmask. The gateway and DNS are 192.168.0.1.

And thatīs it

So, now iīm going to set the AlarmZone and see what happen.

Thanks a lot.
 
Old 08-03-2003, 10:12 AM   #15
cpravia
LQ Newbie
 
Registered: Aug 2003
Location: Valencia
Distribution: Red Hat 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
The ZoneAlarm Test fail When I started the Linux box canīt reach Internet.

In the ZoneAlarm i have this configuration:

The Network of the ISP
The Home Network range 192.168.0.0 / 255.255.255.0
The Range 192.168.0.0 - 192.168.0.255
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting Slow Transfer Speed Between Linux Box and Windows Box timswim78 Linux - General 1 10-23-2005 11:45 AM
Linux box with eth0 to cable modem and eth1 to Windows box videojeff Linux - Networking 23 03-03-2005 07:58 PM
Linux box calling a batch script on a windows box to run? Is it possible? joelhop Programming 8 05-17-2004 04:49 PM
Linux Box to access a printer in Win2000 ako Linux - Newbie 5 11-17-2003 12:09 PM
Win2000 can't access Linux Box jonfa Linux - Networking 6 05-06-2002 12:59 PM


All times are GMT -5. The time now is 12:53 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration