Networking Forums

Networking Forums > Computer Networking > Windows Networking > Missing routing in LAN-WAN routing

Reply
Thread Tools Display Modes

Missing routing in LAN-WAN routing

 
 
mc
Guest
Posts: n/a

 
      12-02-2008, 12:29 PM
Hello,
I have 3 Class C private network:
LAN A: 192.168.0.0 Mask 255.255.255.0
LAN B: 192.168.99.0 Mask 255.255.255.0
LAN C: 192.168.100.0 Mask 255.255.255.0

and a WAN router (to the internet) on IP 192.168.0.254

I configured 3 PC (one for each network) ad a Win2k3 Server with 3 NIC
as router as follow:
Win2k3 NIC A: IP 192.168.0.196 Mask 255.255.255.0 Gateway
192.168.0.254
Win2k3 NIC B: IP 192.168.99.1 Mask 255.255.255.0 No Gateway
Win2k3 NIC C: IP 192.168.100.1 Mask 255.255.255.0 No Gateway

PCA on LAN A: IP 192.168.0.86 Mask 255.255.255.0 Gateway 192.168.0.254
PCB on LAN B: IP 192.168.99.197 Mask 255.255.255.0 Gateway
192.168.99.1
PCC on LAN C: IP 192.168.100.55 Mask 255.255.255.0 Gateway
192.168.100.1

Then I configured RRAS on Win2k3 adding NAT and RIP protocols to
support LAN to LAN routing and internet access.

All is OK but PCA can only ping internet hosts while PCB and PCC can
ping anywhere. Pinging PCB or PCC from PCA always return "Timeout".

I know that having internat gateway on the same Lan as PCA it is not
the best configuration but Win2k3, acting as router, for sure knows
the way to route ip packets from PCA to PCB/PCC...

Anyone knows where is the missing and/or mistake?

Regards



 
Reply With Quote
 
 
 
 
Robert L. \(MS-MVP\)
Guest
Posts: n/a

 
      12-02-2008, 01:25 PM
Posting the routing table here may help.

--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com
"mc" <(E-Mail Removed)> wrote in message
news:6098d781-d2f1-4fa7-b9d4-(E-Mail Removed)...
> Hello,
> I have 3 Class C private network:
> LAN A: 192.168.0.0 Mask 255.255.255.0
> LAN B: 192.168.99.0 Mask 255.255.255.0
> LAN C: 192.168.100.0 Mask 255.255.255.0
>
> and a WAN router (to the internet) on IP 192.168.0.254
>
> I configured 3 PC (one for each network) ad a Win2k3 Server with 3 NIC
> as router as follow:
> Win2k3 NIC A: IP 192.168.0.196 Mask 255.255.255.0 Gateway
> 192.168.0.254
> Win2k3 NIC B: IP 192.168.99.1 Mask 255.255.255.0 No Gateway
> Win2k3 NIC C: IP 192.168.100.1 Mask 255.255.255.0 No Gateway
>
> PCA on LAN A: IP 192.168.0.86 Mask 255.255.255.0 Gateway 192.168.0.254
> PCB on LAN B: IP 192.168.99.197 Mask 255.255.255.0 Gateway
> 192.168.99.1
> PCC on LAN C: IP 192.168.100.55 Mask 255.255.255.0 Gateway
> 192.168.100.1
>
> Then I configured RRAS on Win2k3 adding NAT and RIP protocols to
> support LAN to LAN routing and internet access.
>
> All is OK but PCA can only ping internet hosts while PCB and PCC can
> ping anywhere. Pinging PCB or PCC from PCA always return "Timeout".
>
> I know that having internat gateway on the same Lan as PCA it is not
> the best configuration but Win2k3, acting as router, for sure knows
> the way to route ip packets from PCA to PCB/PCC...
>
> Anyone knows where is the missing and/or mistake?
>
> Regards
>
>
>


 
Reply With Quote
 
Alister
Guest
Posts: n/a

 
      12-02-2008, 01:51 PM
On Dec 2, 1:29 pm, mc <wanef...@gmail.com> wrote:
> Hello,
> I have 3 Class C private network:
> LAN A: 192.168.0.0 Mask 255.255.255.0
> LAN B: 192.168.99.0 Mask 255.255.255.0
> LAN C: 192.168.100.0 Mask 255.255.255.0
>
> and a WAN router (to the internet) on IP 192.168.0.254
>
> I configured 3 PC (one for each network) ad a Win2k3 Server with 3 NIC
> as router as follow:
> Win2k3 NIC A: IP 192.168.0.196 Mask 255.255.255.0 Gateway
> 192.168.0.254
> Win2k3 NIC B: IP 192.168.99.1 Mask 255.255.255.0 No Gateway
> Win2k3 NIC C: IP 192.168.100.1 Mask 255.255.255.0 No Gateway
>
> PCA on LAN A: IP 192.168.0.86 Mask 255.255.255.0 Gateway 192.168.0.254
> PCB on LAN B: IP 192.168.99.197 Mask 255.255.255.0 Gateway
> 192.168.99.1
> PCC on LAN C: IP 192.168.100.55 Mask 255.255.255.0 Gateway
> 192.168.100.1
>
> Then I configured RRAS on Win2k3 adding NAT and RIP protocols to
> support LAN to LAN routing and internet access.
>
> All is OK but PCA can only ping internet hosts while PCB and PCC can
> ping anywhere. Pinging PCB or PCC from PCA always return "Timeout".
>
> I know that having internat gateway on the same Lan as PCA it is not
> the best configuration but Win2k3, acting as router, for sure knows
> the way to route ip packets from PCA to PCB/PCC...
>
> Anyone knows where is the missing and/or mistake?
>
> Regards


Looking at the information you provided the gateway on PCA should be
pointing at 192.168.0.196
and not 192.168.0.254 as you have it.

HTH

Alister
 
Reply With Quote
 
mc
Guest
Posts: n/a

 
      12-02-2008, 02:09 PM
I already tried to change efault GW on PCA from 192.168.0.254 to
win2k3 router but nothing had changed.
I also noticed that deleting NAT protocol from RRAS of win2k3 PCA can
ping PCB/PCC (but, of course, PCB and PCC cannot reach internet
anymore...)
Anyway here are routing table of both PCA and win2k3 router:

PCA:
Route attive:
Indirizzo rete Mask Gateway Interfac.
Metric
0.0.0.0 0.0.0.0 192.168.0.254
192.168.0.86 1
127.0.0.0 255.0.0.0 127.0.0.1
127.0.0.1 1
192.168.0.0 255.255.255.0 192.168.0.86
192.168.0.86 20
192.168.0.86 255.255.255.255 127.0.0.1
127.0.0.1 20
192.168.0.255 255.255.255.255 192.168.0.86
192.168.0.86 20
192.168.13.0 255.255.255.0 192.168.13.1
192.168.13.1 20
192.168.13.1 255.255.255.255 127.0.0.1
127.0.0.1 20
192.168.13.255 255.255.255.255 192.168.13.1
192.168.13.1 20
192.168.99.0 255.255.255.0 192.168.0.196
192.168.0.86 1
192.168.100.0 255.255.255.0 192.168.0.196
192.168.0.86 1
192.168.227.0 255.255.255.0 192.168.227.1
192.168.227.1 20
192.168.227.1 255.255.255.255 127.0.0.1
127.0.0.1 20
192.168.227.255 255.255.255.255 192.168.227.1
192.168.227.1 20
224.0.0.0 240.0.0.0 192.168.0.86
192.168.0.86 20
224.0.0.0 240.0.0.0 192.168.13.1
192.168.13.1 20
224.0.0.0 240.0.0.0 192.168.227.1
192.168.227.1 20
255.255.255.255 255.255.255.255 192.168.0.86
192.168.0.86 1
255.255.255.255 255.255.255.255 192.168.13.1
192.168.13.1 1
255.255.255.255 255.255.255.255 192.168.227.1
192.168.227.1 1
Gateway predefinito: 192.168.0.254

Win2k3
Active Routes:
Network Destination Netmask Gateway Interface
Metric
0.0.0.0 0.0.0.0 192.168.0.254
192.168.0.196 10
127.0.0.0 255.0.0.0 127.0.0.1
127.0.0.1 1
192.168.0.0 255.255.255.0 192.168.0.196
192.168.0.196 10
192.168.0.196 255.255.255.255 127.0.0.1
127.0.0.1 10
192.168.0.255 255.255.255.255 192.168.0.196
192.168.0.196 10
192.168.99.0 255.255.255.0 192.168.99.1
192.168.99.1 10
192.168.99.1 255.255.255.255 127.0.0.1
127.0.0.1 10
192.168.99.255 255.255.255.255 192.168.99.1
192.168.99.1 10
192.168.100.0 255.255.255.0 192.168.100.1
192.168.100.1 10
192.168.100.1 255.255.255.255 127.0.0.1
127.0.0.1 10
192.168.100.255 255.255.255.255 192.168.100.1
192.168.100.1 10
224.0.0.0 240.0.0.0 192.168.0.196
192.168.0.196 10
224.0.0.0 240.0.0.0 192.168.99.1
192.168.99.1 10
224.0.0.0 240.0.0.0 192.168.100.1
192.168.100.1 10
255.255.255.255 255.255.255.255 192.168.0.196
192.168.0.196 1
255.255.255.255 255.255.255.255 192.168.99.1
192.168.99.1 1
255.255.255.255 255.255.255.255 192.168.100.1
192.168.100.1 1
Default Gateway: 192.168.0.254
 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      12-02-2008, 10:49 PM


"mc" <(E-Mail Removed)> wrote in message
news:6098d781-d2f1-4fa7-b9d4-(E-Mail Removed)...
> Hello,
> I have 3 Class C private network:
> LAN A: 192.168.0.0 Mask 255.255.255.0
> LAN B: 192.168.99.0 Mask 255.255.255.0
> LAN C: 192.168.100.0 Mask 255.255.255.0
>
> and a WAN router (to the internet) on IP 192.168.0.254
>
> I configured 3 PC (one for each network) ad a Win2k3 Server with 3 NIC
> as router as follow:
> Win2k3 NIC A: IP 192.168.0.196 Mask 255.255.255.0 Gateway
> 192.168.0.254
> Win2k3 NIC B: IP 192.168.99.1 Mask 255.255.255.0 No Gateway
> Win2k3 NIC C: IP 192.168.100.1 Mask 255.255.255.0 No Gateway
>
> PCA on LAN A: IP 192.168.0.86 Mask 255.255.255.0 Gateway 192.168.0.254
> PCB on LAN B: IP 192.168.99.197 Mask 255.255.255.0 Gateway
> 192.168.99.1
> PCC on LAN C: IP 192.168.100.55 Mask 255.255.255.0 Gateway
> 192.168.100.1
>
> Then I configured RRAS on Win2k3 adding NAT and RIP protocols to
> support LAN to LAN routing and internet access.
>
> All is OK but PCA can only ping internet hosts while PCB and PCC can
> ping anywhere. Pinging PCB or PCC from PCA always return "Timeout".
>
> I know that having internat gateway on the same Lan as PCA it is not
> the best configuration but Win2k3, acting as router, for sure knows
> the way to route ip packets from PCA to PCB/PCC...
>
> Anyone knows where is the missing and/or mistake?
>
> Regards
>
>
>


The PC on the 192.168.0 subnet is on the "public" side of the NAT
router. It cannot connect to the machines on the "private" side of the LAN,
even though they can connect to it.

NAT is a one-way address translation process by design. That is how it
should work. If you want three networks which can route they must all be
inside the NAT router. You would need four NICs in the router - one for each
private LAN and one for the "public" (192.168.0 ) network.


 
Reply With Quote
 
mc
Guest
Posts: n/a

 
      12-03-2008, 03:22 PM
Thanks a lot. Now I understand.
This was due since I have an internet gateway at a fixed ip
192.168.0.254 (my company LAN) and PCA is on the same phisical net
(LAN A). So LAN A and NAT router had to be on the same network.
To fix this, I broken LAN A in two networks from the win2k3 poin of
view, adding another NIC (192.168.0.40) to it (this was not a problem
at all since I am doing these test on virtual machines). Now I have
LAN A as 192.168.0.0 Mask 255.255.255.128 and WAN (NAT router) as
192.168.0.80 Mask 255.255.255.128. Then I have set default gateway of
PCA to LAN A interface of win2k3 (192.168.0.40)
Now any LAN can pin any LAN and all LANs can ping internet.

Best Regards
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing and Remote Access missing network card aconti Windows Networking 1 02-11-2009 01:26 PM
Win2003 R2 server just stops routing traffic until I restart Routing service Martijn Tonies Windows Networking 8 11-03-2008 11:05 AM
I not find the NAT/Basic Firewall under Routing\IP Routing mtczx232@yahoo.com Windows Networking 2 12-16-2006 04:08 PM
W2K3 Routing & Remote Access Missing PPTP Miniports Alvaro Soto Windows Networking 6 08-09-2006 04:52 AM
IP routing bdo Broadband Hardware 3 12-31-2004 05:53 PM



1 2 3 4 5 6 7 8 9 10 11