Re: internet connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric,

Looks like there's a GATEWAY= line missing in your DHCP server's
/etc/dhcpd.conf file.  You can add a default gateway manually as root:

   # route add default gw <gw_name_or_ip_addr>

but you'll have to do this every time you reboot or toggle your ethernet
interface down and up. PITB.

--Doc Savage
  Fairview Heights, IL

> Here are all the answers to the commands shown earlier.
> I notice that there is no Gateway in "route" and this might possibly be
> a DNS problem.
> Whatever you guys can make of this is greatly appreciated.
>
> Thanks,
>
> Eric
>
>
> route -n
>
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0
> eth0 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0
>   0 lo You have new mail in /var/spool/mail/root
> [root@The_Klingon_Empire etc]# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0
> eth0 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0
>   0 lo [root@The_Klingon_Empire etc]# route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.1.0     *               255.255.255.0   U     0      0        0
> eth0 127.0.0.0       *               255.0.0.0       U     0      0
>   0 lo [root@The_Klingon_Empire etc]# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0
> eth0 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0
>   0 lo
>
>
> ifconfig
>
> eth0      Link encap:Ethernet  HWaddr 00:80:C8:DF:F2:6E
>           inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:3459 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:413 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:401858 (392.4 Kb)  TX bytes:43283 (42.2 Kb)
>           Interrupt:10 Base address:0xe000
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:263 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:263 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:20862 (20.3 Kb)  TX bytes:20862 (20.3 Kb)
>
>
>
> ps axww|grep dhc
>
>  532 ?        S      0:00 /sbin/dhclient -1 -q -lf
> /var/lib/dhcp/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid -cf
> /etc/dhclient-eth0.conf eth0
> 21156 pts/0    S      0:00 grep dhc
>
>
>
> cat /etc/sysconfig/networking/devices/ifcfg-eth0
>
>
> DEVICE=eth0
> BOOTPROTO=dhcp
> BROADCAST=192.168.1.255
> NETWORK=192.168.1.0
> ONBOOT=yes
> USERCTL=no
> PEERDNS=no
> TYPE=Ethernet
>
>
> dmesg|grep eth
>
> eth0: RealTek RTL-8029 found at 0xe000, IRQ 10, 00:80:C8:DF:F2:6E.
> divert: allocating divert_blk for eth1
> eth1: RealTek RTL-8029 found at 0xe400, IRQ 11, 00:E0:29:4B:17:D7.
>
>
> /etc/resolv.conf
>
> nameserver	192.168.1.1
>
>
>
> dig www.redhat.com |grep -i server
>
> ;; SERVER: 192.168.1.1#53(192.168.1.1)
>
>
>
>
> --
> Psyche-list mailing list
> Psyche-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/psyche-list





-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux