Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network with 2 routers
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
kofspades
n00b
n00b


Joined: 19 Nov 2005
Posts: 1

PostPosted: Sat Nov 19, 2005 5:50 pm    Post subject: Network with 2 routers Reply with quote

I've looked all throughout this forum (as well as doing the traditional google searching), but my search terms must be off. So I've broken down and registered to this wonderful forum (that has helped me so much already) to ask my question. Now off to my little problem:

I want to setup my network to have 2 routers. I've got a commercial D-Link router as well as an old pc with a couple NIC cards. I've got the pc working fine with DHCP and I can actually get to the internet and do all of that. My problem is that I cannot see any computers on the other subnet. Example, if my IP is 192.168.1.200 and I try pinging 192.168.0.100 I get request timed out. My PC router is a dhcp client of the D-Link router with IP 192.168.0.105

Code:

(Cable Modem) <--> (D-Link) <--> (PC1 - 192.168.0.100)
                     |
        (PC Router - 192.168.0.105 & 192.168.1.0) <--> (PC2 - 192.168.1.200)


Is there a way for my PC Router to just be a "passthrough" and actually have PC2 get a 192.168.0.X IP? Am I looking to do a bridge? Please help point me in the right direction.

Thanks.
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Sat Nov 19, 2005 6:07 pm    Post subject: Reply with quote

I may be wrong, but it seems that all you need is to define routes on the .0 netwrk (including the D-Link router) to reach the .1 one through your PC router (192.168.0.105, the address should be fixed declaring it as static or reserving it in DHCP address for the MAC address). I suppose that default gateway on the .1 network is your PC router (192.168.1.0).
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
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