RE: [pfSense Support] Not able to add virtual carp ip on different subnet

2011-01-13 Thread Chase Bolt
-Original Message-
From: Jim Pingle [mailto:li...@pingle.org]
Sent: Thursday, January 13, 2011 5:42 AM
To: support@pfsense.com
Subject: Re: [pfSense Support] Not able to add virtual carp ip on different 
subnet

On 1/13/2011 8:15 AM, Shibashish wrote:
[please don't top post]
> On Thu, Jan 13, 2011 at 6:38 PM, Jim Pingle  <mailto:li...@pingle.org>> wrote:
>
> On 1/13/2011 5:29 AM, Shibashish wrote:
> > My WAN ip is xx.xx.87.44
> >
> > I am trying to add a Virtual IP CARP as xx.xx.93.193, but i am not
> able to.
> >
> > Sorry, we could not locate an interface with a matching subnet for
> > xx.xx.93.193/27. Please add an ip in this subnet on a real 
> interface.
> >
> > I want the carp ip to be used for haproxy without which haproxy 
> doesnt
> > start. How do i add this? Thanks.
>
> CARP VIPs have to be in the same subnet as an existing IP address on 
> the
> interface.
>
> On 1.2.x, this means it must be in the same subnet as the WAN IP. On 
> 2.0
> you can also add an IP alias VIP inside of the same subnet as
> x.x.93.193/27 and then you can add a CARP VIP for x.x.93.193/27
>
> If this is part of a CARP cluster, each unit will need a separate IP
> alias inside of that subnet (the same way they each need an IP in the
> WAN subnet). If it's a standalone unit you may as well use an IP alias
> in place of a CARP VIP.

> Thanks for explaining. I wanted to use haproxy and this was not
> starting. The reason as someone suggested is that the VIP must be a
CARP ip.
> http://forum.pfsense.org/index.php?topic=21748.0
>
> <http://forum.pfsense.org/index.php?topic=21748.0>I'm on 1.2.3-RELEASE.

Then you can't use it with a CARP VIP on WAN there. You'd need an IP
inside of your WAN subnet. You could try a 2.0 beta snapshot and see if
it works for you.

Though you could hack an IP alias into the config on 1.2.3 using a
shellexec, it doesn't show up for use elsewhere in the GUI so it doesn't
gain you anything here.

Jim

Here is a PDF of what Jim is talking about. I use this for my CARP VIPs, 
works fine without issues.

http://doc.pfsense.org/multiple-subnets-one-interface-pfsense.pdf


Thanks,
Chase Bolt

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] Not able to add virtual carp ip on different subnet

2011-01-13 Thread Jim Pingle
On 1/13/2011 8:15 AM, Shibashish wrote:
[please don't top post]
> On Thu, Jan 13, 2011 at 6:38 PM, Jim Pingle  > wrote:
> 
> On 1/13/2011 5:29 AM, Shibashish wrote:
> > My WAN ip is xx.xx.87.44
> >
> > I am trying to add a Virtual IP CARP as xx.xx.93.193, but i am not
> able to.
> >
> > Sorry, we could not locate an interface with a matching subnet for
> > xx.xx.93.193/27. Please add an ip in this subnet on a real interface.
> >
> > I want the carp ip to be used for haproxy without which haproxy doesnt
> > start. How do i add this? Thanks.
> 
> CARP VIPs have to be in the same subnet as an existing IP address on the
> interface.
> 
> On 1.2.x, this means it must be in the same subnet as the WAN IP. On 2.0
> you can also add an IP alias VIP inside of the same subnet as
> x.x.93.193/27 and then you can add a CARP VIP for x.x.93.193/27
> 
> If this is part of a CARP cluster, each unit will need a separate IP
> alias inside of that subnet (the same way they each need an IP in the
> WAN subnet). If it's a standalone unit you may as well use an IP alias
> in place of a CARP VIP.

> Thanks for explaining. I wanted to use haproxy and this was not
> starting. The reason as someone suggested is that the VIP must be a
CARP ip.
> http://forum.pfsense.org/index.php?topic=21748.0
>
> I'm on 1.2.3-RELEASE.

Then you can't use it with a CARP VIP on WAN there. You'd need an IP
inside of your WAN subnet. You could try a 2.0 beta snapshot and see if
it works for you.

Though you could hack an IP alias into the config on 1.2.3 using a
shellexec, it doesn't show up for use elsewhere in the GUI so it doesn't
gain you anything here.

Jim

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] Not able to add virtual carp ip on different subnet

2011-01-13 Thread Shibashish
Thanks for explaining. I wanted to use haproxy and this was not starting.
The reason as someone suggested is that the VIP must be a CARP ip.
http://forum.pfsense.org/index.php?topic=21748.0

I'm on 1.2.3-RELEASE.

ShiB.
while ( ! ( succeed = try() ) );


On Thu, Jan 13, 2011 at 6:38 PM, Jim Pingle  wrote:

> On 1/13/2011 5:29 AM, Shibashish wrote:
> > My WAN ip is xx.xx.87.44
> >
> > I am trying to add a Virtual IP CARP as xx.xx.93.193, but i am not able
> to.
> >
> > Sorry, we could not locate an interface with a matching subnet for
> > xx.xx.93.193/27. Please add an ip in this subnet on a real interface.
> >
> > I want the carp ip to be used for haproxy without which haproxy doesnt
> > start. How do i add this? Thanks.
>
> CARP VIPs have to be in the same subnet as an existing IP address on the
> interface.
>
> On 1.2.x, this means it must be in the same subnet as the WAN IP. On 2.0
> you can also add an IP alias VIP inside of the same subnet as
> x.x.93.193/27 and then you can add a CARP VIP for x.x.93.193/27
>
> If this is part of a CARP cluster, each unit will need a separate IP
> alias inside of that subnet (the same way they each need an IP in the
> WAN subnet). If it's a standalone unit you may as well use an IP alias
> in place of a CARP VIP.
>
> Jim
>
> -
> To unsubscribe, e-mail: support-unsubscr...@pfsense.com
> For additional commands, e-mail: support-h...@pfsense.com
>
> Commercial support available - https://portal.pfsense.org
>
>


Re: [pfSense Support] Not able to add virtual carp ip on different subnet

2011-01-13 Thread Jim Pingle
On 1/13/2011 5:29 AM, Shibashish wrote:
> My WAN ip is xx.xx.87.44
> 
> I am trying to add a Virtual IP CARP as xx.xx.93.193, but i am not able to.
> 
> Sorry, we could not locate an interface with a matching subnet for
> xx.xx.93.193/27. Please add an ip in this subnet on a real interface.
> 
> I want the carp ip to be used for haproxy without which haproxy doesnt
> start. How do i add this? Thanks.

CARP VIPs have to be in the same subnet as an existing IP address on the
interface.

On 1.2.x, this means it must be in the same subnet as the WAN IP. On 2.0
you can also add an IP alias VIP inside of the same subnet as
x.x.93.193/27 and then you can add a CARP VIP for x.x.93.193/27

If this is part of a CARP cluster, each unit will need a separate IP
alias inside of that subnet (the same way they each need an IP in the
WAN subnet). If it's a standalone unit you may as well use an IP alias
in place of a CARP VIP.

Jim

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] Not able to add virtual carp ip on different subnet

2011-01-13 Thread Shibashish
My ISP has given xx.xx.93.192/27 (32 IPs – 30 Usable IPs excluding Network &
Broadcast)

ShiB.
while ( ! ( succeed = try() ) );


On Thu, Jan 13, 2011 at 4:07 PM, Shibashish  wrote:

> xx.xx.87.40/29
>
> ShiB.
> while ( ! ( succeed = try() ) );
>
>
>
> On Thu, Jan 13, 2011 at 4:06 PM, Warren Baker  wrote:
>
>>
>> On Thu, Jan 13, 2011 at 12:29 PM, Shibashish  wrote:
>>
>>> My WAN ip is xx.xx.87.44
>>>
>>> I am trying to add a Virtual IP CARP as xx.xx.93.193, but i am not able
>>> to.
>>>
>>> Sorry, we could not locate an interface with a matching subnet for
>>> xx.xx.93.193/27. Please add an ip in this subnet on a real interface.
>>>
>>> I want the carp ip to be used for haproxy without which haproxy doesnt
>>> start. How do i add this? Thanks.
>>>
>>
>>
>> Whats your netmask for your WAN?
>>
>>
>> --
>> .warren
>>
>
>


Re: [pfSense Support] Not able to add virtual carp ip on different subnet

2011-01-13 Thread Shibashish
xx.xx.87.40/29

ShiB.
while ( ! ( succeed = try() ) );


On Thu, Jan 13, 2011 at 4:06 PM, Warren Baker  wrote:

>
> On Thu, Jan 13, 2011 at 12:29 PM, Shibashish  wrote:
>
>> My WAN ip is xx.xx.87.44
>>
>> I am trying to add a Virtual IP CARP as xx.xx.93.193, but i am not able
>> to.
>>
>> Sorry, we could not locate an interface with a matching subnet for
>> xx.xx.93.193/27. Please add an ip in this subnet on a real interface.
>>
>> I want the carp ip to be used for haproxy without which haproxy doesnt
>> start. How do i add this? Thanks.
>>
>
>
> Whats your netmask for your WAN?
>
>
> --
> .warren
>


Re: [pfSense Support] Not able to add virtual carp ip on different subnet

2011-01-13 Thread Warren Baker
On Thu, Jan 13, 2011 at 12:29 PM, Shibashish  wrote:

> My WAN ip is xx.xx.87.44
>
> I am trying to add a Virtual IP CARP as xx.xx.93.193, but i am not able to.
>
> Sorry, we could not locate an interface with a matching subnet for
> xx.xx.93.193/27. Please add an ip in this subnet on a real interface.
>
> I want the carp ip to be used for haproxy without which haproxy doesnt
> start. How do i add this? Thanks.
>


Whats your netmask for your WAN?


-- 
.warren