LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Computers behind router behind computer behind router (http://www.linuxquestions.org/questions/linux-networking-3/computers-behind-router-behind-computer-behind-router-320524/)

remi 05-05-2005 04:56 PM

Computers behind router behind computer behind router
 
Hello everyone,

I got a complex problem for you... Okay, maybe it's not complicated for some of you, but I'm still not used to play with IP forwarding and iptables. I have Fedora Core 3 with 2.6.11-1.14_FC3 kernel. Here's my setup:

Internet
|
Friend's wireless router
(internal IP 192.168.1.254, external IP provided by ISP)
|
My wireless card
(192.168.1.7/255.255.255.0 dynamic IP)
|
My Linux computer
(192.168.1.7, 192.168.128.1)
|
| <---- Above works. Stops working after here.
|
Linksys router w/ VoIP phone ports
(maybe 192.168.128.x and 192.168.15.1)
|
My VoIP phone and roommate's computer
(192.168.15.x)

And some information about my physical and virtual network adapters:

ath0: Wireless network card getting dynamic IP address from friend's router. Gateway 192.168.1.254.
eth0: Network adapter which links the computer to my router. Static IP set to 192.168.128.1.
(I have a few other working virtual adapters not applicable here.)

The router has an internal IP of 192.168.15.1, which I'm unable to reach from my computer.

Obviously, I am connected to the Internet. (I'm writing this post using my computer.) I can connect on my friend's network across the street without a problem. My roommate would like a connection too which he would only use for e-mail anyways, and I would like to be able to use my Vonage VoIP service as well, all that using the Linksys VoIP router provided to me by that company. Also, any ports I would need to open on my friend's router?

Anyone has any idea about where to start setting that up? I read some HOWTOs, but they are all about a computer with multiple Ethernet ports. I only have one. So, I'm clueless.

Thanks in advance!

Remi

Nalorin 05-05-2005 05:08 PM

you should probably hook up that voip phone into the first router, because I don't think they really like having to go through 2 firewalls...

another option would be to disable the router inside your network (basically so it acts as a hub instead of a router), and then that router and the computers (and voip phone) will get IPs from the other router, and the problem *should* be solved..

another option: hook everything up to the first router.

another option: light it on fire and let the insurance take care of it??? :D


All times are GMT -5. The time now is 05:23 PM.