Dom
Member
Registered: 13th Sep 03
User status: Offline
|
Right i have the following setup:
Internet -> Smoothwall/Firewall Box (192.168.10.1, subnet 255.255.255.0) - > 5 Port Switch
Everyone connects to the switch and gets a static ip - 192.168.10.x etc
However, from the switch my roommate connection is
Switch - > Linksys Router (Gateway 192.168.10.3, his IP from smoothwall) - > Mac/Xbox/Pc etc (Everything on his side gets, 192.168.0.X, currently same subnet as smoothwall 255.255.255.0)
Basically we want to do some internal file sharing from mine to his & visa versa. He has ported forward the ports, 134-139 (TCP and UDP) and Netbios port 445 (TCP and UDP), yet we still cant get it to work.
Tried setting up a static route from his router to my PC, but the linksys doesn't want any of it.
Anyone got any ideas? Will it be the case that he is using the same subnet (which i believe makes it transparent, i theory)?
And i know the better way would be for him to have a switch instead but he needs wireless for his laptop etc.
Any help will be much appriciated
Dom
Edit - Diagram:
[Edited on 19-02-2007 by Dom]
|
John
Member
Registered: 30th Jun 03
User status: Offline
|
His ip's would have to be 192.168.10.x as well would they not?
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
Would be easier if you were all on the same subnet.
Could DMZ his computer in the Linksys as well?
Does each machine respond to pings? That will tell you if the route is OK unless they are also being ignored. If they're not then that needs fixing before you open up the ports.
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
Well his router WAN is given the ip 192.168.10.3 from smoothwall, and then his mac/pc/xbox is given a static ip 192.168.0.X etc from his linksys router (internal address of his linksys, 192.168.0.1 - ie: what he sees as his gateway not smoothwall like the rest of us).
It works at the moment and i (and my other roommates) can ping his router and everyone else on the network, except he can't see anything beyond his router, ie: us, but can see the internet..so it's double NAT'd i believe?
I'll try the DMZ and see how i get on.
But ideally, is there anyway i can switch the linksys to act as a switch with wireless rather than a router? would solve the problem i believe.
And Ian, his linksys and network is perfectly fine sharing the same subnet as us? Doesn't that mean, in theory, that his router would be transparent yet still double nat'ing?
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
You could try the uplink in a LAN port and give them all IPs on the same subnet. Not sure if they're designed to work in that way although there is no reason why this wouldn't work. Router doesn't really need WAN for anything and if there is no need to route anything then it won't do. Perhaps set it up WAN side to route to 10.0.0.1 or something which will never happen.
|
willay
Moderator Organiser: South East, National Events Premium Member
Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
|
If I'm reading the diagram correct, for the machines to contact everythnig seemlessly, the machines on the 192.168.10.0/24 network need to have a default gateway of the Smoothwall box 192.168.10.1, and you need to ensure the Smoothwall box has a static route for 192.168.0.0/24 via 192.168.10.3.
The machines on the 192.168.0.0/24 network need to have a default gateway of the Wireless router on their LAN 192.168.0.1
|
willay
Moderator Organiser: South East, National Events Premium Member
Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
|
The wireless router will not require any routes because it is connected to both subnets in question, though it may require a default route of the Smoothwall box to ensure it can route packets to the Internet and back.
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
The systems on the 192.168.10.0/24 network do have their gateways set to the smoothwall box (192.168.10.1) and when you mean static route for the wireless router (192.168.0.0/24) via 192.168.10.3, you mean static IP? If so then thats the case, the wireless routers wan port is set to the static IP address (192.168.10.3) from smoothwall.
Though static route from the wireless router to the smoothwall box?
Have tried everything so far, can ping his routers (192.168.10.3) wan port fine, but can't ping any of his systems behind it (192.168.0.x)
Cheers for the help guys though, much appriciated
|
Tim
Site Administrator
Registered: 21st Apr 00
User status: Offline
|
Was about to reply, but just realised I'd be saying exactly what willay did
The smoothwall box needs to be aware of how to route to 192.168.0/24. Once you have that static route in place, communication would just follow:
Your PC --> Smoothwall --> Linksys --> His PC
Because your PC doesn't know how to route to 192.168.0/24, it just forwards the packets to the default gateway (the Smoothwall). It's the Smoothwall's job to forward these packets to the appropriate router, so that's where you need the routing corrected.
You could just add a static route on all your machines, but why duplicate effort/management. Alternatively just disable NAT on his Linksys and use it purely as a wireless access point.
[Edited on 21-02-2007 by Tim]
|