Re: Setting up small network

2003-07-14 Thread Lowell Gilbert
Marc Ernst Eddy van Woerkom [EMAIL PROTECTED] writes:

 I have a small network of two boxes and experience some
 oddities so that I would be glad for some advice.

[snip]

 Where I seem to have problems is DNS.
 I get nameserver lookups (the name server is at my provider),
 which result in a phone connection, even if a local name
 (I mean something I put in /etc/hosts already)
 is resolved.

Lookups on which machine are triggering the dial out?  If you're not
running your own server, the second machine will need to do lookups
too, and will need its own hosts entries.

If you use ppp(8) to connect, you can set a filter to tell it not to
let DNS requests cause a dial...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Setting up small network

2003-07-12 Thread Marc Ernst Eddy van Woerkom
Hello,

I have a small network of two boxes and experience some
oddities so that I would be glad for some advice.

  Box A: FreeBSD, 
 interface isp0 (ISDN card to Internet provider) and 
 interface xlo (Ethernet to Box B)

  Box B: Windows or FreeBSD or Linux 
 Ethernet interface to Box 

Box A on isp0 gets some dynamic IP everytime it connects
Box A on xl0 should be 192.168.0.1
Box B should be 192.1668.0.2

To allow internet browsing on Box B, I set up natd on Box A,
to have packages coming in on Box A via interface isp0 and to sent
out on interface xl0 to Box B.

To allow file sharing under Windows on Box B, I set up
samba on Box A.

Where I seem to have problems is DNS.
I get nameserver lookups (the name server is at my provider),
which result in a phone connection, even if a local name
(I mean something I put in /etc/hosts already)
is resolved.

Perhaps my /etc/hosts is already not correct:

  127.0.0.1   localhost localhost.my.domain a-gw a-gw.my.domain

  192.168.0.1 a.my.domain a  
  192.168.0.2 b.my.domain b

Any advice or tutorial?

Regards,
Marc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]