Date: Tue, 11 Jun 2002 23:04:00 +0100 (BST) From: Jasper Wallace <jasper@ivision.co.uk> To: Kim Okasawa <kimokasawa@hotmail.com> Cc: <freebsd-net@freebsd.org> Subject: Re: FreeBSD+Win2K+Wireless LAN Message-ID: <Pine.GSO.4.30.0206112259280.8490-100000@avengers.ivision.co.uk> In-Reply-To: <F177KB13AbXKYFnEiOB00020c2d@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.2 > | > +---..))) > > > (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 -- Internet Vision Internet Consultancy Tel: 020 7589 4500 60 Albert Court & Web development Fax: 020 7589 4522 Prince Consort Road vision@ivision.co.uk London SW7 2BE http://www.ivision.co.uk/ 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?Pine.GSO.4.30.0206112259280.8490-100000>