Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: zolf on November 15, 2010, 09:29:50 am

Title: [SOLVED] Host unreachable
Post by: zolf on November 15, 2010, 09:29:50 am
Hi there,

i have setup zentyal. i have two NIC's LAN and WAN. i cannot connect to the internet from the zentyal machine. also i cannot ping other machines from the zentyal machine nor can i ping the 2 nics from my laptop. when i connected the LAN of Zentyal to the laptop i got ip and also could connect to the internet from my laptop.please help

cheers
zolf
Title: Re: Host unreachable
Post by: zolf on November 16, 2010, 03:31:23 pm

Please help
Title: Re: Host unreachable
Post by: eboxbuggy on November 16, 2010, 04:15:08 pm
use something less complicated

i suggest smoothwall 3
Title: Re: Host unreachable
Post by: zolf on November 17, 2010, 02:42:06 pm

please help
Title: Re: Host unreachable
Post by: andyp on November 17, 2010, 03:12:41 pm
Sound like a DNS issue.  What do you have under network --> DNS?
Title: Re: Host unreachable
Post by: zolf on November 18, 2010, 06:23:27 am

i have setup DNS like this

Setup DNS

DNS->Add new

Domain: demonet.lan

please help,i am new to Linux/networking and am trying to learn it
Title: Re: Host unreachable
Post by: wilhat on November 18, 2010, 06:50:10 am
check your firewall config.
change your domain into this 208.67.222.222

tell me is this is working ;D
Title: Re: Host unreachable
Post by: zolf on November 18, 2010, 10:12:16 am

wilhat

thanks  for your feedbacks.
can you please tell me the reason of changing the dns to that ip you mentioned.
Title: Re: Host unreachable
Post by: Sam Graf on November 18, 2010, 02:17:47 pm
That's an IP address of the OpenDNS (http://www.opendns.com/) service. If using OpenDNS works, you probably want to replace that IP with any DNS IPs supplied by your ISP.
Title: Re: Host unreachable
Post by: wilhat on November 18, 2010, 04:20:41 pm
Yes his correct if they said your possible problem is DNS you can use OpenDNS to check
if is working. try to ping google.com from you CLI after you change the DNS.

of try nslookup google.com check if is working

Or check you firewall first. allow any from.
Internal networks
internal to zentyal
test if you can ping the network.

I forgot try to add gateway to your zentyal server. in your network config =)
Title: Re: Host unreachable
Post by: zolf on November 20, 2010, 08:14:33 am

Sam Graf
wilhat

thanks for your help. after investigation i came across DNS under the Network menu and there for some reason i had DNS set on 192.168.0.9,which is the ip of the AP and the gateway for the company network. i deleted that and then i could connect to the internet.now i am confused what is the difference between the DNS under the Network menu and the DNS under the Infrastructure.
Title: Re: Host unreachable
Post by: zolf on November 20, 2010, 08:42:37 am

now when i do nslookup google.com the output i get is

Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoitative answer:
......

what does it mean,i was expecting my gateway details to be shown which i setup.can somebody please explain what is going on.

also i want to know what happens when i dont setup the DNS on the Zentyal machine.
Title: Re: Host unreachable
Post by: wilhat on November 21, 2010, 01:48:55 am
@Zolf

You must put a DNS to your Zentyal first. if your internet type connection is DHCP.
i think it is automatically add to your DNS, if your using static add you ISP DNS or
you can use OpenDNS 208.67.222.222 and 208.67.220.220.

If you already has a DNS . Use the CLI of zentyal server type
nslookup google.com you must get a resolution if not your are not yet connected to the internet or
there is somthing wrong with your internet connection.

If you already have a working internet in your zentyal gateway. you can ping google.com.
then next thing is to have your client setup.

Ok let get back to your question.
the difference between the two is the DNS for the network is for your Zentyal to go out and resolve something to the internet if you dont have this you cannot browse or ping any websiteusign their name ex.www.yahoo.com,google.com etc.

The DNS in infrastructure is a service in your lan which will give you to add domain to your Private lan. for example you created a example.local this will be your domain for your private lan. the rest will be Computer1.example.local etc so you have a naming resolve within your lan.

Sorry my english is not that good hehhe.
Title: Re: Host unreachable
Post by: zolf on November 21, 2010, 12:08:36 pm


Wilhat

thanks for your great help.
i have not setup the DNS under the Network and still I have access to internet from my laptop which i have connect directly to the Zentyal. I have setup the DHCP,Gateway and DNS under the Infrastructure.
by the way the DNS i have created under Infrastructure is demo.lan.what will i use this for or let me put it like this what is the function of creating this DNS. at present when i type the demo.lan in a browser nothing happens.please bear with me. appreciate your time and help.

cheers
Zolf
Title: Re: Host unreachable
Post by: zolf on November 23, 2010, 07:48:49 am

please help me
Title: Re: Host unreachable
Post by: wilhat on November 24, 2010, 12:18:57 am
If you created DNS it means you want to have fully qualified domain within your network
Name > ipaddress reverse IP > name to distinguish you user in you network.

theres a lot of advantage when using DNS. kindly check this site
http://tldp.org/HOWTO/DNS-HOWTO-5.html

=)
Title: Re: Host unreachable
Post by: zolf on November 24, 2010, 07:52:09 am

thanks for your feedbacks "Wilhat"

i have created a user.how do they login.any idea??.appreciate your help

cheers
zolf
Title: Re: Host unreachable
Post by: wilhat on November 24, 2010, 09:07:16 am
if you want your user to login you must joint their pc to the domain you are created.
do you already have a domain a pdc.? in your zentyal server
Title: Re: Host unreachable
Post by: zolf on November 24, 2010, 09:41:37 am

yes i have created a DNS in the Infrastruture-->DNS called it demo.lan.do i need to also provide it with an IP.it is optional. but if you think it is better to have i will add.but please tell m ewhat ip do i need to put there.the local ip of the zentyal
Title: Re: Host unreachable
Post by: andyp on November 24, 2010, 05:14:16 pm
Hi Zolf,

I'm a bit confused - why are we trying to add users and setup a Primary Domain Controller?  Maybe I missed something, is the original problem resolved?  I.E, is your Zentyal machine able to surf the web (or ping google.com)?  If not, I would suggest fixing this before setting up the PDC.  Also, is your public IP address assigned dynamically, or is it static?  I should imagine it is dynamic but please confirm.

Cheers,
Andy