Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
pfSense Forum
pfSense English Support
»
Routing and Multi WAN
»
loadbalancing no go and PFsense crashes
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Home
Help
Search
Login
Register
Pages: [
1
]
2
Go Down
« previous
next »
Print
Author
Topic: loadbalancing no go and PFsense crashes (Read 5440 times)
0 Members and 1 Guest are viewing this topic.
msatter
Jr. Member
Offline
Posts: 36
loadbalancing no go and PFsense crashes
«
on:
July 03, 2006, 02:07:54 am »
Hi,
I have two ISP so two wan's and wanted to loadbanlance them with RC1 however I can ping both gateway's before I loadbalance. However when I activate loadblance and restart the gateway are not found so the loadbalance is not activated.
To activate the loadbalance I have to make the check IP the same as the PFsense IP however I don't get why my gateways are not pingable any more.
I have tried different approaches and different manuals for this however with no luck.
Then I have a problem with the stability of PFsense with loadbalance because it locks up the machine and only a hardreset will help. Because the filesystem might be damaged I had to reinstall PFsense a few times.
Marce
pfsense# ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=b<RXCSUM,TXCSUM,VLAN_MTU>
inet 192.168.1.30 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::20c:76ff:fead:8e17%em0 prefixlen 64 scopeid 0x1
ether 00:0c:76:ad:8e:17
media: Ethernet autoselect (1000baseTX <full-duplex>)
status: active
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet XX.168.56.50 netmask 0xfffffff8 broadcast XX.168.56.55
inet6 fe80::2d0:b7ff:fe8f:7cf6%fxp0 prefixlen 64 scopeid 0x2
ether 00:d0:b7:8f:7c:f6
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=b<RXCSUM,TXCSUM,VLAN_MTU>
inet6 fe80::20c:76ff:fead:8e16%em1 prefixlen 64 scopeid 0x3
inet XXX.241.60.186 netmask 0xfffffff8 broadcast XXX.241.60.191
ether 00:0c:76:ad:8e:16
media: Ethernet autoselect (10baseT/UTP <half-duplex>)
status: active
pfsync0: flags=41<UP,RUNNING> mtu 2020
pfsync: syncdev: lo0 maxupd: 128
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
pflog0: flags=100<PROMISC> mtu 33208
l
«
Last Edit: July 03, 2006, 02:17:07 am by msatter
»
Logged
hoba
Administrator
Hero Member
Offline
Posts: 5844
What was the problem to this solution again?
Re: loadbalancing no go and PFsense crashes
«
Reply #1 on:
July 03, 2006, 04:15:10 am »
Sounds like a piloterror to me. I know several people using loadbalancing without issues (including me in a production environment). Let us know the types of WANs you use and how you have set up the loadbalancing pool.
Logged
rexster
Jr. Member
Offline
Posts: 70
Re: loadbalancing no go and PFsense crashes
«
Reply #2 on:
July 03, 2006, 09:59:29 pm »
same problem here.
Logged
http://www.GoBlogLah.com
msatter
Jr. Member
Offline
Posts: 36
Re: loadbalancing no go and PFsense crashes
«
Reply #3 on:
July 04, 2006, 02:18:32 am »
I have two wans and the first one is a SDSL 2048/2048 with fixed addresses and the second one is a ADSL and also with fixed addresses.
They are from the the same ISP so the DNS is and the the IP, gateway are different.
I have put the information in the loadbalance pool as a Gateway and the I put as gateway on the LAN - HTTP rule the gateway to Balance (just the name). I restart and both gateways of the static connection are not pingable anymore so no loadbalance pool.
«
Last Edit: July 04, 2006, 02:21:39 am by msatter
»
Logged
hoba
Administrator
Hero Member
Offline
Posts: 5844
What was the problem to this solution again?
Re: loadbalancing no go and PFsense crashes
«
Reply #4 on:
July 04, 2006, 06:20:17 am »
You mix up routing somewhere. You entered the gateway-adresses of the WANs in the pool, not the interfaceadresses, right?
Logged
msatter
Jr. Member
Offline
Posts: 36
Re: loadbalancing no go and PFsense crashes
«
Reply #5 on:
July 05, 2006, 02:58:42 am »
I have put the IP addresses (WAN and OPT1) in the IP field and the the gateway addresses in the Monitor IP field.
I thought this was the correct way.....
IP address: XXX.168.56.50 and XXX.241.60.186
Gateway: XXX.168.56.49 and XXX.241.60.185
«
Last Edit: July 05, 2006, 03:02:36 am by msatter
»
Logged
hoba
Administrator
Hero Member
Offline
Posts: 5844
What was the problem to this solution again?
Re: loadbalancing no go and PFsense crashes
«
Reply #6 on:
July 05, 2006, 07:29:06 am »
So I guess it'S working now?
Logged
msatter
Jr. Member
Offline
Posts: 36
Re: loadbalancing no go and PFsense crashes
«
Reply #7 on:
July 06, 2006, 09:55:31 am »
No, it does not.
I only replied to your posting and wrote down how I filled the field of the Loadbalancing form. I know the dat is filled in correct however one or both Wan's won't start and the firewall wil crash soon after.
Logged
hoba
Administrator
Hero Member
Offline
Posts: 5844
What was the problem to this solution again?
Re: loadbalancing no go and PFsense crashes
«
Reply #8 on:
July 06, 2006, 10:10:11 am »
I'm sure you send your routing to hell. Unless you show us your config.xml or at least relevent parts of it we can't further help you.
Logged
sullrich
Hero Member
Offline
Posts: 5135
Re: loadbalancing no go and PFsense crashes
«
Reply #9 on:
July 06, 2006, 10:20:50 am »
Quote from: msatter on July 06, 2006, 09:55:31 am
No, it does not.
I only replied to your posting and wrote down how I filled the field of the Loadbalancing form. I know the dat is filled in correct however one or both Wan's won't start and the firewall wil crash soon after.
I doubt the info you filled in is correct, otherwise it would work. Seriously, this works and has been tested by many people already.
Logged
msatter
Jr. Member
Offline
Posts: 36
Re: loadbalancing no go and PFsense crashes
«
Reply #10 on:
July 07, 2006, 06:14:49 am »
I will edit this post every time I have done a step in the setup so I don't loose any screens or logs:
Ping output:
PING XX.168.56.49 (XX.168.56.49) from XX.168.56.50: 56 data bytes
64 bytes from XX.168.56.49: icmp_seq=0 ttl=255 time=0.292 ms
64 bytes from XX.168.56.49: icmp_seq=1 ttl=255 time=0.231 ms
64 bytes from XX.168.56.49: icmp_seq=2 ttl=255 time=0.250 ms
--- XX.168.56.49 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.231/0.258/0.292/0.025 ms
Ping output:
PING XXX.241.60.185 (XXX.241.60.185) from XXX.241.60.186: 56 data bytes
64 bytes from XXX.241.60.185: icmp_seq=0 ttl=255 time=4.505 ms
64 bytes from XXX.241.60.185: icmp_seq=1 ttl=255 time=21.487 ms
64 bytes from XXX.241.60.185: icmp_seq=2 ttl=255 time=2.103 ms
--- 195.241.60.185 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 2.103/9.365/21.487/8.627 ms
Status log loadbalancing and both are down so I will restart the machine:
Jul 7 13:01:44 slbd[13492]: Switching to sitedown for VIP 127.0.0.1:666
Jul 7 13:01:44 slbd[13492]: ICMP poll failed for XXX.241.60.185, marking service DOWN
Jul 7 13:01:43 slbd[13492]: ICMP poll failed for XX.168.56.49, marking service DOWN
Jul 7 13:01:42 slbd[13492]: VIP 127.0.0.1:666 added real service XXX.241.60.185:666
Jul 7 13:01:42 slbd[13492]: VIP 127.0.0.1:666 added real service XX.168.56.49:666
Jul 7 13:01:42 slbd[13492]: VIP 127.0.0.1:666 sitedown at 127.0.0.1:666
Jul 7 13:01:42 slbd[13492]: VIP 127.0.0.1:666 configured as "127.0.0.1"
Jul 7 13:01:42 slbd[13492]: Using configuration file /var/etc/slbd.conf
Jul 7 13:01:42 slbd[13492]: Using r_refresh of 5000 milliseconds
I have now restarted and because the WAN and OPT1 are death I have switched my client to a different gateway to be able to post the rest.
Status log loadbalancing and both the WAN and OPT1 are still death
Jul 7 13:17:44 slbd[296]: Switching to sitedown for VIP 127.0.0.1:666
Jul 7 13:17:44 slbd[296]: ICMP poll failed for XXX.241.60.185, marking service DOWN
Jul 7 13:17:43 slbd[296]: ICMP poll failed for XX.168.56.49, marking service DOWN
Jul 7 13:17:42 slbd[296]: VIP 127.0.0.1:666 added real service 195.241.60.185:666
Jul 7 13:17:42 slbd[296]: VIP 127.0.0.1:666 added real service 82.168.56.49:666
Jul 7 13:17:42 slbd[296]: VIP 127.0.0.1:666 sitedown at 127.0.0.1:666
Jul 7 13:17:42 slbd[296]: VIP 127.0.0.1:666 configured as "127.0.0.1"
Jul 7 13:17:42 slbd[296]: Using configuration file /var/etc/slbd.conf
Jul 7 13:17:42 slbd[296]: Using r_refresh of 5000 milliseconds
config.xml removed on 11 july 2006
«
Last Edit: July 11, 2006, 03:42:42 am by msatter
»
Logged
msatter
Jr. Member
Offline
Posts: 36
Re: loadbalancing no go and PFsense crashes
«
Reply #11 on:
July 11, 2006, 01:56:50 am »
Eehm also this posting went death so I asume I did everyting correct and my configuration is OK and loadbalancing pool won't work for me!?!?!?
Marcel
Logged
msatter
Jr. Member
Offline
Posts: 36
Re: loadbalancing no go and PFsense crashes
«
Reply #12 on:
July 11, 2006, 03:47:00 am »
I just gave it an other go and after I rebooted the links were still down. So I went in to the interface menu and pushed the button SAVE to restart the links.
The links are now up and running and I ping them. I'm now going to test linkdown and I have to check how Round-Robin is going to work because I did only see traffic on the first link even with al multi-treath downloader.
Any advise is very welcome.
So the links are not comming up by them selves and have to restart the links manually to fill the loadbalance pool
Marcel
I disconneted the WAN and the OPT1 did not take over and so the pool did not work. One positive thing when I reconnected the WAN it went up and presto I got the Internet back.
Marcel
«
Last Edit: July 11, 2006, 03:52:40 am by msatter
»
Logged
hoba
Administrator
Hero Member
Offline
Posts: 5844
What was the problem to this solution again?
Re: loadbalancing no go and PFsense crashes
«
Reply #13 on:
July 11, 2006, 03:28:19 pm »
Do you actually use the pool as gateway in your firewallrules?
Logged
msatter
Jr. Member
Offline
Posts: 36
Re: loadbalancing no go and PFsense crashes
«
Reply #14 on:
July 12, 2006, 10:14:45 am »
That is correct and I have more information en conducted some tests.
When I startup the computer and look at the consolle it will state on the line for the firewall starting the different rules however it also stat 4 times "bad adress: balancer"
balancer is the name of the load balance pool and that also occured when it was Load_balancer.
Secondly I can ping from ont het PFsense prompt to gateway and then the first point behind the gateway toe the first adress of "IP adress block" and on the other I can only ping the gateway and external adresses. I don't get that.
I hope this information helps to find the problem why the load balance pool will not activate automaticly and why the backup won't work and that round-robin won't work?
Marcel
Quote from: hoba on July 11, 2006, 03:28:19 pm
Do you actually use the pool as gateway in your firewallrules?
Logged
Pages: [
1
]
2
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Administrative
-----------------------------
=> Forum rules
=> Messages from the pfSense Team
=> Feedback
-----------------------------
pfSense English Support
-----------------------------
=> Installation and Upgrades
=> General Questions
=> 2.1 Snapshot Feedback and Problems
=> Post a bounty
===> Completed Bounties
===> Expired/Withdrawn Bounties
=> Hardware
=> Firewalling
=> NAT
=> CARP/VIPs
=> Routing and Multi WAN
=> Traffic Shaping
=> DHCP and DNS
=> IPv6
=> IPsec
=> PPTP
=> PPPoE Server
=> Captive Portal
=> webGUI
=> Wireless
=> SNMP
=> Packages
=> Virtualization installations and techniques
=> OpenVPN
=> Gaming
-----------------------------
Development/Documentation
-----------------------------
=> Documentation
=> Development
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
International Support
-----------------------------
=> Indonesian
=> Deutsch
=> Español
=> Français
=> Italiano
=> Russian
=> Nederlands
=> Norwegian
=> Portuguese
=> Polish
=> Romanian
=> Swedish
=> Turkish
-----------------------------
Retired
-----------------------------
=> 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
=> 1.2.1-RC Snapshot Feedback and Problems-RETIRED
=> 2.0-RC Snapshot Feedback and Problems - RETIRED
=> DNS Server testing area - RETIRED
Loading...