Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2002 23:22:24 +0900
From:      "Kim Okasawa" <kimokasawa@hotmail.com>
To:        jasper@ivision.co.uk
Cc:        freebsd-net@freebsd.org
Subject:   Re: FreeBSD+Win2K+Wireless LAN
Message-ID:  <F67GXP9ww1WySvX5w0Y000027da@hotmail.com>

next in thread | raw e-mail | index | archive | help

Thanks for the info.  I added the route to the FreeBSD box and it can now 
ping the notebook computer but NOT vice versa (i.e. notebook cannot ping the 
FBSD box.)  Any idea what might be wrong?  Thanks.

BTW, I did set the Win2K's 2nd NIC's gateway to 172.16.0.1.  Sorry for the 
typo.

Kim

----Original Message Follows----
From: Jasper Wallace <jasper@ivision.co.uk>
To: Kim Okasawa <kimokasawa@hotmail.com>
CC: <freebsd-net@freebsd.org>
Subject: Re: FreeBSD+Win2K+Wireless LAN
Date: Tue, 11 Jun 2002 23:04:00 +0100 (BST)

On Wed, 12 Jun 2002, Kim Okasawa wrote:

 > Dear all,
 >
 > I want to set up my home network to take advantage of the D-Link DWL-120 
USB
 > wireless adapter.  I have set up the network as follow (see graph below),
 > and the FreeBSD and Win2K boxes can access to the Internet but the WinXP
 > notebook computer CAN NOT.  I know somewhere along the line I did 
something
 > wrong.  Can someone help me to fix the problem?  Thank you.

The freebsd machine dosn't know where to send packets for 192.168.0.2 to -
add a static route like:

route add -net 192.168.0.0/24 172.16.0.2

(i'm guessing the netmask there, it may be /16).

Also the win2k box will need ip forwarding enabled (routing). (i have no
idea how to do that - i've only used win2k breifly).

I'm confused by the win2k machine having two default gateways - 172.16.0.2
and 172.16.0.1 - it should only need 172.16.0.1.

I wrote a very basic guide to tcpip routing for consume.net - it describes
almost exactly the problem you are having, you can find it here:

http://pointless.net/~jasper/consume/docs/my-docs/routeing-intro.html

 >        .-------------.
 >       (    Internet   )
 >        .------+------.
 >               |
 >               |
 >        +------+------+
 >        | Cable Modem |
 >        +------+------+
 >               |
 >               |
 >       +-------+--------+   <-- NIC (rl0): (DHCP) get ip from comcast
 >       | FreeBSD 4.5    |
 >       | Running natd.  |
 >       +-------+--------+   <-- NIC (fxp0): Private IP: 172.16.0.1
 >               |
 >               |
 >               |
 >       +-------+--------+   <-- NIC: Private IP: 172.16.0.2
 >       |                |            Default Gateway: 172.16.0.1
 >       | Windows 2000   |
 >       |                |
 >       +-------+--------+   <-- Wireless Adapter (D-Link DWL-120 USB)
 >               |                IP: 192.168.0.1
 >               |                Default Gateway: 172.16.0.1
 >               |
 >               +---..)))
 >
 >
 >    (Wireless LAN, Ad-Hoc mode)
 >
 >
 >               +---..)))
 >               |
 >               |
 >      +------------------+   <-- Wireless Adapter (D-Link DWL-120 USB)
 >      | Notebook - WinXP |       IP: 192.168.0.2
 >      +------------------+       Default Gateway: 192.168.0.1


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F67GXP9ww1WySvX5w0Y000027da>