FreeBSD 5.1 <-> WinXP Networking Problem UPDATE

Darren Pilgrim dmp at bitfreak.org
Wed Jul 14 14:13:31 PDT 2004


> From: freebsder [mailto:freebsder51 at yahoo.com] 
> 
> Hi Everyone ... thanks for your help thus far.  I've
> made some changes below.  [I have Not made all the
> changes that you've kindly suggested but enough that I
> am able to ping back and forth ...  if I have ignored
> your suggestion and you still see a gapping error,
> please feel free to reinterate, I won't hold it again
> you!]
<...>
> I think that the 
> natd_flags="redirect_port tcp 192.168.0.3:80 80"
> should be:
> natd_flags="redirect_port tcp 192.168.0.1:80 80"

natd_flags="redirect_port tcp 192.168.1.1:80 80"

> 	ifconfig vr0= "media 10baseT/UTP up"
> 	ifconfig_ed0="inet 192.168.0.1  netmask 255.255.0.0"

ifconfig_vr0="inet 192.168.0.1/24 media 10baseT/UTP up"
ifconfig_ed0="inet 192.168.1.1/24"

You will then need to change the IP addresses of the two WinXP machines to
use addresses starting with 192.168.1 (excluding .0, .1 and .255), a netmask
of 255.255.255.0 and a gateway of 192.168.1.1.

Thanks to Matthew Seaman for bringing to my attention that ifconfig now
supports CIDR notation.




More information about the freebsd-questions mailing list