Can Routing be configured on Windows XP?

Z

Zanna

It is possible to use a PC with 2 network card with Windows XP to make
Routing?

This is my network configuration:

------------------
|PC 1 |
|Windows XP |
|IP 172.16.0.108 |
|SM 255.255.0.0 |
|GW 172.16.0.114 |
------------------
|
|
------------------
|PC Router |
|Windows XP |
|eth OutSide |
|IP 172.16.0.114 |
|SM 255.255.0.0 |
|GW 172.16.0.108 |
|eth InSide |
|IP 10.11.0.1 |
|SM 255.255.0.0 |
|GW 10.11.1.1 |
------------------
|
|
------------------
|PC 2 |
|Windows XP |
|IP 10.11.1.1 |
|SM 255.255.0.0 |
|GW 10.11.0.1 |
------------------

On PC Router
I have enabled routing in the registry, with the IPEnableRouter and
the Routing and Remote access service is running.

ROUTING TABLE AND IPCONFIG:

*********************************************************************************************
C:\Documents and Settings\MyUser>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 04 75 c7 d0 9a ...... 3Com EtherLink XL 10/100 PCI For
Complete PC
Management NIC (3C905C-TX)
0x10004 ...00 60 97 3c 0a ae ...... 3Com 3C900TPO-based Ethernet
Adapter (Generi
c) #2
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface
Metric
0.0.0.0 0.0.0.0 10.11.1.1 10.11.0.1
30
0.0.0.0 0.0.0.0 172.16.0.108 172.16.0.114
20
10.11.0.0 255.255.0.0 10.11.0.1 10.11.0.1
30
10.11.0.1 255.255.255.255 127.0.0.1 127.0.0.1
30
10.255.255.255 255.255.255.255 10.11.0.1 10.11.0.1
30
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
1
172.16.0.0 255.255.0.0 172.16.0.114 172.16.0.114
20
172.16.0.114 255.255.255.255 127.0.0.1 127.0.0.1
20
172.16.255.255 255.255.255.255 172.16.0.114 172.16.0.114
20
224.0.0.0 240.0.0.0 10.11.0.1 10.11.0.1
30
224.0.0.0 240.0.0.0 172.16.0.114 172.16.0.114
20
255.255.255.255 255.255.255.255 10.11.0.1 10.11.0.1
1
255.255.255.255 255.255.255.255 172.16.0.114 172.16.0.114
1
Default Gateway: 10.11.1.1
===========================================================================
Persistent Routes:
None

C:\Documents and Settings\MyUser>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : myuserxp
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : Yes

Ethernet adapter Local Area Connection 2:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 3Com EtherLink XL 10/100
PCI For Com
plete PC Management NIC (3C905C-TX)
Physical Address. . . . . . . . . : 00-04-75-C7-D0-9A
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 172.16.0.114
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 172.16.0.108
Primary WINS Server . . . . . . . : 10.0.0.1

Ethernet adapter Local Area Connection 5:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 3Com 3C900TPO-based
Ethernet Adapter
(Generic) #2
Physical Address. . . . . . . . . : 00-60-97-3C-0A-AE
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.11.0.1
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 10.11.1.1

C:\Documents and Settings\MyUser>

*********************************************************************************************
All firewall in eth on all PC are disabled.

From PC 1 I can ping
PC Router OutSide IP 172.16.0.114
PC Router InSide IP 10.11.0.1
Bat I can't ping PC 2

From PC Router I can ping PC 1 and PC 2

From PC 2 I can ping
PC Router OutSide IP 172.16.0.114
PC Router InSide IP 10.11.0.1
Bat I can't ping PC 1



Thanks,
Zanna.
 
R

Robert L [MS-MVP]

XP is not designed as a router like server. However, if you have correct configure, you may make it work. what do you receive when using tracert 172.16.0.108 from PC2?
For more and other information, go to http://howtonetworking.com.

Don't send e-mail or reply to me except you need consulting services. Posting on MS newsgroup will benefit all readers and you may get more help.

Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, Remote Access on http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.
I recommend Brinkster for web hosting!

It is possible to use a PC with 2 network card with Windows XP to make
Routing?

This is my network configuration:

------------------
|PC 1 |
|Windows XP |
|IP 172.16.0.108 |
|SM 255.255.0.0 |
|GW 172.16.0.114 |
------------------
|
|
------------------
|PC Router |
|Windows XP |
|eth OutSide |
|IP 172.16.0.114 |
|SM 255.255.0.0 |
|GW 172.16.0.108 |
|eth InSide |
|IP 10.11.0.1 |
|SM 255.255.0.0 |
|GW 10.11.1.1 |
------------------
|
|
------------------
|PC 2 |
|Windows XP |
|IP 10.11.1.1 |
|SM 255.255.0.0 |
|GW 10.11.0.1 |
------------------

On PC Router
I have enabled routing in the registry, with the IPEnableRouter and
the Routing and Remote access service is running.

ROUTING TABLE AND IPCONFIG:

*********************************************************************************************
C:\Documents and Settings\MyUser>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 04 75 c7 d0 9a ...... 3Com EtherLink XL 10/100 PCI For
Complete PC
Management NIC (3C905C-TX)
0x10004 ...00 60 97 3c 0a ae ...... 3Com 3C900TPO-based Ethernet
Adapter (Generi
c) #2
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface
Metric
0.0.0.0 0.0.0.0 10.11.1.1 10.11.0.1
30
0.0.0.0 0.0.0.0 172.16.0.108 172.16.0.114
20
10.11.0.0 255.255.0.0 10.11.0.1 10.11.0.1
30
10.11.0.1 255.255.255.255 127.0.0.1 127.0.0.1
30
10.255.255.255 255.255.255.255 10.11.0.1 10.11.0.1
30
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
1
172.16.0.0 255.255.0.0 172.16.0.114 172.16.0.114
20
172.16.0.114 255.255.255.255 127.0.0.1 127.0.0.1
20
172.16.255.255 255.255.255.255 172.16.0.114 172.16.0.114
20
224.0.0.0 240.0.0.0 10.11.0.1 10.11.0.1
30
224.0.0.0 240.0.0.0 172.16.0.114 172.16.0.114
20
255.255.255.255 255.255.255.255 10.11.0.1 10.11.0.1
1
255.255.255.255 255.255.255.255 172.16.0.114 172.16.0.114
1
Default Gateway: 10.11.1.1
===========================================================================
Persistent Routes:
None

C:\Documents and Settings\MyUser>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : myuserxp
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : Yes

Ethernet adapter Local Area Connection 2:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 3Com EtherLink XL 10/100
PCI For Com
plete PC Management NIC (3C905C-TX)
Physical Address. . . . . . . . . : 00-04-75-C7-D0-9A
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 172.16.0.114
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 172.16.0.108
Primary WINS Server . . . . . . . : 10.0.0.1

Ethernet adapter Local Area Connection 5:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 3Com 3C900TPO-based
Ethernet Adapter
(Generic) #2
Physical Address. . . . . . . . . : 00-60-97-3C-0A-AE
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.11.0.1
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 10.11.1.1

C:\Documents and Settings\MyUser>

*********************************************************************************************
All firewall in eth on all PC are disabled.

From PC 1 I can ping
PC Router OutSide IP 172.16.0.114
PC Router InSide IP 10.11.0.1
Bat I can't ping PC 2

From PC Router I can ping PC 1 and PC 2

From PC 2 I can ping
PC Router OutSide IP 172.16.0.114
PC Router InSide IP 10.11.0.1
Bat I can't ping PC 1



Thanks,
Zanna.
 
Z

Zanna

Now it work!

This is the rigth configuration:
with
Registry IPEnableRouter = 1
Routing and Remote access Service running.
and
without Gateway for PC Router:

------------------
|PC 1 |
|Windows XP |
|IP 172.16.0.108 |
|SM 255.255.0.0 |
|GW 172.16.0.114 |
------------------
|
|
------------------
|PC Router |
|Windows XP |
|eth OutSide |
|IP 172.16.0.114 |
|SM 255.255.0.0 |
|eth InSide |
|IP 10.11.0.1 |
|SM 255.255.0.0 |
------------------
|
|
------------------
|PC 2 |
|Windows XP |
|IP 10.11.1.1 |
|SM 255.255.0.0 |
|GW 10.11.0.1 |
 

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