sbontrager
2004-03-16, 01:57 PM PST
I've installed fedora on a box to use as an internal web server (apache) for our organization. I use a Windows Server 2003 box for a dhcp and dns server. I've had no problems w/ our AIX servers or any workstations getting IP addresses from the dhcp server, but can't seem to get fedora on the network. I know the ethernet card is good, the cables and ports are also all good. If I use a static ip address for the fedora computer it appears to work (ifconfig), but can't get on the network. dhcp gets no ipaddress at all. Any clues?
Jman
2004-03-16, 03:05 PM PST
Time to start troubleshooting. You've already covered the obvious physical connections. When you do set an IP, can you ping the dhcp server? Confirm that there is a route between the two. Firewalls shouldn't make a difference, because this is an outgoing dhcp request to an internal server.
Have you tried the graphical network config tool (redhat-config-network)? Main Menu > System Settings > Network. Select a device and edit to be sure dhcp is on. You can manually set dns there as well.
sbontrager
2004-03-16, 03:17 PM PST
No, can't ping. I disabled the firewall. Used the graphical network tool, tried setting the ip manually, through dhcp, virtually every setting there I could think of. I finally got it to give the correct broadcast address when i run ifconfig, but i still have no network connectivity outside the box. Incidentally, the port light is on on the hub, indicating it's reading my ethernet activity on the linux box.
Bana
2004-03-16, 03:25 PM PST
Can you maybe post the results of /sbin/dhclient? Perhaps you need to add the dhcp server to your /etc/hosts.allow or something like that.
mhelios
2004-03-17, 01:34 AM PST
I would start perusing through /var/log/messages and other related logs. See System Tools -> System Logs for an easy to parse interface.
Is the default gateway set? Post the output of /sbin/route to cehck your routing tables are ok.
Not being able to ping the dhcp server is the source of this problem. How far does /usr/sbin/traceroute (or xmtr) get on its path to the dhcp server?
sbontrager
2004-03-17, 09:25 AM PST
attached are the results of /sbin/route and /sbin/dhclient. Please give me some instruction on how to run traceroute. Many thanks for your help.
sbontrager
2004-03-17, 10:42 AM PST
[root@localhost sbin]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.200.13.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 10.200.13.1 0.0.0.0 UG 0 0 0 eth0
[root@localhost sbin]# dhclient
Internet Software Consortium DHCP Client V3.0pl2
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Listening on LPF/lo/
Sending on LPF/lo/
Listening on LPF/eth0/00:60:97:d2:ce:ba
Sending on LPF/eth0/00:60:97:d2:ce:ba
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 18