Re: user-specific ip-addresses

From: Robert M. Albrecht
Date: Wed Mar 25 2009 - 10:04:43 EST


Hi,

they login via eth0 (10.0.0.5). They leave via eth1 (192.168.1.5).

But I need the users to leave with different originating ips:

joe 192.168.1.6
bob 192.168.1.7
alice 192.168.1.8

I need different ips for different users. The users are connecting to a mainframe, and the mainframe does not like multiple user coming from the same ip. The mainframe application does not use session-ids, but the originating ip to handle the different users. If multiple users have the same ip, the mainframe app borks and mixes the sessions between the users.

cu romal



Am 25.03.2009 um 09:57 schrieb Abbhishek Misra:

"leaving the system on the customers interface. BUT I need them to leave with different IP-addresses (al in the same subnet)."
Could you give more clarity on this !!

On Wed, Mar 25, 2009 at 11:48 AM, Robert M. Albrecht <linux@xxxxxxxx> wrote:
Hi,

I have a tricky problem. I need a dual-homed linux box, one nic is connected to our network, the other nic is connected to the customer network.

Several users from us are logging in via our interface and are leaving the system on the customers interface. BUT I need them to leave with different IP-addresses (al in the same subnet).

Is there some netfilter or virtual ip address magic to do this ?

cu romal

--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html