Setting up small network
From: Marc Ernst Eddy van Woerkom (Marc.Vanwoerkom_at_FernUni-Hagen.de)
Date: 07/12/03
- Previous message: David Loszewski: "Re: IMAP stealing mail??"
- Next in thread: Lowell Gilbert: "Re: Setting up small network"
- Reply: Lowell Gilbert: "Re: Setting up small network"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 12 Jul 2003 22:41:32 +0200 (MEST) To: freebsd-questions@freebsd.org
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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: David Loszewski: "Re: IMAP stealing mail??"
- Next in thread: Lowell Gilbert: "Re: Setting up small network"
- Reply: Lowell Gilbert: "Re: Setting up small network"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|