on Thu Jun 11 2009, "Fajar A. Nugraha" <fajar-AT-fajar.net> wrote:

> On Thu, Jun 11, 2009 at 8:56 PM, David Abrahams<[email protected]> wrote:
>> Here's what it contains:
>>
>> # cat /etc/resolv.conf
>> domain luannocracy.com
>> # nameserver 192.168.188.1
>> nameserver 207.172.3.8
>> nameserver 207.172.3.9
>> nameserver 207.172.3.10
>> nameserver 207.172.3.11
>>
>> Interestingly, I can get it to succeed at doing nslookup, host, or dig
>> if I uncomment the first nameserver, which is my local router that
>> happens to forward to the nameservers shown in that list.  However,
>> traceroute fails without showing a single hop, and browsing the web is
>> hopeless.  I /can/ access addresses on my local subnet.
>
> What does "netstat -nr" show? Have you setup the correct default route?
> can you ping those DNS servers?

$ netstat -rn

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface 
-------------------- -------------------- ----- ----- ---------- --------- 
127.0.0.1            127.0.0.1            UH        1         12 lo0       

Routing Table: IPv6
  Destination/Mask            Gateway                   Flags Ref   Use    If   
--------------------------- --------------------------- ----- --- ------- ----- 
::1                         ::1                         UH      1       0 lo0   
d...@installadm:~$ pfexec route -p add 192.168.188.1
route: gateway required for add or delete command
d...@installadm:~$ man ifconfig 
d...@installadm:~$ man route
d...@installadm:~$ pfexec route -p add 192.168.188.1 192.168.188.1
add host 192.168.188.1: gateway 192.168.188.1: Network is unreachable
d...@installadm:~$ pfexec route delete 192.168.188.1 192.168.188.1
delete host 192.168.188.1: gateway 192.168.188.1: not in table
d...@installadm:~$ cat /etc/resolv.conf 
domain luannocracy.com
nameserver 208.67.222.222
nameserver 208.67.222.220
#nameserver 192.168.188.1
#nameserver 207.172.3.8
#nameserver 207.172.3.9
#nameserver 207.172.3.10
#nameserver 207.172.3.11
d...@installadm:~$ pfexec route -p add 208.67.222.222 192.168.188.1
add host 208.67.222.222: gateway 192.168.188.1: Network is unreachable
d...@installadm:~$ ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000 
eth0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.188.44 netmask ffffff00 broadcast 192.168.188.255
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
index 1
        inet6 ::1/128 

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to