Enable IP Routing in Vista?

B

benoy

I have enbabled IP Routing on my multihomed Vista Desktop, but unable
to get it to work.
I am unable to connect from 192.168.5.3 (XP Laptop) to 192.168.1.6
(Vista Desktop #2)
Connect, as in ping, RDP, etc.

Following make my network.
192.168.5.1 (Netgear router #1 connected to internet via ISP #1)
192.168.5.3 (XP Laptop)
192.168.5.5 (Vista Desktop #1, multihomed) wired connection
192.168.1.10 (Vista Desktop #1, multihomed) wireless connection
192.168.1.1 (Netgear router #2 connected to internet via ISP #2)
192.168.1.5 (Vista Desktop #2) wired connection
On Netgear #1, added static route to 192.168.1.0 via 192.168.5.5
Firewall disabled on Vista and XP Laptop/Desktops

My Vista Ultimate desktop #1 connects to two networks
a) 192.168.5.0 (wired) through interface 192.168.5.5
b) 192.168.1.0 (wireless) through interface 192.168.1.10

I enabled IP Routing by updating the registry key below on Vista
Desktop #1
HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\Services\Tcpip
\Parameters
subkey : "IPEnableRouter" entry to 1
and rebooted

C:\Users\Benoy George>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : VistaDesk1
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : No

Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8187B Wireless
802.11g 54Mbps
USB 2.0 Network Adapter
Physical Address. . . . . . . . . : 00-14-D1-**-**-**
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::8944:8ce:****:****
%**(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.10(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Saturday, September 01, 2007
1:02:59 AM
Lease Expires . . . . . . . . . . : Thursday, October 10, 2143
4:09:59 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 31877****
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network
Connection
Physical Address. . . . . . . . . : 00-11-11-**-**-**
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b461:bbb9:****:****
%*(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.5.5(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Saturday, September 01, 2007
1:02:58 AM
Lease Expires . . . . . . . . . . : Thursday, October 10, 2143
4:09:59 PM
Default Gateway . . . . . . . . . : 192.168.5.1
DHCP Server . . . . . . . . . . . : 192.168.5.1
DHCPv6 IAID . . . . . . . . . . . : 20133****
DNS Servers . . . . . . . . . . . : 74.128.0.100
74.128.0.101
NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter Local Area Connection* 6:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-
Interface
Physical Address. . . . . . . . . : 02-00-54-**-**-**
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 7:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{4D98B4BA-1093-49F7-
B964-3555C899****}
Physical Address. . . . . . . . . : 00-00-00-00-00-**-**-**
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

The following works fine.
1. Ping 192.168.5.5 (Desktop #1) from 192.168.5.3 (XP Laptop)
2. Ping 192.168.1.10 (Desktop #1) from 192.168.5.3 (XP Laptop)
3. Ping 192.168.1.5 (Desktop #2) from 192.168.1.10 (Desktop #1)

Following FAILS.
1. Ping 192.168.1.5 (Desktop #2) from 192.168.5.3 (XP Laptop)

Following are the trace results from 192.168.5.3 (XP Laptop)

C:\>tracert 192.168.1.10

Tracing route to 192.168.1.10 over a maximum of 30 hops

1 1 ms 1 ms 1 ms 192.168.5.1
2 4 ms 1 ms 1 ms 192.168.5.1
3 * 85 ms 1 ms 192.168.1.10

Trace complete.

C:\>tracert 192.168.1.5

Tracing route to 192.168.1.5 over a maximum of 30 hops

1 1 ms 1 ms 1 ms 192.168.5.1
2 2 ms 1 ms 1 ms 192.168.5.1
3 18 ms * * 192.168.5.5
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 * * * Request timed out.
12 * * ^C
C:\>

What am I doing wrong?

Thanks,
Benoy George
 
B

benoy

Following is the route print result from 192.168.5.3 (XP Laptop)
C:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 12 3f ** ** ** ...... Broadcom 440x 10/100 Integrated
Controller - Packet Scheduler Miniport
0x3 ...00 13 ce ** ** ** ...... Intel(R) PRO/Wireless 2200BG Network
Connection - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface
Metric
0.0.0.0 0.0.0.0 192.168.5.1
192.168.5.3 25
127.0.0.0 255.0.0.0 127.0.0.1
127.0.0.1 1
192.168.1.5 255.255.255.255 192.168.5.5
192.168.5.3 1
192.168.1.10 255.255.255.255 192.168.5.5
192.168.5.3 1
192.168.5.0 255.255.255.0 192.168.5.3
192.168.5.3 25
192.168.5.3 255.255.255.255 127.0.0.1
127.0.0.1 25
192.168.5.255 255.255.255.255 192.168.5.3
192.168.5.3 25
224.0.0.0 240.0.0.0 192.168.5.3
192.168.5.3 25
255.255.255.255 255.255.255.255 192.168.5.3
192.168.5.3 1
255.255.255.255 255.255.255.255 192.168.5.3
2 1
Default Gateway: 192.168.5.1
===========================================================================
Persistent Routes:
None

Thanks,
Benoy George
 
R

Robert L [MVP - Networking]

From the routing table, you can't access the 192.168.1.x because every traffic goes to the router 192.168.5.1. Post back with the result of ipconfig 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
Following is the route print result from 192.168.5.3 (XP Laptop)
C:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 12 3f ** ** ** ...... Broadcom 440x 10/100 Integrated
Controller - Packet Scheduler Miniport
0x3 ...00 13 ce ** ** ** ...... Intel(R) PRO/Wireless 2200BG Network
Connection - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface
Metric
0.0.0.0 0.0.0.0 192.168.5.1
192.168.5.3 25
127.0.0.0 255.0.0.0 127.0.0.1
127.0.0.1 1
192.168.1.5 255.255.255.255 192.168.5.5
192.168.5.3 1
192.168.1.10 255.255.255.255 192.168.5.5
192.168.5.3 1
192.168.5.0 255.255.255.0 192.168.5.3
192.168.5.3 25
192.168.5.3 255.255.255.255 127.0.0.1
127.0.0.1 25
192.168.5.255 255.255.255.255 192.168.5.3
192.168.5.3 25
224.0.0.0 240.0.0.0 192.168.5.3
192.168.5.3 25
255.255.255.255 255.255.255.255 192.168.5.3
192.168.5.3 1
255.255.255.255 255.255.255.255 192.168.5.3
2 1
Default Gateway: 192.168.5.1
===========================================================================
Persistent Routes:
None

Thanks,
Benoy George
 
B

benoy

Hi Bob,

On Netgear Router #1 WPN824v2 (192.168.5.1),
I have a static route to 192.168.1.0 via 192.168.5.5

IPConfig Result from 192.168.5.3 (XP Laptop)
C:\>ipconfig

Windows IP Configuration

Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.5.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.1

IPConfig Result from multihomed Vista Desktop
C:\>ipconfig

Windows IP Configuration


Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::8944:8ce:f8e8:****%**
IPv4 Address. . . . . . . . . . . : 192.168.1.10
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::b461:bbb9:cb29:****%*
IPv4 Address. . . . . . . . . . . : 192.168.5.5
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.1


Thanks,
Benoy George
 
G

Guest

Man what you have here is really confusing. You need a visio or something to
get this point across. Besides it doesn't look like you have it configured
properly from what I have read.

First, you can only have one default gateway on a computer. Your Default
Gateway should be the one that connects you to the internet. I am assuming
that is you 192.168.5.0 network. Therfore your default gateway should be
192.168.5.1.

Now on a computer that is not multihomed that you want to allow to connect
to you 192.168.1.0 network you neet to tell your computer how to get there.
It is not accessible from the default gateway so you need to tell it it's
next hop. So that would be the Multihomed vista box you have enabled routing
on. So assuming Vista #1 that address is 192.168.5.5. So on you xp laptop
you need to:
route -p add 192.168.1.0 mask 255.255.255.0 192.168.5.5
*as a side note you'd have to do this with eleviated priv's on vista

I wouldn't use the routing feature of your switch. However I think it is
not working becuase your switch doesn't know where 192.168.5.5 is. You'd
have to change that to route through the interface ip of the machine that is
connected to it.

Hope this helps.
 
R

Robert L [MVP - Networking]

We have a few issues in the configuration.

1. IP Address. . . . . . . . . . . . : 192.168.5.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.1
The 192.168.5.3 and 192.168.5.1 are not in the same subnet.

2. IPConfig Result from multihomed Vista Desktop should not assign two default gateways. Otherwise the multihomed computer may be confused and no route return.


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
Hi Bob,

On Netgear Router #1 WPN824v2 (192.168.5.1),
I have a static route to 192.168.1.0 via 192.168.5.5

IPConfig Result from 192.168.5.3 (XP Laptop)
C:\>ipconfig

Windows IP Configuration

Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.5.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.1

IPConfig Result from multihomed Vista Desktop
C:\>ipconfig

Windows IP Configuration


Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::8944:8ce:f8e8:****%**
IPv4 Address. . . . . . . . . . . : 192.168.1.10
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::b461:bbb9:cb29:****%*
IPv4 Address. . . . . . . . . . . : 192.168.5.5
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.1


Thanks,
Benoy George
 
B

benoy

My network diagram is as below

Internet(ISP#1) Internet (ISP#2)
| |
| |
router #1 router #2
|192.168.5.1 192.168.1.1|
| |
| |
xp laptop vista Dsk #2
|192.168.5.3 192.168.1.5|
| |
| |
|192.168.5.5 192.168.1.10|
+--------- Vista Dsk #1 ----------|
| |


1.
I am not sure why you mentioned that 192.168.5.3 and 192.168.5.1 are
not in the same subnet.
The subnet mask is the same 255.255.255.0 and both belongs to
192.168.5.0 network.

2.
I had both interfaces enabled for DHCP, and thus it got a seperate
default gateway per interface,
I have changed this to static IP and thus have the following in my
multihomed PC
C:\>ipconfig

Windows IP Configuration

IP Routing Enabled. . . . . . . . : Yes


Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::8944:8ce:f8e8:****%**
IPv4 Address. . . . . . . . . . . : 192.168.1.10
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.1

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::b461:bbb9:cb29:****%*
IPv4 Address. . . . . . . . . . . : 192.168.5.5
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.1

I am able to ping both 192.168.1.1 and 192.168.5.1 from my mutihomed
pc.

On my laptop 192.168.5.3, i added the route to 192.168.1.0 via
192.168.5.5

Active Routes:
Network Destination Netmask Gateway Interface
Metric
127.0.0.0 255.0.0.0 127.0.0.1
127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.5.5
192.168.5.3 1
192.168.5.0 255.255.255.0 192.168.5.3
192.168.5.3 30
192.168.5.3 255.255.255.255 127.0.0.1
127.0.0.1 30
192.168.5.255 255.255.255.255 192.168.5.3
192.168.5.3 30
224.0.0.0 240.0.0.0 192.168.5.3
192.168.5.3 30
255.255.255.255 255.255.255.255 192.168.5.3
2 1
255.255.255.255 255.255.255.255 192.168.5.3
192.168.5.3 1
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
192.168.1.0 255.255.255.0 192.168.5.5 1


However the tracert from 192.168.5.3 to 192.168.1.1 reaches
192.168.5.5 but still fails with following result

C:\>tracert 192.168.1.1

Tracing route to 192.168.1.1 over a maximum of 30 hops

1 1 ms * 2 ms 192.168.5.5
2 * * * Request timed out.
3 * * * Request timed out.
4 * * * Request timed out.
5 ^C


Thanks,
Benoy George
 
G

Guest

Nothing personal, but pehaps you'd be better off just getting a router that
can do what you are trying to accomplish.

THe Netgear FVS124G cand handle dual wan connections.
http://www.netgear.com/Products/VPNandSSL/WiredVPNFirewallRouters/FVS124G.aspx

What you are trying to do is complicated. I think you want a High
Availibility Internet connection? Right?l

The above stated router will load balance between the 2 connections where
Windows saturate one then "Maybe" use the other. If you don't want to get a
new router then you would be better off installing a 3rd nic in your
MultiHomed Vista box for a 3rd network and use that computer in place of the
2 Netgear Routers.

If I were you I'd get a new router, as this is what routers are made for.
Vista wasn't made for this, but we may be able to configure it to do it with
some work. However you would need to change your network topology. Is there
a purpose to it being configured the way it is?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top