Find the answer to your Linux question:
Results 1 to 8 of 8
I've been using my desktop as a devoted SSH box running Debian. I want to expand its functionality to use it as a router/firewall using the pfSense FreeBSD distro. Could ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! Chao06's Avatar
    Join Date
    Aug 2008
    Location
    College Station, Texas, United States
    Posts
    40

    running 2 OS's in parallel


    I've been using my desktop as a devoted SSH box running Debian.
    I want to expand its functionality to use it as a router/firewall using the pfSense FreeBSD distro.
    Could I run the two in parallel with Debian behind the firewall?
    Would I need a VPS like Xen to do that, and if so, how would that effect the routing capabilities for pfSense? Or is what I want even possible?
    thanks,
    David

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Xen will make it run completely inside of your OS, using ParaVirtualization.
    If you want to make 2 Systems run in parallel, on same hardware.
    You should take a look at VMware EXSi
    This is a Hypervisor which will keep your both OS completely seperate from each other.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Just Joined! Chao06's Avatar
    Join Date
    Aug 2008
    Location
    College Station, Texas, United States
    Posts
    40
    : ) thanks, that looks like it'll do what I need...

    not trying to be picky, but do you know of something similar that's open source? it would feel kinda weird running Debian on top of a proprietary VM...

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User
    Join Date
    May 2009
    Location
    Big River, Sask, Canada
    Posts
    342
    Registered Linux User #420832

  6. #5
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Quote Originally Posted by Chao06 View Post
    : ) thanks, that looks like it'll do what I need...

    not trying to be picky, but do you know of something similar that's open source? it would feel kinda weird running Debian on top of a proprietary VM...
    lol, thats true.

    Well, Para Virtualizations are faster compared to Emulated one.

    Para Virtualization (Xen) > KVM > Qemu (In matter of speed)

    But Para Virtualization can be only used between same kind of OS/Kernel of same arch.
    (In this case Host kernel will have control over guest operations)

    KVM uses the Hardware ability to Virtualize, (Will only work on Intel CPUs having VT Technology or AMD CPUs having VTx Technology)
    Here Guest OS directly runs on your CPU. If your Processor is 64bit It allows to run 64 bit guest OS even if host is 32 bit

    Qemu is quite slower than these, as it will emulate all the hardware. and runs completely inside of your OS.

    So its better to use Linux + Xen for multiple Linux Server Virtualizations.

    To keep VM's network separate from your host OS, its better to use a bridge devices.
    That would do your trick
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  7. #6
    Just Joined! Chao06's Avatar
    Join Date
    Aug 2008
    Location
    College Station, Texas, United States
    Posts
    40
    so you're saying it would probably be best to run Xen, then find a Linux based firewall/router distribution instead so that it can share the generic kernel with Debian?

    (edit)
    Also, could sharing the kernel potentially undermine the security of the firewall?

  8. #7
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    No it won't, If you apply security to your host OS..
    In Para Virtualization services are directly from the base hardware instead of abstracting or emulating it.

    Xen's performance is quite similar as native OS
    Last edited by b2bwild; 06-13-2009 at 03:12 AM. Reason: ,
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  9. #8
    Just Joined! Chao06's Avatar
    Join Date
    Aug 2008
    Location
    College Station, Texas, United States
    Posts
    40
    awesome, thanks! i downloaded xen, and I think i'll be going with Coyote Linux and setting up Xen through it...
    thanks for all your help : )
    David

Posting Permissions

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