#1  
Old 16th September 2007, 01:30
J4zen J4zen is offline
Junior Member
 
Join Date: Sep 2007
Posts: 6
Thanks: 0
Thanked 2 Times in 2 Posts
Default DNS/Gateway issue.

Hi there,

Im running on a fedora 7 distro and am by far, no expert.
After installing Fedora i find myself unable to ping any hosts outside of my own local network.
However.. an nslookup does show it resolves to an IP just fine.

It started by a "fedora = connect: Network is unreachable" message when pinging, it turned out that my 2003server didnt send out a gateway adress in dhcp(which is now fixed).


Heres the output of my nslookup:
Code:
[root@localhost ~]# nslookup
> google.com
Server:         192.168.1.100
Address:        192.168.1.100#53

Non-authoritative answer:
Name:   google.com
Address: 64.233.167.99
Name:   google.com
Address: 72.14.207.99
Name:   google.com
Address: 64.233.187.99
My local network is setup as follows:
Gateway: 192.168.1.1 (router which was unable to provide fedora with DNS service)
DNS: 192.168.1.100 (Server2003, setup to provide a DNS service and forward it to 192.168.1.1)
Fedora IP: Via DHCP, 192.168.1.10.

Fedora server is configured to recieve DHCP(static lease) from Server2003, Server2003 will then forward all DNS-service requests to my router(192.168.1.1).

Heres the output from netstat -nr:
Code:
[root@localhost ~]# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0
And lastly, my ifconfig output:
Code:
[root@localhost ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:19:DB:CB:5F:11
          inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::219:dbff:fecb:5f11/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2751 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3062 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:259420 (253.3 KiB)  TX bytes:471590 (460.5 KiB)
          Interrupt:21 Base address:0x800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:60 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4776 (4.6 KiB)  TX bytes:4776 (4.6 KiB)
Does anyone have any IDEA why i AM able to resolve ip's, but unable to ping or wget/yum?

Thanks in advance, if you need further info.. please tell me

Regards,
J. van Vierzen

Last edited by J4zen; 16th September 2007 at 01:33.
Reply With Quote
Sponsored Links
  #2  
Old 16th September 2007, 23:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

What's in /etc/resolv.conf? Did you disable SELinux? What's the otput of
Code:
iptables -L
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 16th September 2007, 23:23
J4zen J4zen is offline
Junior Member
 
Join Date: Sep 2007
Posts: 6
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Resolv.conf:
Code:
nameserver 192.168.1.100
IPTables -L
Code:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
Yes SELinux and the firewall are disabled.
Reply With Quote
  #4  
Old 17th September 2007, 17:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

Try
Code:
nameserver 145.253.2.75
nameserver 193.174.32.18
in /etc/resolv.conf instead.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 17th September 2007, 18:27
J4zen J4zen is offline
Junior Member
 
Join Date: Sep 2007
Posts: 6
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Tried it , didnt work.. not even NSLookup works now

:
Code:
[root@fedora ~]# nslookup
> google.com
;; connection timed out; no servers could be reached
> www.google.com
;; connection timed out; no servers could be reached
Any idea's?

Thanks for your time
Reply With Quote
  #6  
Old 18th September 2007, 19:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

This sounds like a firewall issue with your router. Try to modify your router's firewall.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 19th September 2007, 14:59
J4zen J4zen is offline
Junior Member
 
Join Date: Sep 2007
Posts: 6
Thanks: 0
Thanked 2 Times in 2 Posts
 
Default

Right on, i purchased a new router today as the previous one didnt allow the firewall to be disabled withuot turning the NAT service off as well.

Worked as soon as i plugged the network cable in.

Thanks for your support!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPCONFIG - JOOMLA - extensions (images) issue grazman HOWTO-Related Questions 11 9th June 2007 13:11
SSL Issue - Unable to connect to any site Menzor Installation/Configuration 4 27th May 2007 05:03
iptables issue with xen perfect setup - debian alexnz HOWTO-Related Questions 3 25th November 2006 14:49
Postfix Issue thetekgeek Server Operation 18 25th October 2006 17:44
Outlook 2003 issue with courier-pop3 RotHorseKid Installation/Configuration 6 7th December 2005 21:35


All times are GMT +2. The time now is 23:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.