Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2013
    Location
    Dhaka, Bangladesh
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Gateway problem in Linux

    Hello everyone,

    My server is setup on CentOS 5.0 32 bit. The server has two NIC - eth0 and eth1. On eth0, the server IP is 103.4.144.162 and the default gateway is 103.1.144.161. Through these real IP my organization connects with the internet. On eth1 the internal LAN is setup with the IP 192.168.3.240. When I ping the default gateway of eth0 from the PC connected to internal LAN, it's all ok. The problem is when I ping the default gateway from the server itself it shows "destination not found". This is a absurd problem because through all my PC I can access internet. But I can't access the internet from the server itself!! I have checked all the network commands like, setup, mii-tool, vi /etc/config.sys/eth0, /etc/init.d/network restart. All entries are OK. Please Help.




  2. #2
    Join Date
    Dec 2012
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Have you installed this OS as a fresh copy or you upgrade it.

  3. #3
    Join Date
    Jan 2013
    Location
    Dhaka, Bangladesh
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    As a fresh copy

  4. #4
    Join Date
    Feb 2013
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    probably because of the /etc/resolv.conf file is not configured with the nameserver xxx.xxx.xxx.xxx.....just copy it to resolv.old.conf and touch /etc/resolv.conf then edit it, adding the line: nameserver xxx.xxx.xxx.xxx where the xxx is replaced with the actual ipaddress of the gateway. then try pinging. you don't even have to restart the network!

 

 

Similar Threads

  1. What is the Blackbuntu Default Password?
    By fox123 in forum Getting Started
    Replies: 2
    Last Post: 12-13-2012, 03:11 AM
  2. default gateway
    By Socrat3s in forum Linux Networking
    Replies: 2
    Last Post: 08-27-2012, 11:31 AM
  3. help with sound on my gateway nv55c with linux 10
    By katie in forum Linux Audio / Video
    Replies: 4
    Last Post: 04-05-2012, 11:26 AM
  4. Replies: 0
    Last Post: 02-17-2012, 07:41 AM
  5. Replies: 0
    Last Post: 11-06-2011, 07:23 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
           








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,546
Threads: 3,914
Posts: 9,425
Top Poster: Fred (1,486)
Welcome to our newest member, Arnaud

» Links



Powered by vBadvanced CMPS