Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
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).
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.)
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.
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.
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
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
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.
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 !
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 !