Freebsd 5.1 <-> Win XP Networking problems
dmp at bitfreak.org
Tue Jul 13 14:34:25 PDT 2004
> From: freebsder [mailto:freebsder51 at yahoo.com]
> Hi Dave,
> I've changed the rc.conf as per you suggestion see
> Do I also need to change the
> natd_flags="redirect_port tcp 192.168.0.3:80 80"
> natd_flags="redirect_port tcp 192.168.1.0:80 80"
See below. You need to correctly renumber your LAN first. The
redirect_port option is going to be the IP address you assign to the
internal interface of myserver.
> Are there any other similar modifications that need to
> be made somewhere?
That depends on what you changed and what you have running on myserver and
how you configured them. Any configuration setting that has an IP address
of one of your machines will need to be changed.
> ifconfig_ed0="inet 192.168.1.0/24 netmask 255.255.0.0"
> ifconfig_vr0="inet 192.168.0.0/24 netmask 255.255.0.0"
192.168.1.0/24 and 192.168.0.0/24 are blocks of addresses in CIDR notation,
not the actual addresses to be fed to ifconfig. You need to pick addresses
within the netblock to use for myserver and all the other machines on your
network. Since myserver can reach the internet just fine, you should keep
the IP address for vr0 the same, just lengthen the netmask to allow the use
of 192.168.1.0/24 on the LAN.
More information about the freebsd-questions