[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2 NICs and the source ip address



Thomas Gebhardt <gebhardt@HRZ.Uni-Marburg.DE> [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 packages running through
> eth1 have source ip address 10.0.0.1 . This is, however not
> the case. E.g. IP packages leaving through eth1 are given the source
> ip address 1.2.3.4 and therefore the response is arriving
> through eth0.
> 

have you checked:
NAT -- network address translation (aka Masquerading)?  
You will find a lot of helpful information in 

/usr/share/doc/HOWTO/en-txt/:

Masquerading-Simple-HOWTO.gz
IP-Masquerade-HOWTO.gz

wbr,
Lukas
-- 
Lukas Ruf           | Wanna know anything about raw |
<http://www.lpr.ch> | IP?  <http://www.rawip.org>   |



Reply to: