/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */
On Mon, 30 Aug 1999, Dabe Murphy wrote:
> 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.
I looked briefly at this a while back and found that the decision on
which IP address for masq to use was being made outside of the masq
code per se. I didn't dig any further than that.
--
John Hardin KA7OHZ [EMAIL PROTECTED]
pgpk -a finger://gonzo.wolfenet.com/jhardin PGP key ID: 0x41EA94F5
PGP key fingerprint: A3 0C 5B C2 EF 0D 2C E5 E9 BF C8 33 A7 A9 CE 76
-----------------------------------------------------------------------
Monty Python's Star Trek Voyager:
A successful trans-warp experiment turns Paris and Janeway into
newts, but they get better.
...wait a minute... It's already been done...
-----------------------------------------------------------------------
Today: A Civil Campaign is officially released
_______________________________________________
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.