The problem summary is as follows:
I'm setting up a very simple LAN at home using only
two machines with fixed private ip addresses either.
The FreeBSD gateway is connected to the internet
through my cablemodem ISP's modem.

The problem is that the Windows XP client CANNOT
access the Internet with alphabetic names (should be
called a DNS problem?) but it YES CAN do it with ip
addresses (numbers).

AFAIK (being a newbie in networking issues) it seems
that no problems arise from the gateway side after
"setting" up natd/ipfw.

>From the client, I can ping to numeric addresses
locally and outside. And (again using ip-numbers) I
can telnet to my pop server's 110 port. But not with
The (gateway) server has NO problems with alphabetic
addresses. Neither pinging the local network nor with
the internet.

Maybe I forgot some "flag" for natd in my
Is/are there other option/s in my kernel-configuration
file needeed?
Any hint will be appreciated. Please feel free to ask
for any necessary info.

These are the "details".
It's my first job with networks, and the scenario is
as follows:
The server:
   · Pentium 233 MMX.
   · OS: FreeBSD 4.8-RELEASE. Alternating with Win 98
for testing.
   · dc0: interfase to my cablemodem ISP.
   · vr0: interfase to my local network connected to a

The client:
   · AMD athlon xp 2.0 Ghz.
   · OS: Windows XP.
Adding DNS servers to the network config in the client
didn't solve the problem.
BTW it's not necessary to add DNS entries when the
server boots with Win 98 + Microsoft's ICS.

On the server side, I built a new kernel with (all?)
the necessary options:
   · The GENERIC kernel, adding:
   options      IPDIVERT
   options      IPFIREWALL
   options      IPFIREWALL_VERBOSE
   options      IPFIREWALL_VERBOSE_LIMIT=200

The /etc/hosts file has three entries: localhost david goliath

My /etc/resolv.conf has been automagically generated
when first configured the interfases.
Maybe? it updates on every boot.

And my networking-related lines in /etc/resolv.conf
are as follows:
--- Begin of /etc/rc.conf ---
# [...] chunking a few not-networking lines...
ifconfig_vr0="inet  netmask"
#firewall_script="/etc/rc.firewall" ### did not work
--- End of /etc/rc.conf ---

The COMPLETE /etc/my.rc.firewall is extremely simple:
--- Begin ---
/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via dc0
/sbin/ipfw add pass all from any to any
--- End ---
Testing "blindly" the /etc/rc.firewall also did not
Learning ipfw secrets will be left for the immediate
future ;o))).

José Albores - <[EMAIL PROTECTED]>

Internet GRATIS es Yahoo! Conexión
4004-1010 desde Buenos Aires. Usuario: yahoo; contraseña: yahoo
Más ciudades:
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to