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.
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.
|
|
04-30-2014, 05:17 PM
|
#1
|
LQ Newbie
Registered: May 2007
Posts: 14
Rep:
|
Routing problems between machines in the same subnet
Hello!
I am using a linux machine as a router / firewall to my home network. The server is running Fedora 15, and is connected to the outside world via a ppp interface (on em1). Internally, I have a subnet set up on 192.168.2, with the server NIC (p4p1) set to 192.168.2.1. Each machine can ping 192.168.2.1 (and can communicate with the outside world), and the server can ping each machine. However, the machines are not able to ping each other.
This is the routing table:
192.168.2.0 * 255.255.255.0 UG 0 0 0 p4p1
192.168.1.0 * 255.255.255.0 U 0 0 0 em1
link-local * 255.255.0.0 U 1002 0 0 em1
link-local * 255.255.0.0 U 1003 0 0 p4p1
default my-gw 0 0.0.0.0 UG 0 0 0 ppp0
This setup has worked for me many times before, so I am baffled as to why I can't get it working this time.
Any network geniuses with some ideas?
|
|
|
04-30-2014, 05:20 PM
|
#2
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
Do you have any pertinent switch configuration or is it a flat switch?
|
|
1 members found this post helpful.
|
04-30-2014, 05:39 PM
|
#3
|
LQ Newbie
Registered: May 2007
Posts: 14
Original Poster
Rep:
|
In theory, should be flat. I have a dumb hub attached to p4p1, and a second device (Buffalo Airstation) in non-routing mode acting as my wireless hub.
|
|
|
04-30-2014, 06:28 PM
|
#4
|
LQ Newbie
Registered: May 2007
Posts: 14
Original Poster
Rep:
|
... but your question got me thinking outside of the box (literally). I have always assumed that my Buffalo was acting as a flat switch. I'd better test that assumption. :-)
Thanks for the tip!
|
|
|
04-30-2014, 06:51 PM
|
#5
|
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,196
|
So the machines are 192.168.2.xx and 192.168.2.yy and they can not ping each other?
Server is 192.168.2.1 and can ping 192.168.2.xx?
Server is 192.168.2.1 and can ping 192.168.2.yy?
192.168.2.xx can ping server at 192.168.2.1?
192.168.2.yy can ping server at 192.168.2.1?
That is simply not possible. Since they are on the same subnet routing is not an issue.
Are 192.168.2.xx and 192.168.2.yy static addresses?
If not, assign them static addresses.
Run a network cable straight between the 192.168.2.xx and 192.168.2.yy
Make sure the NICs are modern and auto-sensing. If not, create a cross connect.
See if you can ping.
jlinkels
|
|
|
04-30-2014, 07:49 PM
|
#6
|
LQ Newbie
Registered: May 2007
Posts: 14
Original Poster
Rep:
|
Ok, it was indeed some weird problem with the wireless hub. The settings were correct, but it was in an incorrect state. A reboot fixed the problem.
Thanks to szboardstretcher and jlinkels for the help. I was literally thinking in the (linux) box and didn't see the problem.
|
|
|
All times are GMT -5. The time now is 10:46 PM.
|
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
|
|