From: "Michal 'vorner' Vaner" <vorner@ucw.cz>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Routing: how to enable..
Date: Sat, 17 Feb 2007 23:28:48 +0100 [thread overview]
Message-ID: <20070217222848.GA32624@tarantula> (raw)
In-Reply-To: <200702172307.37468.surely@life.de>
[-- Attachment #1: Type: text/plain, Size: 1456 bytes --]
Hello,
On Sat, Feb 17, 2007 at 11:07:34PM +0100, Roman Naumann wrote:
> Here the whole configuration: (imagine it as a complicated line of different
> connections through the entire house...)
> [SNIP]
Hm, I think in theory you should have the PC in the middle with 2 IP
addresses, on each interface different. On each segment (each side of
the middle one) should be IPs from different range and there should be
allowed routing (that I do not know how). It would look like this:
-->( PC1 <IP-A/Range1> ) -- ( <IP-B/Range1> PC2 <IP-C/Range2> ) -- ( <IP-D/Range2> PC3 )
PC2 can comm with all (since it is on both nets). PC3 shloud use IP-C as
its gateway, which will allow it to access PC1. PC1 should have static
route for whole Range2 to IP-B, so it can send to PC3. Now, how is that
set in Windows, who knows..
After this all is set, PC1 and PC3 should be able to talk to each other.
However, you will not see the pings unless both directions work.
So, you need to:
• PC3: /etc/conf.d/net:routes_eth0 = { default via IP-C }
• PC2: enable routing (I guess /etc/conf.d/net too)
• PC1: add a static route Range2 -> IP-B.
I just hope I did not mess that up.
Or you can set up a bridge on PC2 to make both segments one net only:
http://gentoo-wiki.com/HOWTO_setup_a_gentoo_bridge
Have a nice day
--
BOFH Excuse #452:
Somebody ran the operating system through a spelling checker.
Michal 'vorner' Vaner
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-02-17 22:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-17 20:22 [gentoo-user] Routing: how to enable Roman Naumann
2007-02-17 20:42 ` JT Justman
2007-02-17 22:07 ` Roman Naumann
2007-02-17 22:28 ` Michal 'vorner' Vaner [this message]
2007-02-18 0:13 ` JT Justman
2007-02-17 20:46 ` sunnavy
2007-02-22 23:27 ` Dan Farrell
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=20070217222848.GA32624@tarantula \
--to=vorner@ucw.cz \
--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