Ethernet Bridge development
 help / color / mirror / Atom feed
From: Marek Kierdelewicz <marek@piasta.pl>
To: bridge@lists.osdl.org
Subject: Re: [Bridge] transparent bridge and proxies
Date: Fri, 25 Aug 2006 00:20:02 +0200	[thread overview]
Message-ID: <20060825002002.53eff15f@localhost.localdomain> (raw)
In-Reply-To: <44EDE259.4050009@dotr.com>

> Now, for the twist. For development and testing, I assigned an ip 
> address and gateway to the bridge. I need to be able for a "non-it" 
> person to install this box without having to set it up at all , so it 
> cannot have an ip address assigned, as it *may* be in use somewhere
> else on the lan or router.

One sure and elegant solution is using dhcpcd for bridge adressing.
Unfortunately this requires dhcp server on the net. Dhcp would also
ensure ip clashes avoidance.

Loot at http://www.isc.org/index.pl?/sw/dhcp/.

> So, I changed the ip address to 0.0.0.0. Everything except squid
> still worked. I presume that's because it does not know how to route
> the data to get stuff.

I don't think you could make squid work without IP address assigned.

> Can I add a rule to iptables or something to say "anything that's
> come from eth1 into the local box, after processing send to eth0" and 
> vice-versa ?

Squid needs dns access and needs to know where to direct it's
requests.

regards,
-- 
Marek Kierdelewicz
Kierownik Dzia?u Systemów Sieciowych, KoBa
Manager of Network Systems Department, KoBa
tel. (85) 7406466; fax. (85) 7406467
e-mail: admin@koba.pl


  parent reply	other threads:[~2006-08-24 22:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-24 17:31 [Bridge] transparent bridge and proxies Julian Lyndon-Smith
2006-08-24 18:20 ` Marek Kierdelewicz
2006-08-24 20:17 ` Benny Amorsen
2006-08-24 22:42   ` Etienne Pretorius
2006-08-24 20:17 ` Melissa Meyer
2006-08-24 22:05   ` Julian Lyndon-Smith
2006-08-24 22:34     ` Melissa Meyer
2006-08-24 22:20 ` Marek Kierdelewicz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-08-25 10:53 Skept

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=20060825002002.53eff15f@localhost.localdomain \
    --to=marek@piasta.pl \
    --cc=bridge@lists.osdl.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