On Thu, Sep 20, 2001 at 02:44:45PM +0300, Elvis Zaichenok wrote:

> Hello everyone.

Hi there,


> I want to set bridging and SNAT work in one Linux box.
> The schema is:
> 
> +---------------+
> |Internet (ADSL)|
> +---------------+
>        |196.33.208.193
>        |
>        |eth0: 196.33.208.194
> +----------------------+
> |Linux 2.4.9 +         |
> |all bridge_nf patches |
> |with SNAT                  |
> +----------------------+
>        |eth1: 192.168.0.1
>        |
>        |
> +-----------------+
> |     LAN         |
> |192.168.0.0/24   |
> |196.33.208.192/27|
> +-----------------+

Have you checked whether your cable modem accepts multiple MAC addresses?
Some cable modems only accept traffic from the first MAC address they see
on the internal net, supposedly in order to prevent people sharing the
connection. If the cable modem doesn't allow this, you're better off using
a proxy ARP setup.

Your topology is somewhat weird. You have both well-known and 192.168
addresses inside? Why? If you have machines that you want to be visible
to the outside and machines you don't want to be visible to the outside,
you're probably better off splitting your eth1 into eth1 and eth2 (add a
network card), put the 192.168 machines on eth1 and the 196.33 machines
on eth2, make a bridge between eth0 and eth2, assign the source NAT address
to br0, and masquerade traffic coming from eth1 to br0.


cheers,
Lennert


-- 
 I are sigfile disease!!
 All your quote are belong to us.
 Copy us every "sig"!
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to