View previous topic :: View next topic |
Author |
Message |
froonk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/91287694141ee6aee98b84.jpg)
Joined: 27 Jul 2004 Posts: 44 Location: Hamburg, Germany
|
Posted: Mon Aug 02, 2004 7:16 pm Post subject: [solved] ip from one netw. to another with gentoo between it |
|
|
Hi everybody,
I have an old P-II running with gentoo, it's supposed to work as a DSL-Router one day, but at this moment it is connected via eth0 to one host(192.168.0.1), and via eth1 to another(192.168.1.16). On eth0 it has 192.168.0.17, on eth1 192.168.1.17. The 192.168.1.16's gateway is 192.168.1.17. My problem for now is that I can't ping from 192.168.1.16 over my maybe-someday-router to 192.168.0.1 although ip_forward is turned on. What else needs to be done? I have iptables installed but all chains are empty with policy accept.
thx for your help
Last edited by froonk on Mon Aug 02, 2004 10:07 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
br0mGreV Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 28 Jul 2004 Posts: 265 Location: Paris, France
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kpack Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 29 Mar 2004 Posts: 137
|
Posted: Mon Aug 02, 2004 8:47 pm Post subject: |
|
|
Double check everything. The configuration you're describing is correct and you shouldn't have to add anything to IPTables. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
froonk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/91287694141ee6aee98b84.jpg)
Joined: 27 Jul 2004 Posts: 44 Location: Hamburg, Germany
|
Posted: Mon Aug 02, 2004 8:48 pm Post subject: |
|
|
I took a quick look at that. Don't blame me to be lazy, but before I read further into it just one more question:
Everything there seems to be about NAT, but I do not need to masqerade between my two networks even if I just want to ping? And if not, do I still have to define rules? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
froonk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/91287694141ee6aee98b84.jpg)
Joined: 27 Jul 2004 Posts: 44 Location: Hamburg, Germany
|
Posted: Mon Aug 02, 2004 9:06 pm Post subject: |
|
|
whoops kpack i oversaw your reply, but that's good, i was just throwing my whole understanding about ip over board ![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
think4urs11 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8534934054bad29b51e5fa.jpg)
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Mon Aug 02, 2004 9:18 pm Post subject: |
|
|
check the routing tables on 192.168.0.1 + 192.168.1.16
both have to have an entry to the other subnet via your P-II _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
froonk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/91287694141ee6aee98b84.jpg)
Joined: 27 Jul 2004 Posts: 44 Location: Hamburg, Germany
|
Posted: Mon Aug 02, 2004 9:47 pm Post subject: |
|
|
that was it! I forgot that 192.168.0.1 must also know where to find 192.168.1.16. I'm happy to tell you that these letters are forwarded through my good old P-II thank you! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
think4urs11 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8534934054bad29b51e5fa.jpg)
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Mon Aug 02, 2004 10:04 pm Post subject: |
|
|
no prob
as soon as you set the threat title to [solved] i'm as happy as you are now *g* _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kpack Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 29 Mar 2004 Posts: 137
|
Posted: Mon Aug 02, 2004 11:53 pm Post subject: |
|
|
Just to be clear here, am I correct that 192.168.0.17 is not the default gateway for 192.168.0.1, and that the solution only involved creating a routing table entry on 192.168.0.1? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
froonk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/91287694141ee6aee98b84.jpg)
Joined: 27 Jul 2004 Posts: 44 Location: Hamburg, Germany
|
Posted: Tue Aug 03, 2004 7:08 am Post subject: |
|
|
Well... yes.
but wasn't it that kind of mistake that you've had expected when you advised me to double check everything? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|