Hello everyone.
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|
+-----------------+
In setup I do:
# modprobe bridge
# modprobe br_passthrough
# ifconfig eth0 promisc up
# ifconfig eth1 promisc up
# brctl addbr mybridge
# brctl addif mybridge eth0
# brctl addif mybridge eth1
# ifconfig eth0 0.0.0.0 (should I do this?)
# ifconfig eth1 0.0.0.0
# ifconfig mybridge up (or should I give IP to bridge interface?)
Sincerely,
Elvis Zaichenok
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge