Find the answer to your Linux question:
Results 1 to 2 of 2
Hi everyone, I'm new here and more or less at linux in general I have spend more than 20 minutes reading the obvious search results for this issue but I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Fed
    Fed is offline
    Just Joined!
    Join Date
    Apr 2006
    Location
    Italy
    Posts
    16

    basic dns question on my LAN with shared internet connection


    Hi everyone, I'm new here and more or less at linux in general

    I have spend more than 20 minutes reading the obvious search results for this issue but I found nothing that fits my little idiot issue

    this is my setup at home, 1 win XP px, 1 win XP laptop, 1 fedora pc.

    - WinXP PC with a 56k modem connected to internet (no broadband here )
    the connection is shared and this is the gateway
    LAN IP: 192.168.0.1

    - the laptop takes the ip with DHCP and goes on the internet, no issues at all

    - fedora pc:
    LAN IP: 192.168.0.100

    in the eth0 config panel (system settings > network) I have to setup the DNS and I have no clue what to put here, in fact I can't ping anything outside my LAN...I try to ping google and I get
    Code:
    [root@server1 ~]# ping -c 5 www.google.com
    ping: unknown host www.google.com
    [root@server1 ~]#
    and this if try to ping google IP
    Code:
    [root@server1 ~]# ping -c 5 66.102.7.99
    PING 66.102.7.99 (66.102.7.99) 56(84) bytes of data.
    From 192.168.0.100 icmp_seq=0 Destination Host Unreachable
    From 192.168.0.100 icmp_seq=1 Destination Host Unreachable
    From 192.168.0.100 icmp_seq=2 Destination Host Unreachable
    From 192.168.0.100 icmp_seq=3 Destination Host Unreachable
    From 192.168.0.100 icmp_seq=4 Destination Host Unreachable
    
    --- 66.102.7.99 ping statistics ---
    5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 3999ms
    , pipe 4
    [root@server1 ~]#
    each pc can ping all the others...any suggestion is welcome

  2. #2
    Fed
    Fed is offline
    Just Joined!
    Join Date
    Apr 2006
    Location
    Italy
    Posts
    16
    resolved

    the file /etc/resolv.conf was empty, I wrote "nameserver 192.168.0.1" and now it's resolving correctly

    thanks to all those who read this thread

Posting Permissions

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