After replacing NIC, jail netstat returns "no namelist"

Status
Not open for further replies.

shawndewet

Dabbler
Joined
Feb 28, 2014
Messages
37
FreeNAS 9.3
HP Proliant Microserver.
16GB Ram
RaidZ Level: (don't know. How do I check this?)

The embedded NIC failed, and I have replaced this with a PCIe NIC. FreeNAS networking itself is working fine. I can remote in to the Web UI.

My root problem is that I am trying to get into my Crashplan headless server.
One of the steps is to check that the jail is listening on a certain port.
The check is done with netstat -na...
However, when I run this, I get "netstat: no namelist" as a response.

I'm thinking the epair virtual NIC for the jail might still be bridged to the old NIC? But I have no idea how to troubleshoot this (I'm a Windows guy, with limited Linux skills). Please help?

EDIT:
From within the jail, I can ping the default gateway, I can ping 8.8.8.8, but not www.google.com. (I can ping www.google.com from the FreeNAS host server)
 
Last edited:

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
when you're inside the jail, what do you get on "dig" and/or "drill", for example, do these resolve:
Code:
dig www.ibm.com
or
Code:
drill www.ibm.com
? Since you say you can ping 8.8.8.8 from the jail, then the routing/gateway looks good.

If the answer is no, then the problem is your DNS settings, and you should probably specify a nameserver (e.g., like 8.8.8.8) in the network global config.

Do your jails have "VIMAGE" checked? Are the jails on a fixed IP, or are their IP address obtained via DHCP?
 

shawndewet

Dabbler
Joined
Feb 28, 2014
Messages
37
Hi DrKK.
Jail has VIMAGE checked.
Jail is on a fixed IP.
I've attached screenshots of network global config, and of the jail setup.

Dig result is:
root@crashplan_1:/ # dig www.ibm.com
; <<>> DiG 9.8.4-P2 <<>> www.ibm.com
;; global options: +cmd
;; connection timed out; no servers could be reached
root@crashplan_1:/ #


Drill result is:
drill: Command not found.
 

Attachments

  • network global config.png
    network global config.png
    20.6 KB · Views: 256
  • jail setup.png
    jail setup.png
    42.5 KB · Views: 275
Last edited:

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
and what happens with dig/drill?
 

shawndewet

Dabbler
Joined
Feb 28, 2014
Messages
37
Sorry I edited my reply to include dig/drill response.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Sorry I edited my reply to include dig/drill response.
It seems you have no nameserver?

What are the contents of the file /etc/resolv.conf in this jail?
 

shawndewet

Dabbler
Joined
Feb 28, 2014
Messages
37
It was:
search local
nameserver 196.7.7.7
nameserver 196.7.8.9

Clearly this is the wrong DNS for my setup. So I edited the file to:
search local
nameserver 8.8.8.8
nameserver 8.8.4.4

Now I can dig www.ibm.com

However, my netstat command still returns "netstat: no namelist".
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630

shawndewet

Dabbler
Joined
Feb 28, 2014
Messages
37
I doubt it's related since the problem only started after I replaced the NIC.
 
Status
Not open for further replies.
Top