Subject: ipnat with more Internet connections
To: None <current-users@netbsd.org>
From: Tomas Hlavacek <tomas.hlavacek@elfove.cz>
List: current-users
Date: 03/29/2003 12:13:03
This is a cryptographically signed message in MIME format.
--------------ms090707080902060006070901
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
I am sorry if this question is not so suitable here.
I would like to ask if it is possible to set up snat, when I have got
two internet connections and I would like to reach that the traffic is
balanced between this connections.
reading manuals I have not found anything like that. so may I use
something like this?
map ne3 192.168.1.0/24 -> <1st connection IP>/32 proxy port ftp ftp/tcp
map ne3 192.168.1.0/24 -> <1st connection IP>/32 portmap tcp/udp 40000:60000
map ne3 192.168.1.0/24 -> <1st connection IP>/32
map ne4 192.168.1.0/24 -> <2nd connection IP>/32 proxy port ftp ftp/tcp
map ne4 192.168.1.0/24 -> <2nd connection IP>/32 portmap tcp/udp 40000:60000
map ne4 192.168.1.0/24 -> <2nd connection IP>/32
and what if one of these connection fails?
Thanks
Tomas
--
Tomas Hlavacek
registered as user #246359 with the Linux Counter
GSM#: +420 724 069 784
ICQ#: 103233265
Prosim, neposilejte mi prilohy ve formatech .doc nebo .ppt (PowerPoint)
Prectete si http://www.fsf.org/philosophy/no-word-attachments.cs.html
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
--------------ms090707080902060006070901
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKODCC
AzgwggKhoAMCAQICEGZFcrfMdPXPY3ZFhNAukQEwDQYJKoZIhvcNAQEEBQAwgdExCzAJBgNV
BAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgG
A1UEChMRVGhhd3RlIEN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