Re: [ubuntu-uk] Can I use a desktop PC as a network hub?

2008-02-22 Thread Gaurav Patel
On 22/02/2008, Rob Beard <[EMAIL PROTECTED]> wrote:
> Quoting James Grabham <[EMAIL PROTECTED]>:
>
>  > Right, Im setting up a p3 800mhz 256mb box as a firewall, file server, 
> media
>  > player and to use for other stuff.
>  >
>  > Now I will have
>  >
>  > Modem>PC>old wireless router
>  >
>  > If I do this, I will have all network traffic coming at it through a single
>  > 10/100 connection.
>  >
>  > Instead of plugging all my wired computers into the router, can I shove 
> some
>  > more NICs into the srever, and plug them into this, making it act as a hub
>  > as well.
>  >
>  > So Id have eth0 eth1 eth2
>  >
>  > Will this work.
>  >
>  > Will I need patch or crossover cables.
>  >
>  >
>  > All help much appreciated.
>  >
>
>
>
> It's an expensive and complicated way of doing it.  I'd keep it how
>  you've got it at the moment.  It might not be such a good idea to run
>  a firewall on the same box as a server.  What sort of media are you
>  storing?  You should be able to support up to high definition video on
>  a 10/100Mbit connection.  I have 8 machines connected to my server for
>  media sharing, over a 100Mbit connection and it runs fine.  My server
>  is even running VMWare too so it's technically split into two machines.
>
>  If you did decide to go ahead though, you'd need crossover cables to
>  go from the PC to the NIC on the server, plus you're limited on how
>  many slots you have.  If you're worried about bandwidth maybe you
>  should invest in a gigabit switch and gigabit NICs.
>
>  Rob
>
>
>
>
>
>  --
>
> ubuntu-uk@lists.ubuntu.com
>  https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
>  https://wiki.kubuntu.org/UKTeam/
>

I would recommend doing the switching/connectivity of other
workstations using a hub or a switch, they're inexpensive now. You
state that you have a router, is it a multi-port router? That could
interconnect your other devices. You'll keep your server's CPU free to
do other things.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Can I use a desktop PC as a network hub?

2008-02-22 Thread Rob Beard
Quoting James Grabham <[EMAIL PROTECTED]>:

> Right, Im setting up a p3 800mhz 256mb box as a firewall, file server, media
> player and to use for other stuff.
>
> Now I will have
>
> Modem>PC>old wireless router
>
> If I do this, I will have all network traffic coming at it through a single
> 10/100 connection.
>
> Instead of plugging all my wired computers into the router, can I shove some
> more NICs into the srever, and plug them into this, making it act as a hub
> as well.
>
> So Id have eth0 eth1 eth2
>
> Will this work.
>
> Will I need patch or crossover cables.
>
>
> All help much appreciated.
>


It's an expensive and complicated way of doing it.  I'd keep it how  
you've got it at the moment.  It might not be such a good idea to run  
a firewall on the same box as a server.  What sort of media are you  
storing?  You should be able to support up to high definition video on  
a 10/100Mbit connection.  I have 8 machines connected to my server for  
media sharing, over a 100Mbit connection and it runs fine.  My server  
is even running VMWare too so it's technically split into two machines.

If you did decide to go ahead though, you'd need crossover cables to  
go from the PC to the NIC on the server, plus you're limited on how  
many slots you have.  If you're worried about bandwidth maybe you  
should invest in a gigabit switch and gigabit NICs.

Rob




-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Can I use a desktop PC as a network hub?

2008-02-22 Thread Kris Douglas
On Fri, Feb 22, 2008 at 2:10 PM, Tom Bamford <[EMAIL PROTECTED]> wrote:
> On 2/22/08, James Grabham <[EMAIL PROTECTED]> wrote:
>
> > Right, Im setting up a p3 800mhz 256mb box as a firewall, file server,
> media player and to use for other stuff.
> >
> > Now I will have
> >
> > Modem>PC>old wireless router
> >
> > If I do this, I will have all network traffic coming at it through a
> single 10/100 connection.
> >
> > Instead of plugging all my wired computers into the router, can I shove
> some more NICs into the srever, and plug them into this, making it act as a
> hub as well.
> >
> > So Id have eth0 eth1 eth2
> >
> > Will this work.
>
> As far as I know, there are two ways of achieving this. You can either
> configure each card on a separate subnet and set your box up to forward
> packets between them, or you can create a bridge device containing each ethX
> device you want to bridge, and they will be configured as one device. The
> latter is probably what you're after, I have done this before to bridge my
> VirtualBox VMs with the rest of my lan and it works quite well.
>
> > Will I need patch or crossover cables.
>
> Whether to use a straight or crossed cable depends on the device you're
> using rather than the configuration. PC to PC, or hub to hub uplink demands
> a crossed cable, most other applications use straight cables (eg. PC to hub,
> hub to hub non-uplink).
>
> > All help much appreciated.
> >
> > --
> >
> > ubuntu-uk@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> > https://wiki.kubuntu.org/UKTeam/
> >
> >
>
>
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.kubuntu.org/UKTeam/
>
>

Hmm, would hardy's new Easy Firewall work in this situation? it lets
you route prots with simple commands.

-- 
Kris Douglas
  Softdel Limited Hosting Services
  Web: www.softdel.net
  Mail: [EMAIL PROTECTED]

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Can I use a desktop PC as a network hub?

2008-02-22 Thread Tom Bamford
On 2/22/08, James Grabham <[EMAIL PROTECTED]> wrote:
>
> Right, Im setting up a p3 800mhz 256mb box as a firewall, file server,
> media player and to use for other stuff.
>
> Now I will have
>
> Modem>PC>old wireless router
>
> If I do this, I will have all network traffic coming at it through a
> single 10/100 connection.
>
> Instead of plugging all my wired computers into the router, can I shove
> some more NICs into the srever, and plug them into this, making it act as a
> hub as well.
>
> So Id have eth0 eth1 eth2
>
> Will this work.


As far as I know, there are two ways of achieving this. You can either
configure each card on a separate subnet and set your box up to forward
packets between them, or you can create a bridge device containing each ethX
device you want to bridge, and they will be configured as one device. The
latter is probably what you're after, I have done this before to bridge my
VirtualBox VMs with the rest of my lan and it works quite well.

Will I need patch or crossover cables.


Whether to use a straight or crossed cable depends on the device you're
using rather than the configuration. PC to PC, or hub to hub uplink demands
a crossed cable, most other applications use straight cables (eg. PC to hub,
hub to hub non-uplink).

All help much appreciated.
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.kubuntu.org/UKTeam/
>
>
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Can I use a desktop PC as a network hub?

2008-02-22 Thread Andrew Oakley
Kris Douglas wrote:
> On Fri, Feb 22, 2008 at 12:58 PM, James Grabham <[EMAIL PROTECTED]> wrote:
>> Instead of plugging all my wired computers into the router, can I shove some
>> more NICs into the srever, and plug them into this, making it act as a hub
> That would work well, we have a similar system that basically

Er... yes, but not easily.

Each NIC would need its own IP address; I'm not aware that you can 
assign the same IP address to multiple NICs without a great deal of hassle.

It's relatively easy to share the modem across multiple NICs with 
different IP addresses, but the final devices would not be able to talk 
to other devices without setting up routing, which is reasonably 
advanced. For example:

Modem -> PC -> Laptop1
 -> Laptop2

...would prevent Laptop1 talking to Laptop2 unless you set up routing.

Given that you can buy a brand new network switch for less than five pounds:

http://www.google.co.uk/products?q=network+switch&scoring=p

...this is an extremely complicated way of achieving a very simple 
result. Instead I recommend:

Modem -> PC -> FiveQuidSwitch -> Laptop1
   -> Laptop2
   -> Printer
   -> etc.

If by "modem" you mean "Broadband modem with Cat5" rather than "USB 
modem" or "pre-broadband modem", then you can achieve even better 
results with:

Modem -> FiveQuidSwitch -> PC
 -> Laptop1
 -> Laptop2
 -> Printer
 -> etc.

-- 
Andrew Oakley


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Can I use a desktop PC as a network hub?

2008-02-22 Thread Kris Douglas
On Fri, Feb 22, 2008 at 12:58 PM, James Grabham <[EMAIL PROTECTED]> wrote:
> Right, Im setting up a p3 800mhz 256mb box as a firewall, file server, media
> player and to use for other stuff.
>
> Now I will have
>
> Modem>PC>old wireless router
>
> If I do this, I will have all network traffic coming at it through a single
> 10/100 connection.
>
> Instead of plugging all my wired computers into the router, can I shove some
> more NICs into the srever, and plug them into this, making it act as a hub
> as well.
>
> So Id have eth0 eth1 eth2
>
> Will this work.
>
> Will I need patch or crossover cables.
>
>
> All help much appreciated.


That would work well, we have a similar system that basically
firewalls a router, with a web based interface that lets me change
settings.

If you have pci wireless cards you can use ubuntu as a wireless AP.
Additionally, as you can firewall the interfaces on the machine you
could also use it as a hub.

By installing Samba you are able to share the files over the network.

I couldn't personally tell you how to configure the interfaces for
sharing the internet connection, or the firewall configuration, but it
is possible.

-- 
Kris Douglas
 Softdel Limited Hosting Services
 Web: www.softdel.net
 Mail: [EMAIL PROTECTED]

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/