Hi,
I've just installed RedHat7.1 and am attempting to hook up to the
local LAN. The box previously had Win2K and could talk to other
hosts. Before installing RedHat I tried installing Debian2.3 and
after being asked to enter network config details was
able to ping other hosts on VT2 (the Deb install later bombed). So I
assume my problems aren't hardware related.
Under RedHat I can't ping any other host. Here's a listing of the two
main sysconfig files:
# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=pc1173
GATEWAY=134.226.32.254
GATEWAYDEV=eth0
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=134.226.255.255
IPADDR=134.226.47.46
NETMASK=255.255.0.0
NETWORK=134.226.0.0
ONBOOT=yes
This config yields:
# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:05:0F:A2:82
inet addr:134.226.47.46 Bcast:134.226.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:9 Base address:0x3400
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:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
# /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
134.226.0.0 * 255.255.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 134.226.32.254 0.0.0.0 UG 0 0 0 eth0
The weird thing is that the other Linux box in the room returns the
exact same (apart from its IP address and RX packets=0) for the four
commands above BUT it CAN ping other hosts.
Does anyone have an idea as to where to look for problems? RedHat
originally used the e100 module for the NIC, but I changed this to the
eepro100 module as this was what worked in the Debian install.
I'm stumped, and reading the relevant sections of NAG and Net-Howto
didn't improve the situation.
--
Matthew Sammon <m at banjaxed.net>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!