You can't have the same network on multiple interfaces unless
you do bridging. Since bridging is BAD.. You need to add
another network address. ie:
Linux Ethernet: MASQ'ed Ethernet:
192.168.0.1 192.168.0.[2-254]
Linux PLIP: MASQ'ed PLIP:
192.168.1.1 192.168.1.2
After you get that working, you'll need to:
1) add another IPCHAINS Masq line to support MASQing
on the 192.168.1.x network
2) Add forward lines to able to forward packets back
and forth from the 192.168.0.x and 192.168.1.x networks.
--David
I have three hosts on the 192.168.1.0 network all but the masqing box
will respond to the laptop... I think my chains are messed
up... Here is my policy... I know its messy but I needed to get it up to
do homework...
Chain input (policy reject)
ACCEPT ALL - 192.168.1.0/24ANYWHEREN/A
ACCEPT all -- anywhere st131140.ithaca.edu n/a
ACCEPT all -- anywhere anywhere n/a
Chain forward (policy REJECT):
MASQ all -- 192.168.1.0/24anywhere n/a
MASQ all -- anywhere 192.168.1.0/24n/a
Chain output (policy REJECT):
ACCEPT all -- anywhere 192.168.1.0/24n/a
ACCEPT all -- st131140.ithaca.edu anywhere n/a
ACCEPT all -- anywhere anywhere n/a
..
| David A. Ranch - Linux/Networking/PC hardware [EMAIL PROTECTED] |
!!
`- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -'
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]