LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-03-2014, 11:41 AM   #1
avda5
LQ Newbie
 
Registered: Jun 2014
Posts: 5

Rep: Reputation: Disabled
Red Hat Linux server only connects to local network


I'm currently trying to setup the eth0 and eth1 of a server running Red Hat Enterprise Linux WS release 4. The following is the configuration of the two nics:

etho:

DEVICE=etho
TYPE=Ethernet
ONBOOT=Yes
BOOTPROTO=static
IPADDR=172.16.4.178
NETMASK=255.255.255.192
HWADDR=xx:xx:xx:xx:xx:
GATEWAY=172.16.4.129


eth1:
DEVICE=eth1
TYPE=Ethernet
ONBOOT=Yes
BOOTPROTO=static
IPADDR=192.168.3.4
NETMASK=255.255.255.0
HWADDR=xx:xx:xx:xx:xx:


and the /etc/sysconfig/network file:

NETWORKING= yes
HOSTNAME= XYZ


I can ping other machines in the local network, like 172.16.4.175, 177, 176. But
I cant even ping the gateway which is 172.16.4.129

I have 3 other machines in the local network that have pretty much the same network configuration, and
I have not problem with them.

this is the output of the "ip route show":

172.16.4.128/24 dev eth0 proto kernel scope link src 172.16.4.178
192.168.3.0/16 dev eth1 proto kernel scope link 192.168.3.4
169.254.0.0/16 dev eth1 scope link
default via 172.16.4.129 dev eth0


Any ideas onhow i can solve this issue,

Thanks

Avi
 
Old 06-03-2014, 11:50 AM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
The version of RH you are using was released like 10 years ago and hit EOL a few years back. You will want to upgrade to something that is supported.

That being said,..

Can you ping your localhost?

Can you ping your eth0 address?

What does ifconfig look like?

Is the link up? Is the card good?
 
Old 06-03-2014, 12:03 PM   #3
avda5
LQ Newbie
 
Registered: Jun 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
[root@drjves_New_Hope_04 bin]# ifconfig
eth0 Link encap:Ethernet HWaddr A4:BAB:E0:56:8E
inet addr:172.16.4.178 Bcast:172.16.4.191 Mask:255.255.255.192
inet6 addr: fe80::a6ba:dbff:fee0:568e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2648863 errors:0 dropped:0 overruns:0 frame:0
TX packets:43705 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:169714092 (161.8 MiB) TX bytes:2939880 (2.8 MiB)
Interrupt:16

eth1 Link encap:Ethernet HWaddr A4:BAB:E0:56:8F
inet addr:192.168.3.4 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::a6ba:dbff:fee0:568f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7195 errors:0 dropped:0 overruns:0 frame:0
TX packets:31218 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:638077 (623.1 KiB) TX bytes:1998440 (1.9 MiB)
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3434351 errors:0 dropped:0 overruns:0 frame:0
TX packets:3434351 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:218093722 (207.9 MiB) TX bytes:218093722 (207.9 MiB)

I cant ping the host. I am able to ping eth0 within the local network attach to the same switch but i can not go beyond that point. From the main host I cant pin etho.

The link is up and I assume the nic card too, because it responds to ping within the local network.
 
Old 06-03-2014, 04:46 PM   #4
MikeDeltaBrown
Member
 
Registered: Apr 2013
Location: Arlington, WA
Distribution: Slackware
Posts: 96

Rep: Reputation: 10
The output of `ip route show` , uh, shows "172.16.4.128/24 ...." the mask should be /26. That may be defeating the arp requests as the broadcast address would be incorrect, assuming that isn't a typo.

The gateway, if it's also a firewall, may not allow pings. I'd check that before I spend a lot of time trying to figure out why replies aren't being sent back. Can other hosts ping the gateway?

It looks like both NICs are working fine; lots of data send and received with no errors.

Is the DEVICE= line really etho (that's eth-OH and should be eth-zero)?
 
Old 06-03-2014, 04:50 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,639

Rep: Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653
also RHEL4 is unsupported by redhat

rhel 4.9 is on EXTRA extended support for 1 more month
as in you had to pay extra and only 4.9 was extended

rhel4 has NO support for new hardware and no ipv6 support .

please upgrade ASAP
RHEL6.5 is the current and RHEL 7.0 will be released SOON
 
Old 06-04-2014, 11:27 PM   #6
avda5
LQ Newbie
 
Registered: Jun 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you John VV and MikeDeltaBrown for your help.
That is fixed. I swapped the ethernet cables from the back of the server(etho and eth1) and suddenly the connection to the rest of the network was reestablished.
Each cable was connected to the wrong switch.

Thanks again
 
Old 06-04-2014, 11:48 PM   #7
avda5
LQ Newbie
 
Registered: Jun 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Now, right after the connectivity issue was resolved. The following broadcast message started to show up in all the machines of the local network

[root@drjves_New_Hope_04 bin]#
Broadcast message from root (Wed Jun 4 23:29:09 2014):

KILLING das_Plaza_Host_Comm on drjves_New_Hope_04 via restart

Broadcast message from root (Wed Jun 4 23:29:09 2014):

KILLING das_Plaza_Host_Comm on drjves_New_Hope_04 via restart

Broadcast message from root (Wed Jun 4 23:29:10 2014):

STARTING das_Plaza_Host_Comm on drjves_New_Hope_04 via restart

Broadcast message from root (Wed Jun 4 23:29:10 2014):

STARTING das_Plaza_Host_Comm on drjves_New_Hope_04 via restart

[root@drjves_New_Hope_04 bin]#
Broadcast message from root (Wed Jun 4 23:34:50 2014):

KILLING das_Plaza_Host_Comm on drjves_New_Hope_04 via restart

Broadcast message from root (Wed Jun 4 23:34:50 2014):

KILLING das_Plaza_Host_Comm on drjves_New_Hope_04 via restart

Broadcast message from root (Wed Jun 4 23:34:51 2014):

STARTING das_Plaza_Host_Comm on drjves_New_Hope_04 via restart

Broadcast message from root (Wed Jun 4 23:34:51 2014):

STARTING das_Plaza_Host_Comm on drjves_New_Hope_04 via restart

I do not know why or how to stop it,

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat Linux server only connects to local network avda5 Linux - Networking 1 06-03-2014 12:29 PM
Setup local red hat updates server ginda Linux - Enterprise 3 04-20-2007 08:28 AM
LXer: Novell announces local Red Hat to SUSE Server training LXer Syndicated Linux News 0 03-19-2007 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration