PDA

View Full Version : Simple routing but no ICS (WXP-Pro)



ed_po
07-01-2006, 01:09 PM
Hi everyone,
hope someone have already encountered similar issue , here is the case:
I have wifi router connected to internet through cable modem, my thinkpad is connected directly to the router. What i need is to connect my second machine to the router, not directly but throuhg the thinkpad. I have two network interfaces on thinkpad- ethernet and wifi, wifi is connected directely thoruhg the air to the wifi router and the second machine to thinkpad ethernet. I has enabled routing in registry on thinkpad by modifying IPEnableRouter, also checked that "routing and remote access" service is runing but still cant ping the wireless router from the second machine. Still i can ping my wifi router from thinkpad , and able also to ping both thinkpad interfaces from second machine. Here is the snapshots of "ipconfig" and "route print" on thinkpad:

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

Windows IP Configuration

Host Name . . . . . . . . . . . . : eduardp-IBM
Primary Dns Suffix . . . . . . . : runcom.local
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : Yes
DNS Suffix Search List. . . . . . : runcom.local

Ethernet adapter WLAN:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/Wireless 2200BG Network Connection
Physical Address. . . . . . . . . : 00-12-F0-E9-95-C4
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.10.5
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.10.1
DNS Servers . . . . . . . . . . . : 192.168.10.1

Ethernet adapter LAN:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network Connection
Physical Address. . . . . . . . . : 00-04-E4-37-5B-1F
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

################################################## ##################

C:\Documents and Settings\eduardp>route print
================================================== =========================
Interface List
0x1 ........................... MS TCP Loopback interface
0x30002 ...00 12 f0 e9 95 c4 ...... Intel(R) PRO/Wireless 2200BG Network Conne
ion - Packet Scheduler Miniport
0x30003 ...00 04 e4 37 5b 1f ...... Intel(R) PRO/100 VE Network Connection - Packet 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.5 30
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.1 192.168.0.1 20
192.168.0.1 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.0.255 255.255.255.255 192.168.0.1 192.168.0.1 20
192.168.10.0 255.255.255.0 192.168.10.5 192.168.10.5 30
192.168.10.5 255.255.255.255 127.0.0.1 127.0.0.1 30
192.168.10.255 255.255.255.255 192.168.10.5 192.168.10.5 30
224.0.0.0 240.0.0.0 192.168.0.1 192.168.0.1 20
224.0.0.0 240.0.0.0 192.168.10.5 192.168.10.5 30
255.255.255.255 255.255.255.255 192.168.0.1 192.168.0.1 1
255.255.255.255 255.255.255.255 192.168.10.5 192.168.10.5 1
Default Gateway: 192.168.10.1
================================================== =========================
Persistent Routes:
None
#################################

Wireless router is 192.168.10.1, the second machine has 192.168.0.2 / 24 and 192.168.0.1 as a default gateway.
Any help will be appreciated!

THANKS :)

josefz
07-01-2006, 08:02 PM
Two devices configured to the same IP address 192.168.0.1 erroneously.

Configure your Wireless router e.g. to 192.168.10.25 and

Description . . . .: Intel(R) PRO/Wireless 2200BG Network Connection
Physical Address: 00-12-F0-E9-95-C4
Dhcp Enabled. . .: No
IP Address. . . . .: 192.168.10.1
Subnet Mask . . . : 255.255.255.0
Default Gateway : 192.168.10.25
DNS Servers . . . : 192.168.10.25

Do a search for ICS in Help and Support center under Start button. There are two important articles (do not know exact English titles, sorry):
Setting up ICS (in recommended topics), and
How to configure static client... (in Microsoft Knowledge Base).

<a target="_blank" href=http://technet2.microsoft.com/WindowsServer/en/Library/2cb28bef-448b-4c0f-8ead-2c9db9c638221033.mspx?mfr=true> Connecting to the Internet in a home or small office network</a>.

ed_po
07-02-2006, 04:51 AM
I'm sorry but i can't see the same IP on deferent devices...
Here is my setup again:
wireless router
192.168.10.1 / 24
|
wi-fi
|
192.168.10.5 / 24
thinkpad
192.168.0.1 / 24
|
eth
|
192.168.0.2 / 24
second machine

1. routing is enabled on thinkpad
2. 192.168.10.1 as a d.gateway on thinkpad
3. 192.168.0.1 as a d.gateway on the second comp.
4. i can ping any way from thinkpad
5. i can get the both enterfaces of thinkpad, by ping, from the second machine...
6. i can't ping from the second machine to 192.168.10.1...?????

THANKS <P ID="edit"><FONT class="small">Edited by ed_po on 07/02/06 04:01.</FONT></P>

Brf
07-02-2006, 05:31 AM
Your router doesnt know that the second machine is there. If you are using simple IP routing, rather than ICS, you need to put in a routing line for the second machine in the router, using the first one as its gateway.

route add 192.168.0.0. mask 255.255.255.0 192.168.10.5

If your router doesnt allow you to add routes from a command prompt, you will need to add the second subnet somewhere in its config.

josefz
07-02-2006, 07:04 AM
You are right, my own reading was erroneous. Excuse me, please.
IMHO you shoud enable and configure Internet Connection Sharing, as described nicely and nonpareilly in Microsoft Windows 2000 Professional Resource Kit: <a target="_blank" href=http://www.microsoft.com/technet/prodtechnol/Windows2000Pro/reskit/part4/proch22.mspx?mfr=true> Chapter 22 - TCP/IP in Windows 2000 Professional</a>. Matches to Windows XP as well.

ed_po
07-02-2006, 08:14 AM
you are right, gonna check it soon
thanks man