[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bridging ppp connection with ethernet connection?



On Thu, Feb 21, 2002 at 03:22:46PM +0000, Charlie Grosvenor wrote:
| Hi
|     I have a machine running debian that has a ppp connection to the
| internet (ppp0) and an ethernet connection to my network (eth0. I have 6
| static public ip addresses, at the moment the debian machine has two of
| these one for the external interface ppp0 and one for the internal interface
| eth0. Is it possible to bridge the two interfaces so that they both have the
| same ip? If so how can i do this? If this can be done can i still use
| iptables to set define what packets are allowed into/out of my network?

Either
    route the "internal" machines straight to the internet, since each
    has its own (public) IP anyways,
or
    use masquerading (RTFM on NAT at netfilter.samba.org) to make the
    internal machines invisible and all traffic appears to come from
    the gateway.  In this situation you do not need public IPs for the
    internal machiens

-D

-- 

After you install Microsoft Windows XP, you have the option to create
user accounts.  If you create user accounts, by default, they will have
an account type of administrator with no password.
                                                            -- bugtraq



Reply to: