Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-22-2002, 07:43 AM
|
#1
|
|
Member
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696
Rep:
|
Strange ping/network problem
I have 5 computers on the net (3x RH 7.2, +2xWxp). My gateway (bs4) is RH and everything works fine on it except for trying to connecto to one of the other rh bs40. Whereas bs40 goes to internet through bs4, can connect with ssh, scp, sftp, ftp.. in anyways to to bs4, but no way to reach bs40 from bs4. I can reach bs40 from any other computer and there is no ip conflict, no name conflict. I can not reach it by ip number nor by name.
I checked /etc/hosts, hostname, route, iptables, and everything looks fine. I changed ip address on bs40 and same thing happens. Ip numbers are in the same class ( 192.168.6.1 and 192.168.6.8).
Any Ideas?
|
|
|
|
05-22-2002, 08:30 AM
|
#2
|
|
Member
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218
Rep:
|
hmmmm
Hi ,
Other are able to connect to bs40 ? what do u mean by this ?
others are able to telnet and get icmp replies ?
ur not able to telnet or is that ur not getting any ping replies ?
It looks like a firewall problem to me.
regards,
xanthium
|
|
|
|
05-23-2002, 05:37 AM
|
#3
|
|
Member
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696
Original Poster
Rep:
|
no as I said everything works fine except that bs4->bs40 connection. I can even ssh from to bs40 to bs4 and then try to ping bs40 from bs4 and would not work even though I'm connected to it from bs40. Or I can be copiying files with ftp bs40 client from bs4, but I'm not able to ping it back or get any signal from it. It's a mistery to me. I don't even have an idea what to check. I even swicthed ports on the hub but no change.
I would not beleive it, if I didn't see it. (I'd assume that some newbie can set up networking.)
regards,
Noerr
|
|
|
|
05-23-2002, 05:54 AM
|
#4
|
|
Member
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218
Rep:
|
firewall problem
As i mentioned it looks like firewall issue to me.
Try flushing the firewall rulesets or issue f/w rules to allow evrything everything on all the chains ie;input,output,forward chains .... if ur using iptables then u do necessary changes.
After u have flushed firewall rules try pinging bs40.
regards,
Xanthium.
|
|
|
|
05-24-2002, 01:30 AM
|
#5
|
|
Member
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696
Original Poster
Rep:
|
bs40 has no firewall entries, whereas bs4 only has an entry to do nat for local net, so that shouldn't cause any problems. And besides that I have changed ip address of bs40 several times, and no change, and all other computers can ping it well. I'm not even going to bother any more, I'll upgrade my bs4 server to rh73 and see what happens next.
thanks
|
|
|
|
05-24-2002, 03:51 AM
|
#6
|
|
Member
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218
Rep:
|
Hi ,
Not necessarily firewall ..... ICMP replies can be disabled from
/proc as well ..... telnet can be disabled from xinetd .....
This is what i mean by firewall issue .
Hope u got my point.
Regards,
Xanthium.
|
|
|
|
05-26-2002, 04:41 AM
|
#7
|
|
Member
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696
Original Poster
Rep:
|
I tried wiping out iptables, rebooted system few times, but all the same.
Another funny thing is that in order to reach bs40 from bs4 i have to ssh to rula-xp (another computer) and then ssh from rula-xp to bs40
check it out:
[root@bs4 /etc]# ssh administrator@rula-xp
administrator's password:
Authentication successful.
C:\>ssh2 root@bs40
root's password:
Authentication successful.
Last login: Sun May 26 2002 11:51:40 +0200 from rula-xp
You have new mail.
[root@bs40 etc]# ping bs4
PING bs4 (192.168.6.1) from 192.168.6.9 : 56(84) bytes of data.
64 bytes from bs4 (192.168.6.1): icmp_seq=0 ttl=255 time=235 usec
64 bytes from bs4 (192.168.6.1): icmp_seq=1 ttl=255 time=174 usec
--- bs4 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/mdev = 0.174/0.204/0.235/0.033 ms
[root@bs40 root]# ssh bs4
root's password:
Authentication successful.
Last login: Sun May 26 2002 12:38:59 +0200
You have new mail.
[root@bs4 /root]# ping bs40
PING bs40 (192.168.6.9) from 192.168.6.1 : 56(84) bytes of data.
--- bs40 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
[root@bs4 /root]#
|
|
|
|
05-27-2002, 02:16 AM
|
#8
|
|
Member
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218
Rep:
|
Hi ,
Yeh its confusing me now ......
BS4 ( ROUTER ) --- > Gateway.
BS40 ( RH machine ) --- > Firewall disabled.
Now the fact that ur able to ssh from some other machine but not thru BS4 does suggest some rulesetting (ipchains, or tcpwrapper )
well noerr ..... i cant really imagine anything else beside this !
if there was no firewall or tcpwrapper than bs40 wont do selective access but rather allow everyone but since it is allowing a few and rejecting other i guess it must be a firewall related issue .
recheck ur both machines for f/w or tcpwrapper entries that can cause conflict ( check all startup scripts) and if ur certain there aint ANY the check out the log file on both servers (while establishing connections) .... i guess there should be something that gives out explict reason of connection failure ..... try using one of the packet sniffing s/w if all fails !
SUMMARY :
1. Check all ur startup scripts for presence of iptable/ipchains script or rules that are causing the conflict.
2. Check for tcpwrapper entries in hosts.allow and deny files.
3. Check the lof files (after consulting with syslog ) after ur connection has failed and u SHOULD see some log entry that gives out explict reason for connection failure.
4. If log files fail then use s/w such as tcpdump ( last option)
to see the packets that are flowing between bs4 and bs40 and see if there is something abnormal about it !
well i admit iam confused as well now. he he he.
Regards,
Xanthium.
|
|
|
|
05-29-2002, 12:01 PM
|
#9
|
|
Member
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696
Original Poster
Rep:
|
I put new system on bs40 and now works fine. ( didn't solve the mistery-- but I don't have time to)
thanks for your suggestions
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:53 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|