Re: bridge+dhcp+nat in a single box

"Marco Carvalho" <[email protected]> Thu, 31 Aug 2006 09:43:53 -0300
Newsgroups gmane.linux.network.bridge.ebtables.user
Message-ID <[email protected]>
On 8/31/06, [email protected] <[email protected]> wrote:
>
> >----- Oorspronkelijk bericht -----
> >Van: Marco Carvalho [mailto:[email protected]]
> >Verzonden: woensdag, augustus 30, 2006 09:12 PM
> >Aan: [email protected]
> >Onderwerp: [Ebtables-user] bridge+dhcp+nat in a single box
> >
> >Hi all
> >
> >I want to do something like this:
> >
> >
> >Router-------<eth0>bridge+dhcp+nat<eth1>----bridge(terabeam)---------some
> >clients with valid IP
> >                                                                    |
> >
> >--------------- some clients with invalid IP (dhcp)
> >
> >Well, I need that some clients with valid IPs pass through bridge
> >directly, without routing and some clients get an IP via DHCP and be
> >masqueraded.
> >
> >Now bridge is working like a charm and clients with valid IPs can navigate.
> >clients without valid IP can get an IP from DHCP, but can't navigate.
>
> Is the routing table of the router correct? Make sure it uses eth0 and eth1, not br0...
>
>
Yes:

radiogw:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
200.XXX.XXX.0   *               255.255.255.192 U     0      0        0 eth0
192.168.200.0   *               255.255.255.0   U     0      0        0 eth1
default         200.XXX.XXX.1 0.0.0.0         UG    0      0        0 eth0

> cheers,
> Bart
>

Thanks

-- 
Marco Carvalho (macs) | marcoacarvalho(a)gmail.com
http://arrakis.no-ip.info  | http://cdd.debian-br.org
Maceio - Alagoas - Brazil
Debian GNU/Linux unstable (Sid)
GNU-PG ID:08D82127 - Linux Registered User #141545
Notícias Semanais do Debian em Português: http://www.debian.org/News/weekly
Alertas de Segurança Debian (DSA): http://www.debian.org/security

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642