Re: FreeBSD and barracudas

2007-10-19 Thread Joost Bekkers
On Fri, October 19, 2007 20:23, Philip M. Gollucci wrote:

 The problem is the barracuda can not get to it.  I actually don't see
 any reason why it should.  Its supposed to merely rewrite the MAC to one of
 the 'Real Servers' when it receives a request for a VIP (Virtual IP).

 Network: 192.168.0.0/22
 Firewall/Gateway: 192.168.0.1
 DNS: 192.168.0.25, 192.168.0.24, 172.28.0.50(different class C)
 Broadcast: 192.168.3.255
 Netmask: 255.255.252.0


 Barracdua WAN: 192.168.0.169
 Barracuda LAN: N/A in DSR mode.
 VIP: 192.168.0.49
 Real Server 1: 192.168.0.50
 Real Server 2: 192.168.t0.51
 


If you're trying to do what I think you're doing (yep, that's a big IF)
you've got things reversed.

Real Server #: should point to the ip address on the PHYSICAL interface
of the Dell(s). The address to add to lo0 is the VIP, in this case
192.168.0.49


Hope this helps.

Joost.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[SOLVED]: - Re: FreeBSD and barracudas

2007-10-19 Thread Philip M. Gollucci

Philip M. Gollucci wrote:

Joost Bekkers wrote:

On Fri, October 19, 2007 20:23, Philip M. Gollucci wrote:

The problem is the barracuda can not get to it.  I actually don't see
any reason why it should.  Its supposed to merely rewrite the MAC to one of
the 'Real Servers' when it receives a request for a VIP (Virtual IP).

Network: 192.168.0.0/22
Firewall/Gateway: 192.168.0.1
DNS: 192.168.0.25, 192.168.0.24, 172.28.0.50(different class C)
Broadcast: 192.168.3.255
Netmask: 255.255.252.0


Barracdua WAN: 192.168.0.169
Barracuda LAN: N/A in DSR mode.
VIP: 192.168.0.49
Real Server 1: 192.168.0.50
Real Server 2: 192.168.t0.51



If you're trying to do what I think you're doing (yep, that's a big IF)
you've got things reversed.

Real Server #: should point to the ip address on the PHYSICAL interface
of the Dell(s). The address to add to lo0 is the VIP, in this case
192.168.0.49

Still no dice:

Thanks Joost!!! you hit that right on the nose.  I had just forgotten
to update the ips my httpd was listening to when I made that change


Let the Weekend Begin!


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and barracudas

2007-10-19 Thread Philip M. Gollucci

Joost Bekkers wrote:

On Fri, October 19, 2007 20:23, Philip M. Gollucci wrote:

The problem is the barracuda can not get to it.  I actually don't see
any reason why it should.  Its supposed to merely rewrite the MAC to one of
the 'Real Servers' when it receives a request for a VIP (Virtual IP).

Network: 192.168.0.0/22
Firewall/Gateway: 192.168.0.1
DNS: 192.168.0.25, 192.168.0.24, 172.28.0.50(different class C)
Broadcast: 192.168.3.255
Netmask: 255.255.252.0


Barracdua WAN: 192.168.0.169
Barracuda LAN: N/A in DSR mode.
VIP: 192.168.0.49
Real Server 1: 192.168.0.50
Real Server 2: 192.168.t0.51




If you're trying to do what I think you're doing (yep, that's a big IF)
you've got things reversed.

Real Server #: should point to the ip address on the PHYSICAL interface
of the Dell(s). The address to add to lo0 is the VIP, in this case
192.168.0.49

Still no dice:

ifconfig
bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
inet 192.168.0.166 netmask 0xfc00 broadcast 192.168.3.255
ether 00:19:b9:f8:29:e3
media: Ethernet autoselect (1000baseTX full-duplex)
status: active
lo0: flags=80c9UP,LOOPBACK,RUNNING,NOARP,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
inet 192.168.0.49 netmask 0xfff0



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD and barracudas

2007-10-19 Thread Philip M. Gollucci

Hi All,

I've got a Barracuda 340
and some FreeBSD 6.2-release systems

I'm attempting to setup DSR (Direct Server Returns)

Firewall - Switch  WAN Barracuda LAN --
   /\  \/
   ||
   --

The computers are Dell PowerEdge 860s (dual nics) and
on Barracudas docs and recommendations, I've got only nic 0
plugged into the above switch.

I've setup up a non-ARPing loopback
ifconfig lo 192.168.0.50 netmask 255.255.255.240 -arp alias

I can now telnet 192.168.0.50 80 (from the box and see a httpd response)

The problem is the barracuda can not get to it.  I actually don't see 
any reason why it should.  Its supposed to merely rewrite the MAC to one 
of the 'Real Servers' when it receives a request for a VIP (Virtual IP).


Network: 192.168.0.0/22
Firewall/Gateway: 192.168.0.1
DNS: 192.168.0.25, 192.168.0.24, 172.28.0.50(different class C)
Broadcast: 192.168.3.255
Netmask: 255.255.252.0

Barracdua WAN: 192.168.0.169
Barracuda LAN: N/A in DSR mode.
VIP: 192.168.0.49
Real Server 1: 192.168.0.50
Real Server 2: 192.168.t0.51


According to the docs, the netmask needs to include everything, so I've 
tried 255.255.252.0 instead of 255.255.255.240 in the above ifconfig.


I've been in contact with Barracuda directly and was lucky enough to get 
someone in IT that likes FreeBSD.


We gave up on Route-Path mode, which I tried first.

Is there something Networking/FreeBSD specific that we/I have overlooked ?

If anyone has any ideas, I am onsite at the data center for the rest of 
today.


TIA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]