From: Julian Anastasov <ja@ssi.bg>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] Serious Routing problem
Date: Sat, 06 Jul 2002 17:45:24 +0000 [thread overview]
Message-ID: <marc-lartc-102597752415478@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102591830520569@msgid-missing>
Hello,
On Sat, 6 Jul 2002, Segree, Gareth wrote:
> [128.187.1.1] gw none [128.187.2.1] gw none
> __________________[eth1-- Server -- eth2]__________________
> / \
> 24-port Hub 1 24 port Hub 2
> +-----------+ +-----------+
> +-----------+ +-----------+
> /\______________[eth1-- Linux Firewall --eth2]__________________/\
> / [128.187.3.1] [128.187.4.1] \
> [clients1] [clients2]
> 128.187.3.0/24 gw eth1 128.187.4.0/24 gw eth2
Hey, your setup is rather complex.
OK, where do you think is the problem? Did you really tried
to set /proc/sys/net/ipv4/conf/*/rp_filter to 0, both on Server
and Firewall? Tests with tcpdump can show what does not work.
If rp_filter=1 is the problem and you still require rp_filter=1
then you need some patching:
http://www.linuxvirtualserver.org/~julian/#rp_filter_mask
http://www.linuxvirtualserver.org/~julian/#medium_id
In short, Server and Firewall should allow traffic from
the clients to come via the both interfaces. rp_filter=1 allows
the traffic to come only from one interface. rp_filter_mask
extends the allowed devices according to the medium_id values and
routes. Note that rp_filter constrols both ARP and IP.
If you decide using the above features then you have to
mark each hub with specific medium_id value and then to set
medium_id value and rp_filter_mask for each interface to allow
traffic from the both mediums.
> I want clients1 to be able to reach eth2 on server [128.187.2.1] if eth1 on
> Server goes down and visa versa.
If you need failover then we come to other features:
http://www.linuxvirtualserver.org/~julian/#routes
You need to use alternative routes for the local networks,
IMO both on Server and Firewall. In short, these 2 boxes will
have two routes for the remote subnet, one for each devices. The
patches will do passive failover by inspecting the ARP state
for all neighbours. If one NIC fails it will be noticed and the
alternative route will be used. There are so many variations for
the settings so I only can recommend you to read the docs provided
on the above URLs. You are just starting ... :)
> Does this explain better.
Better - yes, enough - no :) Welcome to the world of
advanced routing :) There are no many ways to build working setup
but there are huge number of settings that can break it :)
Regards
--
Julian Anastasov <ja@ssi.bg>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2002-07-06 17:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-06 1:12 [LARTC] Serious Routing problem Segree, Gareth
2002-07-06 3:46 ` tc lewis
2002-07-06 6:12 ` Julian Anastasov
2002-07-06 15:39 ` Segree, Gareth
2002-07-06 16:04 ` Julian Anastasov
2002-07-06 16:57 ` Segree, Gareth
2002-07-06 17:45 ` Julian Anastasov [this message]
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=marc-lartc-102597752415478@msgid-missing \
--to=ja@ssi.bg \
--cc=lartc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.