|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
simple network questions
Hi there
I'm building a network with a topology illustrated below: Code:
|internal system|---|switch|----|OpenBSD|------|switch|------|border router| It took me a while to put dd-wrt on the border router so that this set-up is supported. The only questions i now have are: 1)would it be best to just bring up the OpenBSD's internal interface statically and to bring up the interfaces of machines on the internal subnet statically also. So that the OpenBSD box isn't doing dhcp for the internal network, it is just a firewall for it? 2)In which case should i have the border router as the DNS server for all the machines on the whole network? 3)Or would it be better for the machines on the internal network to get their I.Ps via dhcp, from the OpenBSD box(bearing in mind that the servers already get their I.Ps via dhcp from the border router) and have the OpenBSD as the DNS server for the internal network also? Thank you for your time and any replies you might send regards unixjingleman |
|
|||
Quote:
Quote:
Quote:
|
|
|||
Oh yeah sorry i meant that as far as the hosts are concerned it's the DNS server(the border router or the OpenBSD box). Thanks for your swift reply.
|
|
|||
My OpenBSD box is behind a ADSL router. It also acts as caching resolving nameserver server for the network. All network clients have the IP address of this box in "/etc/resolv.conf".
Another instance, actually Bernstein's tinydns runs an authoritative nameserver for my local domain 'utp.xnet'. Code:
$ dig +norecurse hercules.utp.xnet @192.168.222.11 ; <<>> DiG 9.4.2-P2 <<>> +norecurse hercules.utp.xnet @192.168.222.11 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63605 ;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;hercules.utp.xnet. IN A ;; ANSWER SECTION: hercules.utp.xnet. 604800 IN A 192.168.222.20 ;; AUTHORITY SECTION: utp.xnet. 259200 IN NS ns1.utp.xnet. ;; ADDITIONAL SECTION: ns1.utp.xnet. 259200 IN A 192.168.222.11 ;; Query time: 1 msec ;; SERVER: 192.168.222.11#53(192.168.222.11) ;; WHEN: Sun Feb 27 23:12:05 2011 ;; MSG SIZE rcvd: 85
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump Last edited by J65nko; 27th February 2011 at 10:19 PM. Reason: DHCP remark |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simple backup questions | unixjingleman | FreeBSD General | 15 | 27th February 2011 11:21 PM |
Simple pf ruleset | jhp | FreeBSD General | 2 | 30th March 2010 02:05 PM |
A simple question | Mr-Biscuit | Off-Topic | 1 | 16th April 2009 04:26 PM |
Simple Firewall with PF | jones | FreeBSD General | 3 | 7th November 2008 02:02 AM |
Couple of network questions (NAT, firewalls) | ivanatora | FreeBSD General | 10 | 21st July 2008 05:26 PM |