Solved

Lan withing a Lan

Posted on 2003-11-26
17
649 Views
Last Modified: 2010-03-19
I have 2 winXP PRO machines.PC 1 has 2 NIC:
NIC 1: Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.10.175
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.10.1

NIC 2:Ethernet adapter Local Area Connection 2:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 10.0.0.1
        Subnet Mask . . . . . . . . . . . : 255.0.0.0
        Default Gateway . . . . . . . . . :

NIC has internet connection through gateway pc.The problem is that i have shared my internet connection with Wingate for a long time and they worked fine with the previous cable net.But since i got this new cable net last week i have been struggling for making the PC2 use the internet through PC1 but to no avail.The settings for NIC1 did change as the new cable had different settings but rest remains all intavt so it shouldn`t cause problems with home entworking NIC2. Both PCs can ping/share each other but PC2 canNOT use its internet ?! i thought the problem was with WINXP ,formatted reinstalled but still the same.. so i thuoght wingate might be cauing problems,reinstalled .. nothing happened.. then decided to give Winproxy and ICS a try.. ICS says  "An error occured during configuration of the network on this computer" "You can configure your network manually,or you can run the wizard again with different settings"
I tried ICS with many diff. settings but no use.Whereas the winproxy would say: "winproxy was unable to communicate with the internet"
although i have the settings right! NIC1 with internet setup as EXternal and NIC2 as internal for home network.The Client PC2 has configuration:
IP: 10.0.0.2
Mask: 255.0.0.0
Gateway: 10.0.0.1
and the Internet explorer setup with right ports and proxy.
When the request is sent the Server PC1 proxy receives the request but doesnt send any data back..I think now that the problem lies with some Routing . here is the Route data if it could help:
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x3 ...00 ee b1 01 10 6e ...... Realtek RTL8139/810x Family Fast Ethernet NIC -
Packet Scheduler Miniport
0x20002 ...00 60 94 e3 0f b3 ...... IBM Netfinity 10/100 Ethernet Adapter - Pack
et Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     192.168.10.1  192.168.10.175       20
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
     192.168.10.0    255.255.255.0   192.168.10.175  192.168.10.175       20
   192.168.10.175  255.255.255.255        127.0.0.1       127.0.0.1       20
   192.168.10.255  255.255.255.255   192.168.10.175  192.168.10.175       20
        224.0.0.0        240.0.0.0   192.168.10.175  192.168.10.175       20
  255.255.255.255  255.255.255.255   192.168.10.175           20002       1
  255.255.255.255  255.255.255.255   192.168.10.175  192.168.10.175       1
Default Gateway:      192.168.10.1
===========================================================================
Persistent Routes:
  None



I dont know where the problem lies.. I have almost given up.. searching many places .. I REALLY NEED help me. Thankx in advance !
0
Comment
Question by:fahadlala
  • 12
  • 5
17 Comments
 
LVL 5

Expert Comment

by:mapledrums
ID: 9828532
I suggest you configure PC2 to the same IP subnet as PC1, ie. 192.168.10.x. Btw, did you enable IP routing on PC1 ?
0
 
LVL 5

Expert Comment

by:mapledrums
ID: 9828561
Ops. Sorry. Ignore the previous statement.

You have to add in a route for your 10.x.x.x network on PC1. Do a "route add 10.0.0.0 mask 255.0.0.0 10.0.0.1 metric 20 -p".
0
 
LVL 5

Expert Comment

by:mapledrums
ID: 9828583
And:

route add 10.0.0.1 mask 255.255.255.255 127.0.0.1 metric 20 -p
route add 10.255.255.255 mask 255.255.255.255 10.0.0.1 metric 20 -p
0
 

Author Comment

by:fahadlala
ID: 9829339
These routes are already added.

===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     192.168.10.1  192.168.10.175       1
         10.0.0.0        255.0.0.0         10.0.0.1        10.0.0.1       20
         10.0.0.1  255.255.255.255        127.0.0.1       127.0.0.1       20
   10.255.255.255  255.255.255.255         10.0.0.1        10.0.0.1       20
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
     192.168.10.0    255.255.255.0   192.168.10.175  192.168.10.175       20
   192.168.10.175  255.255.255.255        127.0.0.1       127.0.0.1       20
   192.168.10.255  255.255.255.255   192.168.10.175  192.168.10.175       20
        224.0.0.0        240.0.0.0         10.0.0.1        10.0.0.1       20
        224.0.0.0        240.0.0.0   192.168.10.175  192.168.10.175       20
  255.255.255.255  255.255.255.255         10.0.0.1        10.0.0.1       1
  255.255.255.255  255.255.255.255   192.168.10.175  192.168.10.175       1
Default Gateway:      192.168.10.1
===========================================================================
Persistent Routes:
  None

I guess that the PC1 needs to bridge my cable internet (NIC1) and home LAN(NIC2) connections , but when i try to do so my computer reboots.Could there be some other problem ? Really appreciate your quick response.
0
 
LVL 5

Expert Comment

by:mapledrums
ID: 9829433
Reboots ? After you add in the routes it reboot ? Did you enable IP routing ?
0
 
LVL 5

Expert Comment

by:mapledrums
ID: 9829460
Try pinging all the PCs/Servers in the different network segments & see if they can reach each other. If you have any firewalls, disable them first.
0
 

Author Comment

by:fahadlala
ID: 9829499
How do i enable ip routing ? btw i did not add these routes after you told they were already present ,and yes ,all the PCs can ping each other :
PC1 : NIC1 192.168.10.175 can ping the cable gateway and other pcs on that workgroup and even access shares ;
PC1: NIC2  10.0.0.1 can ping the pc at home with 10.0.0.2 ip and access its shares;
PC2 (10.0.0.2) can also ping PC1 and access its shares..
The problem is with sharing the internet connection.. although the proxy server Wingate receives connection requests from the client PC2 it does ot send back data to it... resulting in page not found (refresh) error of browser..
I also tred winproxy trial ver. which also receives the connection requests but simply does not send data back to client pcs.
0
 
LVL 5

Expert Comment

by:mapledrums
ID: 9829525
You enable routing by going to Services & starting Routing & Remote Access. Try not to use Winproxy & see if it works. If not, then try it with Winproxy.

From what I remember, if you're using a proxy software, the application will do the necessary changes on the machine for you. Do you have the latest version of Winproxy for your OS ?
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 5

Expert Comment

by:mapledrums
ID: 9829533
I'm going off. Have an appointment. If it's urgent, post a message to point to this URL: "http://www.experts-exchange.com/Networking/Q_20809592.html" & put "Urgent" in your Subject. Other experts will be able to help & point out something if I've overlooked it.
0
 
LVL 5

Expert Comment

by:mapledrums
ID: 9830231
Any luck on this so far ?
0
 

Author Comment

by:fahadlala
ID: 9830299
I enabled the Routing  and then i removed the proxy and bridged both my LAN connections.It worked!
But i want to be able to use a private LAN i.e. a separate 10.0.0.xx subnet for my home network and not the same as 192.168.10.xx my cable network... I am still trying.. i am getting kindof sure now that its not the routing or the proxy server but there has to be something else wrong ..
0
 
LVL 5

Expert Comment

by:mapledrums
ID: 9833144
When you configure your internal network to 10.0.0.x subnet, what error messages do you receive ? Are you able to ping PC1 from PC2 ? If you're able to, try pinging an Internet IP address & do a traceroute from a command prompt of PC1 to some Internet host & post the result here for us to check. I suspect it's a routing issue.

Another alternative is to do away with Winproxy altogether, configure all NICs to accept DHCP, stop Routing & Remote Access & enable Internet Connection Sharing on PC1. This step is more straightforward as the Windows OS will handle the necessary changes without "user" intervention.

Let us know how it goes.
0
 

Author Comment

by:fahadlala
ID: 9834233
ping pc1 from pc2 and pc2 from pc1 works perfect and i cant even share/browse both pcs..
i found something strange .. take a look at this:
>tracert 192.168.10.1

Tracing route to SERVER2 [192.168.10.1]
over a maximum of 30 hops:

  1  Transmit error: code 65.

Trace complete.
E:\Documents and Settings\Fahad>ping 192.168.10.1

Pinging 192.168.10.1 with 32 bytes of data:

Reply from 192.168.10.1: bytes=32 time<1ms TTL=64
Reply from 192.168.10.1: bytes=32 time<1ms TTL=64
Reply from 192.168.10.1: bytes=32 time<1ms TTL=64
Reply from 192.168.10.1: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.10.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms


this is supposed to be my gateway cablenet server and it on teh same lan as i am that is 192.168.10.175

I think it should be max 1 hops??
and also when i trace my own ip:

>tracert 192.168.10.175

Tracing route to pegasus [192.168.10.175]
over a maximum of 30 hops:

  1  Transmit error: code 65.
E:\Documents and Settings\Fahad>ping pegasus

Pinging pegasus [192.168.10.175] with 32 bytes of data:

Reply from 192.168.10.175: bytes=32 time<1ms TTL=128
Reply from 192.168.10.175: bytes=32 time<1ms TTL=128
Reply from 192.168.10.175: bytes=32 time<1ms TTL=128
Reply from 192.168.10.175: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.10.175:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms


what is this?? have alook at my routes once again :

===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     192.168.10.1  192.168.10.175       20
         10.0.0.0        255.0.0.0         10.0.0.1        10.0.0.1       20
         10.0.0.1  255.255.255.255        127.0.0.1       127.0.0.1       20
   10.255.255.255  255.255.255.255         10.0.0.1        10.0.0.1       20
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
     192.168.10.0    255.255.255.0   192.168.10.175  192.168.10.175       20
   192.168.10.175  255.255.255.255        127.0.0.1       127.0.0.1       20
   192.168.10.255  255.255.255.255   192.168.10.175  192.168.10.175       20
        224.0.0.0        240.0.0.0         10.0.0.1        10.0.0.1       20
        224.0.0.0        240.0.0.0   192.168.10.175  192.168.10.175       20
  255.255.255.255  255.255.255.255         10.0.0.1        10.0.0.1       1
  255.255.255.255  255.255.255.255   192.168.10.175  192.168.10.175       1
Default Gateway:      192.168.10.1
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
         10.0.0.0        255.0.0.0         10.0.0.1      20
         10.0.0.1  255.255.255.255        127.0.0.1      20
   10.255.255.255  255.255.255.255         10.0.0.1      20


I hope u Could solve this problem ... thankx for the help
Trace complete.




>tracert 10.0.0.1

Tracing route to PEGASUS [10.0.0.1]
over a maximum of 30 hops:

  1  Transmit error: code 65.

Trace complete.
0
 
LVL 5

Accepted Solution

by:
mapledrums earned 500 total points
ID: 9839535
Do you have Zone Alarm installed on any PC ?

Have a look at this: http://support.microsoft.com/default.aspx?scid=kb;en-us;316414
0
 
LVL 5

Expert Comment

by:mapledrums
ID: 9883496
Even though it's for ping, it applies to traceroute as well since both uses ICMP.
0
 
LVL 5

Expert Comment

by:mapledrums
ID: 9888132
Did the above solve your problem ? So it was the firewall then.

Thanks for the points.
0
 

Author Comment

by:fahadlala
ID: 9891398
Well, actually no..The removal of zone alarm sure did solve half of my network problems.. like traceroute errors.. ping errors and NOT being able to see network PCs errors.. but still i can NOT share my internet connection.. Hence i will be getting another IP from my ISP and Pay extra money for it :(
But you deserved the points as you tried alot.. :) thankx
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

What is IRC? IRC (Internet Relay Chat) is a form of communication between multiple users. It is available freely to anyone with inernet access. IRC is a great way to communicate with others e.g. There is an IRC channel for Ubuntu Linux, which is fo…
This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now