Re: 2 NICs and the source ip address

2003-07-17 Thread Thomas Gebhardt
Hi, > It depends on your routing configuration where the packets go to. > Could you send the output of ok. Let's be specific now. This is the setup: / \ (

Re: 2 NICs and the source ip address

2003-07-17 Thread Lukas Ruf
Thomas, Thomas Gebhardt <[EMAIL PROTECTED]> [2003-07-17 09:47]: > it is possible to use NAT to do that. My question is, however: is it > really necessary to use such a heavyweight tool for such a simple > setup: > > 1. Host has 2 NICs > 2. No forwarding between the two NICs > 3. Just ensure that

Re: 2 NICs and the source ip address

2003-07-17 Thread Thomas Gebhardt
Hi, > have you checked: > NAT -- network address translation (aka Masquerading)? > You will find a lot of helpful information in yes, as I mentioned briefly >> Is there an easy and preferred way to accomplish this goal (which >> seems to be not that uncommon)? Should I use iproute2 or even >>

Re: 2 NICs and the source ip address

2003-07-16 Thread Lukas Ruf
Thomas Gebhardt <[EMAIL PROTECTED]> [2003-07-16 16:43]: > > > This will result in the correct routing table. But there is no > control of the source ip address leaving eth0 or eth1. It seems > preferable that all packages going through eth0 are given the > source ip address 1.2.3.4 and all the pa

2 NICs and the source ip address

2003-07-16 Thread Thomas Gebhardt
Hi, I'm wondering whether there is a simple and preferred way to configure the ip parameters for the following situation: Host A has 2 NICs (say eth0 and eth1), where eth0 is connected to the LAN and is given the ip address 1.2.3.4. The DNS entry of host A points to that ip address. In addition,