Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with routing, ....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rado3105
Apprentice
Apprentice


Joined: 14 Jul 2007
Posts: 293

PostPosted: Thu Apr 09, 2009 4:39 pm    Post subject: Help with routing, .... Reply with quote

Image of network:
http://i39.tinypic.com/2qkl0k1.png

I can get from PC 2 to main router, but I cant get from PC1 to router2 and AP3. Can you help if it is possible and how to setup it to be it able?
I need it for configration of router2 and APs behind him. Or help to find any manual to learn how to do that.

Mod edit: Fixed BBcode (code :arrow: url). --timeBandit
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Thu Apr 09, 2009 10:24 pm    Post subject: Reply with quote

If I understand the picture correctly, router1 is providing 2 different subnets 192.168.1.0/24 and 192.168.10.0/24

The problem is that pc1 is on the wrong subnet to be able to remotely administer router2. pc1 needs a 192.168.10.xxx address.
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Thu Apr 09, 2009 10:32 pm    Post subject: Reply with quote

assuming all routers are forwarding packets correctly, on PC1 (assuming it's linux):

route add -net 192.168.10.0 via 192.168.1.1

To reach the next subnet, make sure that router1 has a proper route to 10.0.0.0/8 via 192.168.10.6 (router2), then on PC1:

route add -net 10.0.0.0 via 192.168.1.1

At that point PC1 should be able to reach every host in that picture.

Of course, NAT anywhere along the line will make none of this work.
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum