ShareFS across different subnets
David Hill (9258) 6 posts |
Is there anyway to get RISC OS to see shared discs on different subnets? For example, my archimedes (RISC OS 3.11/3.7) machines are on 192.168.0.x and my RaspberryPIs are on 192.168.1.x Shared discs only show up for the machines on the same subnet. I have routes so that both subnets can communicate, so 192.168.0.6 can ping 192.168.1.168 for example and vice versa. Just ShareFS doesn’t seem to show shared discs on different subnets. Anyway to make it look across subnets? |
Dave Higton (1515) 3526 posts |
It’s my (possibly incorrect) understanding that ShareFS relies on broadcasts to make shares visible. Does your routing permit broadcast traffic to pass between subnets? |
David J. Ruck (33) 1635 posts |
UDP broadcasts are not route-able. Put all the RISC OS machines on the same subnet. There is no reason to use subnets unless your machines are spread across different locations. |
David Hill (9258) 6 posts |
Oh it uses broadcasts. Okay that makes sense. Thanks for letting me know. So the reason behind the two subnets is the archimedes machines uses TCPIP over Econet, and an A5000 acts as a gateway between Econet and Ethernet. Works great for everything except ShareFS. Will just use !awServer instead as that works fine over AUN and multiple subnets. |
Bryan (8467) 468 posts |
You can not make assertions like that. David Hill has his reasons. I have mine. |
David J. Ruck (33) 1635 posts |
I can, and I have. |
Bryan (8467) 468 posts |
One obvious reason is to stop unwanted accesses from one part to another of a single physical wired network. This can apply to many situations other than sharefs. |
David Hill (9258) 6 posts |
How else could you do it without using two subnets? They are different physical networks. You can’t route the same subnet through a gateway from Econet to Ethernet without using different subnets. Workaround is to mount the shared discs on the A5000 and using !awServer to export the shares so that the other machines on Econet can access just as a fileserver. |
Julie Stamp (8365) 474 posts |
I’ve never tried it, but *FWAddNet looks helpful. It’s mentioned at the bottom of page 153 in the user guide as well. |
David Hill (9258) 6 posts |
Thanks. Tried that, but it still doesn’t see the remote shared disc. Doing an Fwshow shows the remote subnet, but still doesn’t see the disc. Maybe something to do with the way broadcasts are routed through Ethernet to Econet. |