* [Bridge] Help: Bridge and NAT through same NIC?
@ 2007-02-08 7:14 Hotbelgo
0 siblings, 0 replies; 3+ messages in thread
From: Hotbelgo @ 2007-02-08 7:14 UTC (permalink / raw)
To: bridge
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
^ permalink raw reply [flat|nested] 3+ messages in thread* [Bridge] Help: Bridge and NAT through same NIC?
@ 2007-02-08 7:18 Hotbelgo
0 siblings, 0 replies; 3+ messages in thread
From: Hotbelgo @ 2007-02-08 7:18 UTC (permalink / raw)
To: bridge
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
^ permalink raw reply [flat|nested] 3+ messages in thread* [Bridge] Help: Bridge and NAT through same NIC?
@ 2007-02-08 7:18 Hotbelgo
0 siblings, 0 replies; 3+ messages in thread
From: Hotbelgo @ 2007-02-08 7:18 UTC (permalink / raw)
To: bridge
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-08 7:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-08 7:14 [Bridge] Help: Bridge and NAT through same NIC? Hotbelgo
-- strict thread matches above, loose matches on Subject: below --
2007-02-08 7:18 Hotbelgo
2007-02-08 7:18 Hotbelgo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox