Recommended Posts

Would totally agree with you if my router wasn't such a piece of junk.

 

Even though it is now only an AP, I have had to reboot it twice already in 24 hours, because it has been misbehaving.

My reasoning for getting a 'business class' AP, is because of this and no other reason.

Take a look here, When I finally getting around to replacing my aging wrt54g as my AP I think I will go with this

http://www.ubnt.com/unifi

You can pick them on up Amazon

http://www.amazon.com/dp/B004XXMUCQ

My apologies - only clicked the first link. That's the one I liked the look of too, although slightly more expensive than the Cisco model I was looking at.

 

For the sake of completeness, I drew my network in Visio so you can see what you helped implement.

 

 

post-11693-0-28122000-1372637554.png

Was looking at the Cisco WAP121-E-K9-G5.

 

http://www.cisco.com/en/US/products/ps12236/index.html

http://www.amazon.co.uk/gp/product/B007VKMNLQ/ref=ox_sc_sfl_title_2?ie=UTF8&psc=1&smid=A3P5ROKL5A1OLE

 

Would be great to see yours, really interested how a networking expert does it.

  • 2 months later...

@fahim: Why do you have a FreeNAS VM and a separate QNAP NAS box? Isn't QNAP supposed to take care of everything?

 

I've been thinking about a home server set up, where the virtualized server will both serve as a router, NAS, and run whatever else I need (development VMs, web server, etc...), but I'm not sure whether putting all of that on the same machine is a good idea.

 

Wouldn't the NAS be hitting the disks very hard when you're streaming HD movies (say, from multiple home computers), and therefore slow down whatever other services you have running on the same server?

 

I guess I just don't fully understand how the disk management and space allocation would work on such a server. Would you separate the NAS RAID-array from the other VMs or do you use the same RAID-array for everything?

In my setup the nas VM has raw access to the disks it uses to serve up files, no other vm uses those. The only shared disk is the datastore where their OS lives -- os drive is not really a heavy IO hitter, etc.

@fahim: Why do you have a FreeNAS VM and a separate QNAP NAS box? Isn't QNAP supposed to take care of everything?

 

I've been thinking about a home server set up, where the virtualized server will both serve as a router, NAS, and run whatever else I need (development VMs, web server, etc...), but I'm not sure whether putting all of that on the same machine is a good idea.

 

Wouldn't the NAS be hitting the disks very hard when you're streaming HD movies (say, from multiple home computers), and therefore slow down whatever other services you have running on the same server?

 

I guess I just don't fully understand how the disk management and space allocation would work on such a server. Would you separate the NAS RAID-array from the other VMs or do you use the same RAID-array for everything?

 

The QNAP is a TS109 Pro II single bay NAS - it's about 7 years old, has had a single Samsung F1 1TB drive in it since I bought it and I kind of expect it to die soon (although it shows no indication of doing so).  I seldom stream to multiple locations in my home at the same time.  I also don't use a large RAID array in my server.

 

I have a total of 9 drives in my server (I have ports for another 3 but not enough physical space for that many without some serious changes):

  • a 'recycled' 64GB SSD for the OS drives for my VMs under ESXi (ESXi itself is also installed here - This is used via a VMFS datastore.  My VMs have always been very quick - although I have no idea how much slower (if at all) they would be if they weren't on a SSD.
  • 4 large drives (3.5") mapped raw to my FreeNAS VM and used as ZFS array.
  • 4 smaller drives (2.5") mapped raw to a NexentaStor Community Edition VM again as a ZFS array - this is mainly to play with.

I will likely add another SSD (possibly 2) at some point I think for more OS storage as I have run out and am nowhere near hitting my CPU or RAM ceilings.  I have a 96GB SSD in my laptop that will likely get recycled at some point :-)

 

I've not experienced a performance hit so far.  If I do, I'll have to carefully consider my next move!

What's interesting to me about this whole setup is that if any of the non-pfSense VMs need to access the Internet, the ESXi server needs to do a context-switch and load up the pfSense VM to service the request first, and then switch back to the original VM and so on and so forth.

I guess if you have a multi-core CPU this performs well (given that internet speeds aren't all that nowdays).

 

Here's another scenario: I was thinking that if I had a FreeNAS VM and I would want to have the ability to stream my media when I'm away from home, I could install Subsonic for music (or something equivalent), and something else for video. But then the FreeNAS VM would be running Internet services and have direct access to my media files, which means that if someone exploits Subsonic (or whatever app you use), then he might gain access to files I don't want him to see.

 

A possible solution to this might be to create a very lightweight VM that runs only those audio/video services and has read-only access only to the relevant media folders. In this case, if this VM is compromised, the attacker only has read-only access to some elementary media files and nothing else.

 

But how do you share files from one VM to the other? Is there an efficient way of sharing folders this way, other than using NFS/Samba?

What's interesting to me about this whole setup is that if any of the non-pfSense VMs need to access the Internet, the ESXi server needs to do a context-switch and load up the pfSense VM to service the request first, and then switch back to the original VM and so on and so forth.

I guess if you have a multi-core CPU this performs well (given that internet speeds aren't all that nowdays).

 

Here's another scenario: I was thinking that if I had a FreeNAS VM and I would want to have the ability to stream my media when I'm away from home, I could install Subsonic for music (or something equivalent), and something else for video. But then the FreeNAS VM would be running Internet services and have direct access to my media files, which means that if someone exploits Subsonic (or whatever app you use), then he might gain access to files I don't want him to see.

 

A possible solution to this might be to create a very lightweight VM that runs only those audio/video services and has read-only access only to the relevant media folders. In this case, if this VM is compromised, the attacker only has read-only access to some elementary media files and nothing else.

 

But how do you share files from one VM to the other? Is there an efficient way of sharing folders this way, other than using NFS/Samba?

 

Such context-switching is what ESXi is good at.  I am using a dual-core CPU in my server but not a very powerful one.

 

You certainly don't want to be putting your FreeNAS VM on the internet.

 

A better idea would be to create a DMZ and have your internet facing VM living there, connecting to your FreeNAS VM through the firewall with only the appropriate ports open.

 

As for protocols, I don't really know - but I guess it would be a choice of NFS or iSCSI.  I don't know enough about iSCSI to know if it would work.

"ESXi server needs to do a context-switch and load up the pfSense VM to service the request first, and then switch back to the original VM and so on and so forth."

 

I don't really think you understand how esxi works to be honest..  You do understand this is run in enterprise with hundreds of VM running on 1 piece of hardware in some setups.  We are not running on 386s or something  ;)

 

This is not a single threaded sort of application - context switching??  Your trying to oversimplify what is going on.

  • 2 years later...
On 28/01/2016 at 6:45 AM, papotz22 said:

HI! Farim S. can you teach how you do it!? seems we almost has same setup., and the config on Access Point wireless router how did you configure it? 

Wow, network doesn't look completely like this anymore.  However:

 

I am not entirely clear what you are asking, but if you want to take a wireless router and use it as an access point, you need to switch off all of the routing functions.

 

If the router you want to use as an AP has a dedicated WAN port, then put some tape over it and make sure you *DON'T* use it.

Next choose an IP Address that is within the subnet that your actual router is in, but outside its DHCP scope.

Configure the router you want to use as an AP to:

- give it the IP Address you chose.

- switch off its DHCP function

 

Pretty simple really. 

 

This topic is now closed to further replies.
  • Posts

    • Weekend PC Game Deals: Anno 117, Final Fantasy VII, Rematch, and more by Pulasthi Ariyasinghe Weekend PC Game Deals is where the hottest gaming deals from all over the internet are gathered into one place every week for your consumption. So kick back, relax, and hold on to your wallets. The Epic Games Store's mystery giveaways may have ended, but its regular freebies didn't miss a step this week. The double drop was for copies of Warhammer 40K Speed Freeks and The Ouroboros King. Speed Freeks lands for multiplayer racing fans, but with plenty of competitive shooting elements too. You will be piloting Ork buggies, tanks, and aircraft modeled after the popular tabletop miniatures while trying to complete objectives and pass finish lines. Next, Ouroboros King is a crossover between chess and tactical roguelikes, offering the chance to create your own army with special rules to beat incoming foes on the board. The double giveaway on the Epic Games Store will be available until June 11, and replacing it will be Citizen Sleeper and ROBOBEAT. The Humble Store brought a new charity bundle to check out this week too. Landing with the name The Complete Inkle Library, this is a large collection of interactive narrative puzzle games from the publisher Inkle. This begins with Heaven's Vault, four parts from the Sorcery series, 80 Days, Overboard, and Pendragon: Narrative Tactics within the starting tier for $9. Hopping up a step to the $12 tier gets you TR-49, Expelled, and A Highland Song for paying at least $12. If you go for the $20 tier, you get four e-books from the Heaven's Vault series. The bundle has almost three weeks on its counter before it goes away. Big Deals There is a larger than normal amount of weekend specials happening this time, including multiple publisher deals, franchise discounts, and indie gems to grab. With those and more, here's our hand-picked big deals list for the weekend: Anno 117: Pax Romana – $44.99 on Steam Clair Obscur: Expedition 33 – $39.99 on Steam Timberborn – $27.99 on Steam EARTH DEFENSE FORCE 6 – $26.39 on Steam Rust – $19.99 on Steam FINAL FANTASY VII REBIRTH – $19.99 on Steam Street Fighter 6 – $19.99 on Steam Returnal – $19.79 on Steam Shape of Dreams – $17.49 on Steam Far Cry 6 – $14.99 on Steam Assassin's Creed Valhalla – $14.99 on Steam Quarantine Zone: The Last Check – $14.99 on Steam REMATCH – $14.99 on Steam EA SPORTS FC 26 – $13.99 on Steam FINAL FANTASY VII REMAKE INTERGRADE – $13.99 on Steam Magicraft – $12.79 on Steam Cult of the Lamb – $12.49 on Steam Dying Light 2: Reloaded Edition – $11.99 on Steam Cuphead – $11.99 on Steam Assassin's Creed Odyssey – $11.99 on Steam Hunt: Showdown 1896 – $11.99 on Steam Sektori – $11.99 on Steam Just Shapes & Beats – $11.99 on Steam Gunfire Reborn – $10.99 on Steam 33 Immortals – $9.99 on Epic Store Baby Steps – $9.99 on Steam Sifu – $9.99 on Steam Hearts of Iron IV – $9.99 on Steam DREDGE – $9.99 on Steam DAVE THE DIVER – $9.99 on Steam Pacific Drive – $9.89 on Steam Mycopunk – $9.74 on Steam Sons Of The Forest – $8.99 on Steam Jotunnslayer: Hordes of Hel – $8.99 on Steam Nuclear Throne – $8.99 on Steam Mechabellum – $8.99 on Steam Deep Rock Galactic: Survivor – $8.44 on Steam TerraTech Legion – $7.99 on Steam Inscryption – $7.99 on Steam Assassin's Creed Unity – $7.49 on Steam Minishoot' Adventures – $7.49 on Steam The Stanley Parable – $7.49 on Steam Oxygen Not Included – $7.49 on Steam Megabonk – $6.99 on Steam Look Outside – $5.99 on Steam Vampire Hunters – $5.24 on Steam MOTHERGUNSHIP – $4.99 on Steam My Friend Pedro – $3.99 on Steam The Messenger – $3.99 on Steam Vampire Survivors – $3.74 on Steam Brotato – $2.99 on Steam Enter the Gungeon – $2.99 on Steam Loop Hero – $2.99 on Steam GRIS – $2.99 on Steam Exit the Gungeon – $2.49 on Steam Hitman: Absolution – $1.99 on Steam CARRION – $1.99 on Steam Don't Starve Together – $1.49 on Steam Golf With Your Friends – $1.49 on Steam Hotline Miami – $0.99 on Steam The Ouroboros King – $0 on Epic Store Warhammer 40K Speed Freeks – $0 on Epic Store DRM-free Specials Hopping over to the DRM-free deals, the GOG store has plenty of discounts running this weekend too. Here are some highlights: Fallout 4: Game of the Year Edition - $15.99 on GOG Fallout: New Vegas Ultimate Edition - $9.99 on GOG Disco Elysium - The Final Cut - $9.99 on GOG Crysis - $9.99 on GOG Tyranny - Standard Edition - $7.49 on GOG Frostpunk: Game of the Year Edition - $7.35 on GOG Banished - $6.79 on GOG Fallout 3: Game of the Year Edition - $6.59 on GOG The Forgotten City - $6.25 on GOG The Age of Decadence - $5.99 on GOG SimCity 3000 Unlimited - $4.99 on GOG Assassin's Creed: Director's Cut - $4.99 on GOG SimCity 4 Deluxe Edition - $3.99 on GOG Vampyr - $3.99 on GOG Torchlight II - $3.99 on GOG Deus Ex GOTY Edition - $3.49 on GOG Primordia - $3.09 on GOG Theme Hospital - $2.99 on GOG SimCity 2000 Special Edition - $2.99 on GOG Total Annihilation: Kingdoms + Iron Plague - $2.99 on GOG Deus Ex: Human Revolution - Director’s Cut - $2.99 on GOG Master of Orion 1+2 - $2.39 on GOG Prince of Persia: The Sands of Time - $1.99 on GOG Prince of Persia: Warrior Within - $1.99 on GOG EVERSPACE - $1.99 on GOG Total Annihilation: Commander Pack - $0.99 on GOG Keep in mind that availability and pricing for some deals could vary depending on the region. That's it for our pick of this weekend's PC game deals, and hopefully, some of you have enough self-restraint not to keep adding to your ever-growing backlogs. As always, there are an enormous number of other deals ready and waiting all over the interwebs, as well as on services you may already subscribe to if you comb through them, so keep your eyes open for those, and have a great weekend.
    • When will the Photos app be updated to remember the window size and position when reopened? They addressed this issue in a 2024 version of the app (though I can't recall the build number). Unfortunately, after that specific version, the problem persists! Please prioritise this fix in your K2 schedule. Additionally, the Snipping Tool has lost the ability to capture the Windows Taskbar starting from the 2024 version!
    • Same, never saw it on Android or iOS. Guess only some people got it *shrugs*
    • Anthropic pulls Fable 5 and Mythos 5 after US export control order by Pradeep Viswanathan In April this year, Anthropic launched the Claude Mythos Preview frontier model with state-of-the-art cyber and coding capabilities for a select set of companies around the world. After preparing appropriate guardrails, early this week, Anthropic launched Claude Fable 5 and Mythos 5, its most capable AI models. Claude Fable 5 is for general users and comes with strict safeguards, while Mythos 5 is designed with fewer safeguards for cybersecurity and biology use cases. Today, Anthropic abruptly suspended access to its Fable 5 and Mythos 5 AI models for all customers after receiving an export control directive from the US government. The company received the directive from the government today at 5:21 p.m. ET, and the received letter did not provide any details regarding the national security concern. Anthropic understands that the government became aware of a method to bypass, or “jailbreak,” Fable 5, which might be the reason behind the directive. The order was issued under national security authorities and requires the company to suspend all access to Fable 5 and Mythos 5 by any foreign national, whether they are inside or outside the United States. The restriction also applies to foreign national employees working at Anthropic. As a result, the company has disabled both models for all customers to ensure compliance. Access to previous Anthropic models like Opus and Sonnet is not affected by this government order. The company highlighted that it had developed strong safeguards to reduce the possibility that Fable is misused for tasks related to cybersecurity. In fact, many developers are complaining that the safeguards are going overboard. Additionally, the company worked with the US government, the UK AISI, multiple private third-party organizations, and internal teams to red-team Fable’s safeguards for thousands of hours. Finally, Anthropic noted that no testers have yet been able to find a universal jailbreak on Fable 5. As expected, Anthropic disagrees that a narrow potential jailbreak should lead to the recall of a commercial model used by hundreds of millions of people. It warned that applying this standard across the AI industry could effectively halt new frontier model deployments. Anthropic concluded by mentioning that it is working to restore access to Fable 5 and Mythos 5 as soon as possible and plans to share more details within the next 24 hours.
  • Recent Achievements

    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
    • Dedicated
      jordanspringer earned a badge
      Dedicated
    • Rookie
      Rimplesnort went up a rank
      Rookie
    • One Year In
      Markus94287 earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      503
    2. 2
      +Edouard
      176
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      ATLien_0
      92
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!