NeoRouter http://www.neorouter.com/forum/ |
|
Client & Server on Ubuntu http://www.neorouter.com/forum/viewtopic.php?f=8&t=5452 |
Page 1 of 1 |
Author: | diobrendo [ Sat Mar 01, 2014 12:25 pm ] |
Post subject: | Client & Server on Ubuntu |
I have a machine running Ubuntu 12.04 LTS. It has the server and client installed (connecting to itself). All the other clients can connect to each other from anywhere, but the server can only connect to clients on the local network. Whenever I ping a client from the server (even one on the local network) using the virtual network IP, it says it is unreachable. I have looked for someone with a similar problem all over google and the forums and found nothing. I would appreciate any kind of solution or idea to try next. Thanks |
Author: | mesa57 [ Sun Mar 02, 2014 5:58 am ] |
Post subject: | Re: Client & Server on Ubuntu |
Works fine here on a Raspberry. |
Author: | kevinz [ Sun Mar 02, 2014 11:23 am ] |
Post subject: | Re: Client & Server on Ubuntu |
Hi diobrendo, Please check if the nrtap network interface is up on your server. Thanks, KevinZ - NeoRouter team |
Author: | diobrendo [ Sun Mar 02, 2014 12:03 pm ] |
Post subject: | Re: Client & Server on Ubuntu |
I believe the nrtap interface is working. Code: ifconfig eth0 Link encap:Ethernet HWaddr 50:e5:49:20:e2:39 inet addr:10.0.0.100 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22313 errors:0 dropped:0 overruns:0 frame:0 TX packets:27305 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:5545476 (5.5 MB) TX bytes:5839968 (5.8 MB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:7045 errors:0 dropped:0 overruns:0 frame:0 TX packets:7045 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2961333 (2.9 MB) TX bytes:2961333 (2.9 MB) nrtap Link encap:Ethernet HWaddr 72:a2:0b:f2:96:24 inet addr:10.0.1.4 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1300 Metric:1 RX packets:1151 errors:0 dropped:0 overruns:0 frame:0 TX packets:78 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:145214 (145.2 KB) TX bytes:12357 (12.3 KB) Trying to troubleshoot, I ran into this, which seems like it could be a problem. Does it matter that I have two identical destinations, using different interfaces? I am not all that experienced with linux, if someone could confirm that this is indeed an issue before I try to change it, that would be great. Code: route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.0.0.1 0.0.0.0 UG 100 0 0 eth0 10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0 10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 nrtap Thanks |
Author: | mesa57 [ Sun Mar 02, 2014 1:21 pm ] |
Post subject: | Re: Client & Server on Ubuntu |
This is my route : Code: root@raspberrypi:~# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.16.1 0.0.0.0 UG 0 0 0 eth0 192.168.16.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.200.0 0.0.0.0 255.255.255.0 U 0 0 0 nrtap Looks like an netmask problem. Or you're neorouter IP's should not start with 10 |
Author: | diobrendo [ Sun Mar 02, 2014 2:48 pm ] |
Post subject: | Re: Client & Server on Ubuntu |
It was indeed a netmask problem. Going into my router and changing the subnet mask from 255.0.0.0 to 255.255.255.0, then restarting solved the problem. Thanks for your help, I've been trying to fix this off and on for a while now. |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |