Re: How do I set the source address on a multi-homed host?

2005-02-21 Thread Daniela
L PROTECTED] > > Subject: Re: How do I set the source address on a multi-homed host? > > > > > Having said that: technically, you specify source addresses for > > > connections by calling bind(2) prior to calling connect(2). > > > > If you fail > >

RE: How do I set the source address on a multi-homed host?

2005-02-18 Thread Ted Mittelstaedt
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Daniela > Sent: Tuesday, February 15, 2005 1:30 PM > To: Jan Grant > Cc: Alin-Adrian Anton; [EMAIL PROTECTED] > Subject: Re: How do I set the source address on a multi-homed host?

Re: How do I set the source address on a multi-homed host?

2005-02-16 Thread Jan Grant
On Tue, 15 Feb 2005, Daniela wrote: > Well, if the OS selects the source IP, can't I just modify the code that > selects it? Will this work all the time, or just when the application lets > the OS select an address for it? It should "just work" - that is, the source address for internal packes

Re: How do I set the source address on a multi-homed host?

2005-02-15 Thread Daniela
On Sunday 13 February 2005 09:37, Jan Grant wrote: > On Sat, 12 Feb 2005, Daniela wrote: > > Yes, this happens when I connect from my machine (which functions as a > > router with NAT to allow the other LAN machines connect to the internet) > > to another LAN machine. When the router establishes a

Re: How do I set the source address on a multi-homed host?

2005-02-15 Thread Nathan Kinkade
On Sun, Feb 13, 2005 at 07:49:05PM +0200, Alin-Adrian Anton wrote: > I really don't see why you use A-class netmask. It's very probable that > a C-class netmask would suffice: They already are using a /24 (class C) network. Take another look at the mask - 0xff00. In any case, the network '

Re: How do I set the source address on a multi-homed host?

2005-02-15 Thread Emanuel Strobl
Am Samstag, 12. Februar 2005 16:05 schrieb Daniela: > On Friday 11 February 2005 21:27, Alin-Adrian Anton wrote: > > Daniela wrote: > > > I have two NICs (one inside and one outside interface) with NAT > > > activated. The problem is that every time I establish a connection with > > > a machine on

Re: How do I set the source address on a multi-homed host?

2005-02-13 Thread Alin-Adrian Anton
Daniela wrote: On Saturday 12 February 2005 16:06, Volker Kindermann wrote: Hi Daniela, Yes, this happens when I connect from my machine (which functions as a router with NAT to allow the other LAN machines connect to the internet) to another LAN machine. When the router establishes a connection t

Re: How do I set the source address on a multi-homed host?

2005-02-13 Thread Jan Grant
On Sun, 13 Feb 2005, Jan Grant wrote: > On Sat, 12 Feb 2005, Daniela wrote: > > > Yes, this happens when I connect from my machine (which functions as a > > router > > with NAT to allow the other LAN machines connect to the internet) to > > another > > LAN machine. When the router establishes

Re: How do I set the source address on a multi-homed host?

2005-02-13 Thread Jan Grant
On Sat, 12 Feb 2005, Daniela wrote: > Yes, this happens when I connect from my machine (which functions as a router > with NAT to allow the other LAN machines connect to the internet) to another > LAN machine. When the router establishes a connection to another point in the > intranet, the sour

Re: How do I set the source address on a multi-homed host?

2005-02-12 Thread Daniela
On Saturday 12 February 2005 16:06, Volker Kindermann wrote: > Hi Daniela, > > > Yes, this happens when I connect from my machine (which functions as a > > router with NAT to allow the other LAN machines connect to the internet) > > to another LAN machine. When the router establishes a connection t

Re: How do I set the source address on a multi-homed host?

2005-02-12 Thread Volker Kindermann
Hi Daniela, Yes, this happens when I connect from my machine (which functions as a router with NAT to allow the other LAN machines connect to the internet) to another LAN machine. When the router establishes a connection to another point in the intranet, the source address used is my official I

Re: How do I set the source address on a multi-homed host?

2005-02-12 Thread Daniela
On Friday 11 February 2005 21:27, Alin-Adrian Anton wrote: > Daniela wrote: > > I have two NICs (one inside and one outside interface) with NAT > > activated. The problem is that every time I establish a connection with a > > machine on my LAN, it uses the address of the outside interface as the >

Re: How do I set the source address on a multi-homed host?

2005-02-11 Thread Frank Laszlo
Daniela wrote: I have two NICs (one inside and one outside interface) with NAT activated. The problem is that every time I establish a connection with a machine on my LAN, it uses the address of the outside interface as the source of the packets, which creates problems with my firewall. How do I

Re: How do I set the source address on a multi-homed host?

2005-02-11 Thread Alin-Adrian Anton
Daniela wrote: I have two NICs (one inside and one outside interface) with NAT activated. The problem is that every time I establish a connection with a machine on my LAN, it uses the address of the outside interface as the source of the packets, which creates problems with my firewall. How do I

How do I set the source address on a multi-homed host?

2005-02-11 Thread Daniela
I have two NICs (one inside and one outside interface) with NAT activated. The problem is that every time I establish a connection with a machine on my LAN, it uses the address of the outside interface as the source of the packets, which creates problems with my firewall. How do I tell my machin

multi-homed host routing problem

2004-11-14 Thread Perica Veljanovski
Hi all I have a fbsd 4.7 box that has 2 nics rl0 & rl1. On rl0 i have a public ip address and on rl1 I have a private 10.20.30.0/24, and I'm running squid proxy for my private ip's. Now i've added a 3rd nic rl2 which has an ADSL router connected to it (another internet source). What I wanted to

Re: Multi-Homed Host

2002-12-27 Thread Matthew Seaman
On Fri, Dec 27, 2002 at 12:55:24AM -, Timmer wrote: > This machine runs a web server (and a few other things), so all that traffic > must happen on the T1. However, the T1 is significantly slower than my cable > connection, so I would like the machine to use the cable connection for > downlo

Multi-Homed Host

2002-12-27 Thread Timmer
Hello I am trying to set up a FreeBSD 4.7-STABLE machine so that it has one network card and two IP addresses, each on a different logical network. Here's the configuration: Logical Net 1: (Cable, 3M) IP ADDR: 192.168.1.2 NETMASK: 255.255.255.0 GATEWAY: 192.168.1.1 Logical Net 2: (FRAC-T1, 384K