From owner-freebsd-questions@FreeBSD.ORG Tue Jul 13 06:47:15 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CA9716A4CE for ; Tue, 13 Jul 2004 06:47:15 +0000 (GMT) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AA0E43D45 for ; Tue, 13 Jul 2004 06:47:14 +0000 (GMT) (envelope-from dmp@bitfreak.org) Received: from speck.techno.pagans (c-24-21-228-149.client.comcast.net [24.21.228.149]) by mail.bitfreak.org (Postfix) with ESMTP id D872B2A41A; Mon, 12 Jul 2004 23:47:13 -0700 (PDT) Received: from spud (w1.techno.pagans [172.21.42.21]) by speck.techno.pagans (Postfix) with ESMTP id 2CAD5A926; Mon, 12 Jul 2004 23:45:35 -0700 (PDT) From: "Darren Pilgrim" To: "'freebsder'" , Date: Mon, 12 Jul 2004 23:45:37 -0700 Message-ID: <000001c468a5$04caab20$152a15ac@spud> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-Reply-To: <20040712234753.86645.qmail@web52505.mail.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal Subject: RE: Freebsd 5.1 <-> Win XP Networking problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 06:47:15 -0000 [Note: cross-post removed. -questions is the appropriate place for = this.] As your rc.conf contents show, you have the same block of addresses = assigned to both interfaces. This is a broken configuration. You need to = renumber one of these networks into non-overlapping space. I would change the DSL-modem side to use 192.168.0.0/24, then use 192.168.1.0/24 on the = LAN. > From: freebsder >=20 > I have a Freebsd 5.1 box connected to the internet.=20 > It works. But I am now trying to network two other > Win XP machines as per the following network > hierarchy: >=20 > <><><> > Setup > <><><> > ISP-> DSL Modem -> FreeBSD box : > 1) "vr0" 192.168.0.1 [Gateway machine address]=20 > 2) "ed0" 192.168.0.3 [Internal Network address] > connects to:-> >=20 > 4- port HUB -> > 1)WinXP machine #1 192.168.0.2 > 2)Freebsd Box 192.168.0.3 > 3)WinXP machine #2 192.168.0.4 >=20 > <><><> > Problem: > <><><> > I cannot communicate to the Internet from WinXP #2=20 > (Have not tried to config WinXP #1 yet). >=20 > <><><> > Browser Config > <><><> > IE Brower Settings for WinXP #2 {Tools>Internet > Options>Connections>) > -I set the browser so that it never dials a connection > because it is suppose to be networked right? > - in the LAN Settings option, I set the Proxyserver > option with the address of the gateway of 192.168.0.1 > with Port 80 >=20 > <><><> > Dialouge > <><><> > >From Freebsd Machine > # ping 192.168.0.4 > PING 192.168.0.4 (192.168.0.4): 56 data bytes > ping: sendto: Host is down > ping: sendto: Host is down >=20 > -at one point I was able to ping the freebsd machine > from WinXP #2 but then for some reason, I made a > change and cannot ping anymore... >=20 > <><><> > RC.CONF > <><><> >=20 > My rc.conf file looks like this: > font8x14=3D"NO" > font8x16=3D"swiss-8x16" > font8x8=3D"swiss-8x8" > inetd_enable=3D"YES" > linux_enable=3D"YES" > moused_enable=3D"YES" > moused_port=3D"/dev/psm0" > moused_type=3D"auto" > nfs_client_enable=3D"YES" > nfs_server_enable=3D"YES" > rpcbind_enable=3D"YES" > saver=3D"rain" > scrnmap=3D"NO" > usbd_enable=3D"YES" > ifconfig_vr0=3D"DHCP" > ifconfig_ed0=3D"DHCP" >=20 > ##initialise NIC > network_interfaces=3D"vr0 ed0 lo0 tun0" > ifconfig tun0 > ifconfig vr0=3D "media 10baseT/UTP up" > ifconfig_ed0=3D"inet 192.168.0.3 netmask 255.255.0.0" > ifconfig_vr0=3D"inet 192.168.0.1 netmask 255.255.0.0" > hostname=3D"myserver" >=20 > ##User ppp configuration > ppp_enable=3D"YES" > ppp_mode=3D"ddial" > ppp_nat=3D"NO" > ppp_profile=3D"bellnet" > #ppp_user=3D"root" >=20 > ## Firewall > gateway_enable=3D"YES" > firewall_enable=3D"YES" > firewall_type=3D"OPEN" > #firewall_quiet=3D"NO" > firewall_script=3D"/etc/rc/firewall" >=20 > natd_enable=3D"YES" > natd_interface=3D"vr0" > natd_flags=3D"redirect_port tcp 192.168.0.3:80 80" >=20 > rpc_statd_enable=3D"YES" > tcp_extensions=3D"YES" >=20 > ## Mail >=20 > sendmail_enable=3D"YES" >=20 > <><><><><><><> >=20 > HELP! >=20 > Thanks in advance.