Linux - NetworkingThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thank you for your considerations tekhead2. You are right and I am just having no idea what's going wrong.
pc1/eth0, pc2/eth0, and pc3/eth0(although not in used in my case), are all working fine. All of them can access the Internet and one another through the switch.
Well man , this connection is by far the most simple in your network, but its taking the whole thing down. So lets get down to the basics, you have two nics. Both appear to be enable and working. We have lights, we have ip addresses. SO as far as I can see from here its not a physical issue. We just need to get out the white glove and get anal retentive about this.
Did you say that you were able to ping from the local ips ie. 192.168.0.1 to the global ips ie. 144.34.x.x? I may be mistaken , i just could have sworn you said you could do that.
Man I guess Im just trying to understand what your wanting to accomplish. Where are you wanting the packets to go? Basically from what I can see, you are trying to setup some kinda router. I guess we are just losing each other in all the numbers and interfaces. So tell me in a perfect world, what would this accomplish for you? What should this setup do? If the nics were working where would that get you. I guess If I knew what you were doing I could get you there faster! Sorry If Im losing you on this.
tekhead2 why complicate things so much?
The problem is to get a simple cross-link up and going.
enjoyzj: Yes I would try to put in manual arp entries just to check if it works.
arp entries should come up automatically when you ping but if the arp protocol somehow messes up then we can try setting it manually. If can ping after that, then we know the problem to be arp or broadcasting.
What did you see from the iptables -L -n command?
Does the counters increase? And what chains get packets?
Do you get packets to the OUTPUT chain?
If you get then we can probably say that packet are leaving. At least they leave the iptables system.
Thank you so much for your time on this simplest issue. After I manually set an arp entry, everything works fine! It's strange that after this when I reboot the PCs, sometimes they are automatically connected after ping, and sometimes it needs manually setting arp entries. It seems the system is not quite stable. But anyway, it works now. Thank you again!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.