Re: help on configuring the internet setttings

From: Robin Mordasiewicz (robin_at_bullseye.tv)
Date: 08/12/05

  • Next message: M E Fieu: "Re: transfer master Windows DNS to slave BIND DNS"
    Date: Fri, 12 Aug 2005 00:49:04 -0400 (EDT)
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On Fri, 12 Aug 2005, Pushparaj Shetty wrote:

    > Hi all!, I have installed FC4. But gave option automatic n/w config
    > via DHCP. But now though installation is successful , i am connected
    > to internet. Please tell me how do I configure manually to give my IP,
    > gateways and DNS adresseses now.

    1. /etc/sysconfig/network
      This file contains information about your hostname, and default gateway

    i.e.
    [dmz /var/log/samba]# cat /etc/sysconfig/network
    NETWORKING=yes
    CHOSTNAME=hostname.domain.com
    GATEWAY=192.168.0.1
    FORWARD_IPV4=no
    GATEWAYDEV=eth1

    2. /etc/resolv.conf

      This file contains information regarding your dns server settings.

    i.e.
    [dmz /var/log/samba]# cat /etc/resolv.conf
    search domain.com
    nameserver 192.168.0.4
    nameserver 216.254.141.2

    3. /etc/sysconfig/network-scripts/ifcfg-eth0
       This file contains information regarding your ip address settings.

    i.e.

    [dmz /var/log/samba]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
    DEVICE=eth0
    BOOTPROTO=static
    NOZEROCONF=yes
    BROADCAST=192.168.0.255
    HWADDR=00:0B:DB:90:85:92
    IPADDR=192.168.0.5
    NETMASK=255.255.255.0
    NETWORK=192.168.0.0
    ONBOOT=yes
    TYPE=Ethernet

    4. If you make any changes to the ifcfg-eth0 file you will need to issue
    the command

    /etc/init.d/network restart

    5. In order to manually set the ip address of a network card you can
    alternatively issue the command....

    [user@machine]# ifconfig eth0 192.168.0.5 up

    6. In order to view the current status of your network settings you can
    use the commands ifconfig, route, ping, host

    i.e.

    [user@machine]# ifconfig eth0
    eth0 Link encap:Ethernet HWaddr 00:0B:DB:90:85:92
               inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
               inet6 addr: fe80::20b:dbff:fe90:8592/64 Scope:Link
               UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
               RX packets:22248228 errors:0 dropped:0 overruns:0 frame:0
               TX packets:21880340 errors:0 dropped:0 overruns:0 carrier:0
               collisions:0 txqueuelen:1000
               RX bytes:3198263054 (3050.1 Mb) TX bytes:1046671722 (998.1 Mb)
               Base address:0xcce0 Memory:feb60000-feb80000

    [user@machine]# route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    10.201.140.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    0.0.0.0 10.201.140.1 0.0.0.0 UG 0 0 0 eth1

    [user@machine]# ping 192.168.0.1
    PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
    64 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=0.209 ms
    64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.176 ms

    [user@machine]# host www.google.com
    www.google.com is an alias for www.l.google.com.
    www.l.google.com has address 64.233.161.99
    www.l.google.com has address 64.233.161.104
    www.l.google.com has address 64.233.161.147

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: M E Fieu: "Re: transfer master Windows DNS to slave BIND DNS"

    Relevant Pages

    • Re: TCP/IP settings when using cross over cable to connect 2 PCs
      ... These IP settings are right. ... If you can't ping the other host you should ... check if you can ping the localhost. ... If you can ping the other host you should check the workgroup membership. ...
      (microsoft.public.win2000.networking)
    • Re: TCP/IP settings when using cross over cable to connect 2 PCs
      ... These IP settings are right. ... If you can't ping the other host you should ... check if you can ping the localhost. ... If you can ping the other host you should check the workgroup membership. ...
      (microsoft.public.windowsxp.network_web)
    • The PiNG presents Nilan Perera and CJ Boyd
      ... loop pedal, solo bassist CJ Boyd creates oceans of sound - melancholic, ... GeekWeekend arrived at THE AMBiENT PiNG ... to great effect in their release "Settings". ...
      (rec.music.ambient)
    • The PiNG presents Nilan Perera and CJ Boyd
      ... loop pedal, solo bassist CJ Boyd creates oceans of sound - melancholic, ... GeekWeekend arrived at THE AMBiENT PiNG ... to great effect in their release "Settings". ...
      (rec.music.newage)
    • Re: "The page cannot be displayed"
      ... If you cannot ping anything, then there is no Internet Connectivity. ... Verify that everything is per the settings you have been given by your ISP. ... "Henry" wrote in message ...
      (microsoft.public.windows.server.general)