Benjamen R. Meyer wrote:
Ramon van Alteren wrote:
BRM wrote:
Ok, first - I wasn't sure which list this should go to, so if this is
the wrong list please just let me know.
Server is fine, just don't cross-post.
Ok, thanks. Yeah - I only do that when the info provided about several
lists is not clear enough wrt the problem I am having...thanks.

<Snip lots of lines>
Any how...any advice on the proper way to do this would be greatly
appreciated. I really like Gentoo and really do want to keep - I use to
keep Slack up-to-date manually, and just don't have the time for it
anymore, which is why I'm trying Gentoo.
I don't understand what the end-result should be.
Could you explain what kind of setup you are aiming for ?
Is this a router in a small network or a single host with multiple
uplinks ?

This is my home network - so yes, it is a router & firewall for a small
network, but it also doubles as my server for Subversion, Apache, DNS,
and other stuff that I run (namely to play with, but also for other
reasons). It does have multiple interfaces (eth0 connected to the
Internet, and eth1 & eth2 connected to my home network).

I use the ethX:Y aliases to separate some of the services out onto
separate IPs for logical reasons.

I know - it's a bit of overkill for my small network, but it's fun to
play with & maintain - and I have installed networks for companies based
on it - so it's useful experience too.

I've tried the following:
route_eth1("default via ${COMMAND_STRING_TO_EXTRACT_IP_OF_ETH1}")
I fail to see how this could ever work, adding a default route for an
interface with the ip-address of the same interface.

Oops...that should have been:

route_eth1("default via ${COMMAND_STRING_TO_EXTRACT_IP_OF_ETH0}")

typo in the original.

Please describe the situation and your end-goal more clearly.

Basic Diagram:

             +-------server--------+
             |                     |
Internet <-> - eth0                |
             |   ^                 |
             |   |                 |
             |   +->Firewall       |
             |        ^            |
             |        |            |
             |        +------>eth1 - <-> Home Network #1
             |        |            |
             |        +------>eth2 - <-> Home Network #2
             |                     |
             +---------------------+

End Goal:

1. The "server" shall provider router & firewall functionality in order
to provide Internet access to itself and clients on the Home Networks.
2. The "firewall" shall only allow desired traffic through.
2.1 Desired traffic shall be defined as traffic that originates from the
Home Network and the "server" itself; as well as allowed daemon services
provided by the "server" itself.
3. The router shall direct traffic to the appropriate networks.

I could go into some more details - as I am eventually planning on doing
some more things, like separating traffic between my "wireless" &
"wired" systems. However, that is a future project at this point. My
primary goal is the above so that I can replace my older server with my
new one.

Ben
Take a look at this, maybe this guide will help, not sure if you've read it yet or not.

http://www.gentoo.org/doc/en/home-router-howto.xml

Reply via email to