Page 1 of 2 12 LastLast
Results 1 to 16 of 19

Thread: pfSense Router - A little pointless story (with pictures!)

  1. #1
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    pfSense Router - A little pointless story (with pictures!)

    For 12 months I have had 2 net connections 1 x Cable and 1 x ADSL and I used to split the network via default gateway, this was fine but it did mean that most of the time the ADSL was used and the Cable just sat there and never really did anything. On saturday for no real reason I decided that I was going to setup a load balance via a pfSense router using an Atom 230 CPU, 8GB SSD and 1GB RAM. This was a good idea as I already had the hardware but I had a small issue that the motherboard had 1 NIC and I needed 3 to do what I wanted to do.

    Luckly I had 2 USB --> RJ45 sticks that cost about £7 each (always handy when 200 miles from the office and find you have to fix a PC that has decided to fry its NIC) After the last time I had to get a wireless card working in Linux I had to pump myself up as I had a very nasty feeling that I would have to mess about for hours to get Linux to see the bloody things (they are not really standard kit) so I set myself half a day to get the drivers installed and then to get pfSence to actually see them.

    Sitting down already feeling fed up with this "stupid Idea" I plugged one of the USB network cards in to the header on the board and then looked at the screen expecting to see "What is this? What do you think your doing plugging hardware in? This is FreeBSD my son and you are going to have to do better than that!" but to my suprise (and joy) FreeBSD detected it and pfSense added it to the interfaces! I plugged the second USB network card in and again it just worked In the words of Yoda "Happy was I"

    I then used the following guide to setup the load balance

    http://www.tomschaefers.org/web/wordpress/?p=538

    added a few of my own rules in for HTTPs and that was it, done.

    As you can see from the following pictiures the torrent use both connections as does speedtest.net I have seen it upto 2.5MB/s

    pfSense Dashboard (look at the WAN / WAN2 graphs and guess what connection is the VM and what one is the O2)



    uTorrent



    Before Load Balance



    After Load Balance



    I'm not sure why I have lost a bit of upload and ignore the ISP its actually both Telewest and O2 at the same time







    Next is failover but that is for another day.
    Last edited by Jay; 25-07-2009 at 02:17 PM.
    □ΞVΞ□

  2. Received thanks from:

    Agent (25-07-2009),Apex (22-10-2009),kidzer (24-07-2009),menthel (03-08-2009),nightkhaos (27-07-2009)

  3. #2
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    Re: pfSense Router - A little pointless story (with pictures!)

    Cool, was interesting to read! BTW what hardware were you using before for two WAN side connections?

  4. #3
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: pfSense Router - A little pointless story (with pictures!)

    WAN is full NAT on pfSense to the cable router (Hence the 77. address) WAN2 is using NAT on the O2 router.
    □ΞVΞ□

  5. #4
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    Re: pfSense Router - A little pointless story (with pictures!)

    No, I mean what were you using before pfSense for dual WAN?

  6. #5
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: pfSense Router - A little pointless story (with pictures!)

    I wasn't I used a WRT54G and the O2 router if I had any issues with O2 I could just change the default gateway to the WRT54G and get the VM connection.

    I did try and draytek dual WAN but it was crap.
    □ΞVΞ□

  7. #6
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    Re: pfSense Router - A little pointless story (with pictures!)

    Ah right I see why you wanted to do this then! Nice work!

  8. #7
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable

    Re: pfSense Router - A little pointless story (with pictures!)

    That's good going.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

  9. #8
    Overclocking Since 1988 nightkhaos's Avatar
    Join Date
    Apr 2009
    Location
    Sydney, AU
    Posts
    1,415
    Thanks
    93
    Thanked
    127 times in 106 posts

    Re: pfSense Router - A little pointless story (with pictures!)

    Cool, I have a mate would would really be interesting in setting this up.
    Desktop (Cy): Intel Core i7 920 D0 @ 3.6GHz, Prolimatech Megahalems, Gigabyte X58-UD5, Patriot Viper DDR3 6GiB @ 1440MHz 7-7-7-20 2T, EVGA NVIDIA GTX 295 Co-Op, Asus Xonar D2X, Hauppauge WinTV Nova TD-500, 2x WD Caviar Black 1TB in RAID 0, 4x Samsung EcoDrive 1.5TB F2s in RAID 5, Corsair HX 750W PSU, Coolermaster RC-1100 Cosmos Sport (Custom), 4x Noctua P12s, 6x Noctua S12Bs, Sony Optiarc DVD+/-RW, Windows 7 Professional Edition, Dell 2408WFP, Mirai 22" HDTV

    MacBook Pro (Voyager): Intel Core 2 Duo @ 2.6GHz, 4GiB DDR2 RAM, 200GB 7200RPM HDD, NVIDIA 8600GTM 512MB, SuperDrive, Mac OS X Snow Leopard, 15.4" Matte Display

    HTPC (Delta-Flyer): Intel Core 2 Q8200 @ 2.33GHz, Zotec GeForce 9300-ITX, 2GiB of DDR2 Corsair XMS2 RAM, KWorld PE355-2T, Samsung EcoDrive F2 1.5TB, In-Win BP655, Noctua NF-R8, LiteOn BluRay ROM Drive, Windows 7 Home Premium, 42" Sony 1080p Television

    i7 (Bloomfield) Overclocking Guide

    Quote Originally Posted by Spock
    I am not our father.

  10. #9
    Senior Member
    Join Date
    Sep 2003
    Location
    glasgow
    Posts
    1,450
    Thanks
    0
    Thanked
    1 time in 1 post

    Re: pfSense Router - A little pointless story (with pictures!)

    ooh jay u may be able to help me with my draytek , which right now i feel is crap but probably due to me not understanding the proper voodoo to get my two telewest connections running and load balanced

    if you could have a look at my thread in this section any adivce would be apreciated

  11. #10
    Network|Geek kidzer's Avatar
    Join Date
    Jul 2005
    Location
    Aberdeenshire
    Posts
    1,732
    Thanks
    91
    Thanked
    47 times in 42 posts
    • kidzer's system
      • Motherboard:
      • $motherboard
      • CPU:
      • Intel Q6600
      • Memory:
      • 4GB
      • Storage:
      • 1TiB Samsung
      • Graphics card(s):
      • BFG 8800GTS OC
      • PSU:
      • Antec Truepower
      • Case:
      • Antec P160
      • Operating System:
      • Windows 7
      • Monitor(s):
      • 20" Viewsonic
      • Internet:
      • ~3Mbps ADSL (TalkTalk Business)

    Re: pfSense Router - A little pointless story (with pictures!)

    Thats tremendous, very cool!
    "If you're not on the edge, you're taking up too much room!"
    - me, 2005

  12. #11
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: pfSense Router - A little pointless story (with pictures!)

    Added some terrible pictures
    □ΞVΞ□

  13. #12
    Senior Member oolon's Avatar
    Join Date
    Mar 2007
    Location
    London
    Posts
    2,294
    Thanks
    150
    Thanked
    302 times in 248 posts
    • oolon's system
      • Motherboard:
      • Asus P6T6
      • CPU:
      • Xeon w3680
      • Memory:
      • 3*4GB Kingston ECC
      • Storage:
      • 160GB Intel G2 SSD
      • Graphics card(s):
      • XFX HD6970 2GB
      • PSU:
      • Corsair HX850
      • Case:
      • Antec P183
      • Operating System:
      • Windows 7 Ultimate and Centos 5
      • Monitor(s):
      • Dell 2408WFP
      • Internet:
      • Be* Unlimied 6 down/1.2 up

    Re: pfSense Router - A little pointless story (with pictures!)

    An alturnative way to do this when you have only one NIC and a managed switch is to use VLANs and trunk in via 802.11q, you can plug in your cable and adsl into the switch on there own vlans. One thing you have to watch out for is the MTU of the NIC, vlans require a 4 byte overhead so you really need the onboard to support jumbos or extend ethernet frames. Yes to can set your dhcp server to hand out an MTU of 1496, however it seems due to the number of routers that handed out bogus values of 896, windows and linux ignore the MTU by default. One other thing to check is the MTU of your ADSL (oftain due to PPPoE) its 1492, where as your cable will give you a native 1500. I do this with my firewall which also happens to be in a VM so it can be really cut down.

  14. #13
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: pfSense Router - A little pointless story (with pictures!)

    Quote Originally Posted by oolon View Post
    An alturnative way to do this when you have only one NIC and a managed switch is to use VLANs and trunk in via 802.11q, you can plug in your cable and adsl into the switch on there own vlans. One thing you have to watch out for is the MTU of the NIC, vlans require a 4 byte overhead so you really need the onboard to support jumbos or extend ethernet frames. Yes to can set your dhcp server to hand out an MTU of 1496, however it seems due to the number of routers that handed out bogus values of 896, windows and linux ignore the MTU by default. One other thing to check is the MTU of your ADSL (oftain due to PPPoE) its 1492, where as your cable will give you a native 1500. I do this with my firewall which also happens to be in a VM so it can be really cut down.
    Yes, this is how I did it on my VM version when I tested but as I had the USB NICs I thought I would give it a go, also the little micro ITX board could not support jumbo frames and I like the red flashing lights on the USB NICs as you can actually see activity.
    □ΞVΞ□

  15. #14
    Senior Member oolon's Avatar
    Join Date
    Mar 2007
    Location
    London
    Posts
    2,294
    Thanks
    150
    Thanked
    302 times in 248 posts
    • oolon's system
      • Motherboard:
      • Asus P6T6
      • CPU:
      • Xeon w3680
      • Memory:
      • 3*4GB Kingston ECC
      • Storage:
      • 160GB Intel G2 SSD
      • Graphics card(s):
      • XFX HD6970 2GB
      • PSU:
      • Corsair HX850
      • Case:
      • Antec P183
      • Operating System:
      • Windows 7 Ultimate and Centos 5
      • Monitor(s):
      • Dell 2408WFP
      • Internet:
      • Be* Unlimied 6 down/1.2 up

    Re: pfSense Router - A little pointless story (with pictures!)

    Looking again at your pictures, how come your using the small netgear switch rather than that rather nice looking dell one with the SFP slots?

  16. #15
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: pfSense Router - A little pointless story (with pictures!)

    the dell one is a 24 port gigabit managed switch with 4 SFP slots, its the bee's knees but its so noisy its untrue!
    □ΞVΞ□

  17. #16
    Senior Member
    Join Date
    Sep 2003
    Location
    glasgow
    Posts
    1,450
    Thanks
    0
    Thanked
    1 time in 1 post

    Re: pfSense Router - A little pointless story (with pictures!)

    do you think if i bought one of the cheap atom boards and a couple of usb dongles and a wifi module i could make the same as my draytek and follow your guide and it would combine my two cable connections ?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Draytek Vigor 2800G mini-review
    By Taz in forum Networking and Broadband
    Replies: 13
    Last Post: 05-09-2020, 08:28 PM
  2. Multiple static IPs going to your router
    By latrosicarius in forum Networking and Broadband
    Replies: 3
    Last Post: 22-11-2008, 04:13 PM
  3. Having annoying router problems!
    By neonplanet40 in forum Networking and Broadband
    Replies: 12
    Last Post: 16-06-2008, 01:19 AM
  4. Can one wireless router connect to another for internet viewing ?
    By mike63uk in forum Networking and Broadband
    Replies: 2
    Last Post: 05-02-2008, 09:41 PM
  5. Router to router connection
    By ajbrun in forum Networking and Broadband
    Replies: 17
    Last Post: 28-02-2005, 11:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •