/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */
I checked the archives, but maybe I'm dense...
Let's say I have a machine with two NIC's, and on the "outside" NIC I have
a handful of VIF's, and the other is the gateway to my private network,
like:
prompt# ifconfig -a
eth0 inet addr:172.17.2.6 Bcast:172.17.2.255 Mask:255.255.255.0
eth0:0 inet addr:172.17.2.7 Bcast:172.17.2.7 Mask:255.255.255.255
eth0:1 inet addr:172.17.2.8 Bcast:172.17.2.8 Mask:255.255.255.255
eth1 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
Is it possible to specify a masq such that outbound packets from, say,
192.168.0.100 are rewritten to appear as if they originated at the
"eth0:1" address, "172.17.2.8", rather than the default "eth0" address?
This happens to be under stock RedHat 6.0.
Also, has anybody else had troubles implementing the bridging technique
described in the "Bridge+Firewall" mini-HOWTO? I'd like to be able to
set up my Linux box to do routing without having to add static routes to
my upstream router (That is to say, I'd like Linux Box "A" to be able to
watch packets on Subnet "A", and pick up any that are bound for Subnet
"B" and pass them over, even if they aren't routed directly at Box "A").
Any help would be appreciated, thanks!
Dabe
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.