I'm new to freebsd, I try to setup freebsd box inside my network this is a testing for an internet gateway.
Out Network Structure:
Modem -> Dlink router -> DSA-800 Firewall -> domain controller -> DHCP Server -> Client PC
ISP DNS are forwarded to domain controller.
My Freebsd Internet Gateway is this:
Modem -> Dlink router -> DSA-800 Firewall -> domain controller -> DHCP Server -> Freebsd Box -> winxp client pc in 192.168.5.0 network
Our internal IP 192.168.0.0/24
Internal DNS 192.168.0.228
my rc.conf
resolv.conf
dhcpd.conf
named.conf
My client PC IP:
my problem are this:
executing nslookup command the result is
pinging 72.30.2.43 the reply is RTO
internet connection in freebsd box is fine but in client pc insternet connection cannot pass thru.
please help me about this matter. thanks
Out Network Structure:
Modem -> Dlink router -> DSA-800 Firewall -> domain controller -> DHCP Server -> Client PC
ISP DNS are forwarded to domain controller.
My Freebsd Internet Gateway is this:
Modem -> Dlink router -> DSA-800 Firewall -> domain controller -> DHCP Server -> Freebsd Box -> winxp client pc in 192.168.5.0 network
Our internal IP 192.168.0.0/24
Internal DNS 192.168.0.228
my rc.conf
Code:
defaultrouter="192.168.0.1"
gateway_enable="YES"
hostname="pcname.domain.tld"
ifconfig_rl1="inet 192.168.5.1 netmask 255.255.255.0"
ifconfig_vr0="inet 192.168.0.239 netmask 255.255.255.0"
named_enable="YES"
named_flags="-u bind"
name_auto_forward_only="YES"
dhpcd_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
dhcpd_iface="rl0"
natd_enable="YES"
natd_interface="vr0"
natd_flag=""
resolv.conf
Code:
domain ourdomain.tld
nameserver 192.168.0.228
dhcpd.conf
Code:
subnet 192.168.5.0 netmask 255.255.255.0 {
range 192.168.5.100 192.168.5.200
option domain-name "hostname.ourdomain.tld";
option domain-name 192.168.5.1;
option broadcast-address 192.168.5.0;
option routers 192.168.5.1;
default-lease-time 3600;
max-lease-time 8600;
}
subnet 192.168.0.0 netmask 255.255.255.0 {
}
named.conf
Code:
// listen-on { 127.0.0.1; };
listen-on { 192.168.5.1; };
My client PC IP:
Code:
ip address 192.168.5.100
subnet mask 255.255.255.0
default gateway 192.168.5.1
dhpc server 192.168.5.1
dns servers 192.168.5.1
my problem are this:
executing nslookup command the result is
Code:
Can't find server name for address 192.168.5.1: Non-Existent domain
default servers are not available
Server: Unknown
address: 192.168.5.1
Non-Authoritative Answer:
Name: yahoo.com
addresses: 72.30.2.43 and so on...
pinging 72.30.2.43 the reply is RTO
internet connection in freebsd box is fine but in client pc insternet connection cannot pass thru.
please help me about this matter. thanks