Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2004 23:45:37 -0700
From:      "Darren Pilgrim" <dmp@bitfreak.org>
To:        "'freebsder'" <freebsder51@yahoo.com>, <freebsd-questions@freebsd.org>
Subject:   RE: Freebsd 5.1 <-> Win XP Networking problems
Message-ID:  <000001c468a5$04caab20$152a15ac@spud>
In-Reply-To: <20040712234753.86645.qmail@web52505.mail.yahoo.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
[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 <freebsder51@yahoo.com>
>=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.




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?000001c468a5$04caab20$152a15ac>