From: Hotbelgo <hotbelgo@gmail.com>
To: bridge@lists.osdl.org
Subject: [Bridge] Help: Bridge and NAT through same NIC?
Date: Thu, 08 Feb 2007 08:18:45 +0100 [thread overview]
Message-ID: <45CACED5.50701@gmail.com> (raw)
I am so out of my depth on this one, but I would welcome some help. I
have the following network and did get it to work with m0n0wall (a BSD
firewall) an option called "transparent bridge". I've switched to Clark
Connect because of its support for content filtering, and installed
bridge-utils.
I have a home network based a single WAN-facing NIC, eth0, that gets a
public IP address from DHCP and two internal NICs:
- eth1: that provides simple NAT for several PCs
- eth2: a cable set-top-box that needs an IP address from a specific,
and separate, DHCP server (that checks MAC addresses so that only STBs
can connect to it).
The diagram summarises:
Internet --- DHCP server ------ eth0 ------- eth1 ---- Home network
(public IP) | |
| |
TV-content --DHCP (server) --- -- eth2 ---- TV set-top box
(Private IP)
I tried to set up a bridge of eth0 and eth2 using:
ifconfig eth0 0.0.0.0
ifconfig eth2 0.0.0.0
brctl addbr mybridge
brctl addif mybridge eth2
brctl addif mybridge eth0
ifconfig mybridge up
But that did not enable my STB to connect and meanwhile I had of course
lost connectivity for the PCs.
HB
next reply other threads:[~2007-02-08 7:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-08 7:18 Hotbelgo [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-02-08 7:18 [Bridge] Help: Bridge and NAT through same NIC? Hotbelgo
2007-02-08 7:14 Hotbelgo
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=45CACED5.50701@gmail.com \
--to=hotbelgo@gmail.com \
--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