From: kashani <kashani-list@badapple.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Routing problem ?
Date: Fri, 11 Jan 2008 12:09:14 -0800 [thread overview]
Message-ID: <4787CCEA.4010006@badapple.net> (raw)
In-Reply-To: <184110a70801102052m2b2a1a13g1b61d1d1259d4c5b@mail.gmail.com>
Mike Mazur wrote:
>> Router1 needs a route to point back to PC2 so when traffic bound for it
>> comes it, it'll know what to do with it.
>> route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.23
>
> Also if you want PC2 to access the net, you would need PC1 to be smart
> enough to route/NAT packets from PC2 to Router 1.
Not true in this case.
Router1 is the NAT device and everything else is internal or so I
assumed. You don't want NAT behind NAT on your network if you can help
it. It tends to break things and is hard to troubleshoot.
PC1 does need to have IP forwarding turned on which the original poster
mentioned he configured.
The tests I would run are:
ping 192.168.2.43 from router1. That'll test that router1 knows how to
get to 192.168.2.0. I don't think packet forwarding has to be working
for this to return since the interfaces are all local on PC1.
ping router 1 from PC2 and vice versa. That'll make sure that PC1 is
forwarding packets correctly.
If both of these are fine, it's possible the router1 is not NATing
192.168.2.0/24 addresses.
kashani
--
gentoo-user@lists.gentoo.org mailing list
next prev parent reply other threads:[~2008-01-11 20:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-11 1:36 [gentoo-user] Routing problem ? Holla
2008-01-11 3:14 ` kashani
2008-01-11 4:52 ` Mike Mazur
2008-01-11 15:18 ` Holla
2008-01-11 20:09 ` kashani [this message]
2008-01-13 11:12 ` Holla
2008-01-13 13:06 ` Hans-Werner Hilse
2008-01-16 12:22 ` Mick
2008-01-16 21:10 ` kashani
2008-01-17 1:31 ` Holla
2008-01-11 15:15 ` Holla
2008-01-11 14:39 ` YoYo Siska
2008-01-11 16:20 ` Holla
2008-01-11 17:50 ` [gentoo-user] " reader
-- strict thread matches above, loose matches on Subject: below --
2008-01-11 17:14 [gentoo-user] " Richard Torres
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4787CCEA.4010006@badapple.net \
--to=kashani-list@badapple.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox