Computing.Net > Forums > Linux > Determining IP information for eth0

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Determining IP information for eth0

Reply to Message Icon

Name: STeeLGuT
Date: October 17, 2005 at 15:56:50 Pacific
OS: fc4
CPU/Ram: p3 500
Comment:

It is [ok] during boot and I have internet access, when I restart network I get [failed]. Before I was statically setting ip but now I am using dhcp. At no time do I lose internet access, it just drive me nuts. Any ideas?



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: October 18, 2005 at 03:26:17 Pacific
Reply:

How are you restarting the network? With dhclient?


0

Response Number 2
Name: STeeLGuT
Date: October 18, 2005 at 03:46:17 Pacific
Reply:

with the fc4 command service network restart. LOL, I shouldn't have root access on my own machine, but if nothing was messed up, I wouldn't learn anything.

[root@dell jim]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:10:5A:E7:6B:C4
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::210:5aff:fee7:6bc4/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26749 errors:0 dropped:0 overruns:0 frame:0
TX packets:28941 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9492260 (9.0 MiB) TX bytes:4168062 (3.9 MiB)
Interrupt:9 Base address:0x1400



0

Response Number 3
Name: 3Dave
Date: October 18, 2005 at 04:36:00 Pacific
Reply:

See if the following works:
# dhclient eth0
Your card has a static IP or 192.168.1.102 set , is this correct?


0

Response Number 4
Name: STeeLGuT
Date: October 19, 2005 at 04:06:29 Pacific
Reply:

Well it was set to static, I have a home router, but because of my kids ps2 game, I had to put it back to automatic. dhclient eth0 gives me no access, then service network restart gives access back but says Determining IP information for eth0... failed.
[root@dell jim]# dhclient eth0
Internet Systems Consortium DHCP Client V3.0.2-RedHat
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth0/00:10:5a:e7:6b:c4
Sending on LPF/eth0/00:10:5a:e7:6b:c4
Can't bind to dhcp address: Address already in use
Please make sure there is no other dhcp server
running and that there's no entry for dhcp or
bootp in /etc/inetd.conf. Also make sure you
are not running HP JetAdmin software, which
includes a bootp server.

[root@dell jim]# cat /etc/xinetd.conf
#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}

includedir /etc/xinetd.d

If I have the ip set, I don't know where it is stored. I have use the route command as well as ifconfig.


0

Response Number 5
Name: STeeLGuT
Date: October 19, 2005 at 04:31:55 Pacific
Reply:

[root@dell xinetd.d]# 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
169.254.0.0 * 255.255.0.0 U 0 0 0 lo
default dhcp 0.0.0.0 UG 0 0 0 eth0



0

Related Posts

See More



Response Number 6
Name: 3Dave
Date: October 19, 2005 at 04:38:08 Pacific
Reply:

I am unfamiliar with fedora, I think the tool you need is system-config-network to configure your NIC?


0

Response Number 7
Name: STeeLGuT
Date: October 25, 2005 at 14:18:19 Pacific
Reply:

[root@dell log]# dmesg | grep eth0
eth0: no IPv6 routers present
eth0: no IPv6 routers present
eth0: no IPv6 routers present
[root@dell log]#


Is it trying to use IPv6? Is that my problem?


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Determining IP information for eth0

IP info for eth0......failed www.computing.net/answers/linux/ip-info-for-eth0failed/18128.html

eth0 Failed ?? www.computing.net/answers/linux/eth0-failed-/18045.html

How to resolve this error ? www.computing.net/answers/linux/how-to-resolve-this-error-/14744.html