|
||||||||
|
|
#1
|
|
i currently have a network containing about 6 comptuers, i recently
aquired 2 additional computers, a 450mhz and a 500mhz, my plan is to make data servers out of them. However, i would like to have the 450mhz computer operate as my router, since my microsoft router (shit) seems to keep droping my connection every now and then. The other computer will be incharge of other high demanding processes which will involve data from computer #1. So what i want is a network according to the following diagram. [cable internet]<>------>|comp #1|<>----------<>|comp #2| | | | | |------<>|SWITCH|<>----| | | | |comp|---------<>| | |<>---------|comp#3| | |comp| *note that comp1 has 3 NICs; one 10/100mbps for the internet cable modem, one 10/100mbps to the switch for other comps to access, and one 10/100/1000mbps for direct connection to comp2, which i would like to be a gigabit connection, for data flexibility. I am running Fedora Core 3 on both comp1 and comp2. A problem that i see rising is, suppose comp1 wants to talk to a comp3, would the data path look like this, [comp1]-->[comp2]--->[switch]--->[comp3] or like this, [comp1]--->[switch]---->[comp3] ? detail instructions including commands on doing this would be appreciated. Avi |
|
#2
|
|||
|
|||
|
Avi wrote:
> i currently have a network containing about 6 comptuers, i recently > aquired 2 additional computers, a 450mhz and a 500mhz, my plan is to > make data servers out of them. However, i would like to have the > 450mhz computer operate as my router, since my microsoft router (shit) > seems to keep droping my connection every now and then. The other > computer will be incharge of other high demanding processes which will > involve data from computer #1. So what i want is a network according > to the following diagram. > > [cable internet]<>------>|comp #1|<>----------<>|comp #2| > | | > | | > |------<>|SWITCH|<>----| > | | | > |comp|---------<>| | |<>---------|comp#3| > | > |comp| > > *note that comp1 has 3 NICs; one 10/100mbps for the internet cable > modem, one 10/100mbps to the switch for other comps to access, and one > 10/100/1000mbps for direct connection to comp2, which i would like to > be a gigabit connection, for data flexibility. I am running Fedora > Core 3 on both comp1 and comp2. A problem that i see rising is, > suppose comp1 wants to talk to a comp3, would the data path look like > this, > > [comp1]-->[comp2]--->[switch]--->[comp3] or like this, > [comp1]--->[switch]---->[comp3] ? > > detail instructions including commands on doing this would be > appreciated. It depends on your routing table in comp#1. If you declare that the route to comp#2 in via the direct Ethernet and everything else in the internal network is to the switch, it will go. The same considerations will apply the routes from comp#2. You have to decide if you want comp#2 to access the Internet (behind comp#1) via the direct connection or via the switch. Another consideration is if it is necessary to have the connection from comp#2 to the switch or to route all comp#2's traffic via comp#1. HTH -- Tauno Voipio tauno voipio (at) iki fi |
|
#3
|
|||
|
|||
|
Tauno Voipio <(E-Mail Removed)> wrote in message news:<uVkqd.163$(E-Mail Removed)>...
> Avi wrote: > > i currently have a network containing about 6 comptuers, i recently > > aquired 2 additional computers, a 450mhz and a 500mhz, my plan is to > > make data servers out of them. However, i would like to have the > > 450mhz computer operate as my router, since my microsoft router (shit) > > seems to keep droping my connection every now and then. The other > > computer will be incharge of other high demanding processes which will > > involve data from computer #1. So what i want is a network according > > to the following diagram. > > > > [cable internet]<>------>|comp #1|<>----------<>|comp #2| > > | | > > | | > > |------<>|SWITCH|<>----| > > | | | > > |comp|---------<>| | |<>---------|comp#3| > > | > > |comp| > > > > *note that comp1 has 3 NICs; one 10/100mbps for the internet cable > > modem, one 10/100mbps to the switch for other comps to access, and one > > 10/100/1000mbps for direct connection to comp2, which i would like to > > be a gigabit connection, for data flexibility. I am running Fedora > > Core 3 on both comp1 and comp2. A problem that i see rising is, > > suppose comp1 wants to talk to a comp3, would the data path look like > > this, > > > > [comp1]-->[comp2]--->[switch]--->[comp3] or like this, > > [comp1]--->[switch]---->[comp3] ? > > > > detail instructions including commands on doing this would be > > appreciated. > > It depends on your routing table in comp#1. > > If you declare that the route to comp#2 in via the > direct Ethernet and everything else in the internal > network is to the switch, it will go. > > The same considerations will apply the routes > from comp#2. You have to decide if you want comp#2 > to access the Internet (behind comp#1) via the direct > connection or via the switch. > > Another consideration is if it is necessary to have > the connection from comp#2 to the switch or to route > all comp#2's traffic via comp#1. > > HTH what i would like is for comp1 to be a router and provide internet for the entire network but also act as a file server. comp2 is a fileserver but in addition it acts download 'server', mostly downloading torrents as well as sharing them, the reason i choose to have these services on comp2 instead of comp1 is because just incase comp2 crashes because of the downloads or other processes, my network's internet will not be down. comp2 shares files to other computers within the internal network. the reason i would like all internal computers to access comp2 via the switch is so that it doesn't create a additional load on comp1. if u could provide appropriate commands for iptables that would allow this routing to happen it would be highly appreciated. thanks in advance |
|
#4
|
|||
|
|||
|
I find this whole thing a bit weird. You are taking some ancient computers, and then want them to serve as high speed servers. You want a 1GHz connection when your computer is not capable of handling 1GHz data transfers internally. What data from computer 1? Computer 1 is a slow computer. What kind of high throughput is it going to handle? (E-Mail Removed) (Avi) writes: ]Tauno Voipio <(E-Mail Removed)> wrote in message news:<uVkqd.163$(E-Mail Removed)>... ]> Avi wrote: ]> > i currently have a network containing about 6 comptuers, i recently ]> > aquired 2 additional computers, a 450mhz and a 500mhz, my plan is to ]> > make data servers out of them. However, i would like to have the ]> > 450mhz computer operate as my router, since my microsoft router (shit) ]> > seems to keep droping my connection every now and then. The other ]> > computer will be incharge of other high demanding processes which will ]> > involve data from computer #1. So what i want is a network according ]> > to the following diagram. ]> > ]> > [cable internet]<>------>|comp #1|<>----------<>|comp #2| ]> > | | ]> > | | ]> > |------<>|SWITCH|<>----| ]> > | | | ]> > |comp|---------<>| | |<>---------|comp#3| ]> > | ]> > |comp| ]> > ]> > *note that comp1 has 3 NICs; one 10/100mbps for the internet cable ]> > modem, one 10/100mbps to the switch for other comps to access, and one ]> > 10/100/1000mbps for direct connection to comp2, which i would like to ]> > be a gigabit connection, for data flexibility. I am running Fedora ]> > Core 3 on both comp1 and comp2. A problem that i see rising is, ]> > suppose comp1 wants to talk to a comp3, would the data path look like ]> > this, ]> > ]> > [comp1]-->[comp2]--->[switch]--->[comp3] or like this, ]> > [comp1]--->[switch]---->[comp3] ? ]> > ]> > detail instructions including commands on doing this would be ]> > appreciated. ]what i would like is for comp1 to be a router and provide internet for ]the entire network but also act as a file server. comp2 is a Why would you use your slowest computer as a file server? ]fileserver but in addition it acts download 'server', mostly ]downloading torrents as well as sharing them, the reason i choose to ]have these services on comp2 instead of comp1 is because just incase ]comp2 crashes because of the downloads or other processes, my ]network's internet will not be down. comp2 shares files to other You have set it up so everything goes through computer 1. Why would 2 crash before 1? ]computers within the internal network. the reason i would like all ]internal computers to access comp2 via the switch is so that it ]doesn't create a additional load on comp1. if u could provide ]appropriate commands for iptables that would allow this routing to ]happen it would be highly appreciated. iptables are irrelevant. It is the routing table which tells the data where to go. man route or man ip |
|
#5
|
|||
|
|||
|
(E-Mail Removed) (Bill Unruh) wrote in message news:<coei4p$h9q$(E-Mail Removed)>...
> I find this whole thing a bit weird. You are taking some ancient computers, > and then want them to serve as high speed servers. You want a 1GHz > connection when your computer is not capable of handling 1GHz data > transfers internally. > > What data from computer 1? Computer 1 is a slow computer. What kind of high > throughput is it going to handle? > > > > (E-Mail Removed) (Avi) writes: > > ]Tauno Voipio <(E-Mail Removed)> wrote in message news:<uVkqd.163$(E-Mail Removed)>... > ]> Avi wrote: > ]> > i currently have a network containing about 6 comptuers, i recently > ]> > aquired 2 additional computers, a 450mhz and a 500mhz, my plan is to > ]> > make data servers out of them. However, i would like to have the > ]> > 450mhz computer operate as my router, since my microsoft router (shit) > ]> > seems to keep droping my connection every now and then. The other > ]> > computer will be incharge of other high demanding processes which will > ]> > involve data from computer #1. So what i want is a network according > ]> > to the following diagram. > ]> > > ]> > [cable internet]<>------>|comp #1|<>----------<>|comp #2| > ]> > | | > ]> > | | > ]> > |------<>|SWITCH|<>----| > ]> > | | | > ]> > |comp|---------<>| | |<>---------|comp#3| > ]> > | > ]> > |comp| > ]> > > ]> > *note that comp1 has 3 NICs; one 10/100mbps for the internet cable > ]> > modem, one 10/100mbps to the switch for other comps to access, and one > ]> > 10/100/1000mbps for direct connection to comp2, which i would like to > ]> > be a gigabit connection, for data flexibility. I am running Fedora > ]> > Core 3 on both comp1 and comp2. A problem that i see rising is, > ]> > suppose comp1 wants to talk to a comp3, would the data path look like > ]> > this, > ]> > > ]> > [comp1]-->[comp2]--->[switch]--->[comp3] or like this, > ]> > [comp1]--->[switch]---->[comp3] ? > ]> > > ]> > detail instructions including commands on doing this would be > ]> > appreciated. > > ]what i would like is for comp1 to be a router and provide internet for > ]the entire network but also act as a file server. comp2 is a > > Why would you use your slowest computer as a file server? > > ]fileserver but in addition it acts download 'server', mostly > ]downloading torrents as well as sharing them, the reason i choose to > ]have these services on comp2 instead of comp1 is because just incase > ]comp2 crashes because of the downloads or other processes, my > ]network's internet will not be down. comp2 shares files to other > > You have set it up so everything goes through computer 1. Why would 2 crash > before 1? > > ]computers within the internal network. the reason i would like all > ]internal computers to access comp2 via the switch is so that it > ]doesn't create a additional load on comp1. if u could provide > ]appropriate commands for iptables that would allow this routing to > ]happen it would be highly appreciated. > > iptables are irrelevant. It is the routing table which tells the data where > to go. > > man route > or > man ip k comp1 and comp2 are gonna be connected using a 100mbps, i just want a direct connection between comp1 and comp2 so if data transfer happens between the two machines, it doesn't affect the entire networks speed |
|
#6
|
|||
|
|||
|
On 28 Nov 2004 00:34:34 -0800, (E-Mail Removed) (Avi) wrote:
>i currently have a network containing about 6 comptuers, i recently >aquired 2 additional computers, a 450mhz and a 500mhz, my plan is to >make data servers out of them. However, i would like to have the >450mhz computer operate as my router, since my microsoft router (shit) >seems to keep droping my connection every now and then. The other >computer will be incharge of other high demanding processes which will >involve data from computer #1. So what i want is a network according >to the following diagram. > [cable internet]<>-DHCP->|comp #1|<>----net1----<>|comp #2| | | | | |-net2-<>|SWITCH|<>-net2-| | | | |comp|--net2---<>| | |<>--net2--|comp#3| | net2 | |comp| >*note that comp1 has 3 NICs; one 10/100mbps for the internet cable >modem, one 10/100mbps to the switch for other comps to access, and one >10/100/1000mbps for direct connection to comp2, which i would like to >be a gigabit connection, for data flexibility. I am running Fedora >Core 3 on both comp1 and comp2. A problem that i see rising is, >suppose comp1 wants to talk to a comp3, would the data path look like >this, > >[comp1]-->[comp2]--->[switch]--->[comp3] or like this, >[comp1]--->[switch]---->[comp3] ? > Hi, Just some quick notes... Comp1 <-> Comp2 first subnet say 192.168.1.64 /26 (say addresses .65, .66) Comp1 <-> Switch second subnet say 192.168.1.128 /26 (say addresses 129,130,131,132,133 etc.) (*) Comp1 eth0 DHCP eth1 192.168.1.65 /26 (net1) eth2 192.168.1.129 /26 (net2) Comp2 eth0 192.168.1.66 /26 (net1) eth1 192.168.1.130 /26 (net2) Comp3 eth0 192.168.1.131 /26 (other computers 192.168.1.132 /26 to 192.168.1.190) Comp1 needs routing enabled (ipV4 forwarding enabled) Comp2 may need routing enabled if you wish to forward from one ethernet interface to the other. It is simplest if you don't. If you enable routing on comp2 you may wish to manually add route(s) to comp1 for access to the second subnet via comp2 but you should adjust the metric parameter to something other than 0 - say 1 so that the directly connected interface to subnet 2 is the preferred interface. This second route may be useful if for example connection from comp1 to the switch is lost. In the plainest case, comp1 connecting to comp3 will normally occur via the second subnet as this is the only route to that workstation that comp1 knows about. Comp1 to comp2 will occur according to:- If ip addresses are used then the you have manually selected the interface. If DNS or host tables is used then the interface used depends on which address your name service returns. The simplest case is to ensure the name resolution order is host, DNS and enter the ip address in net1 against the name for comp2 in comp1's host file. (e.g 192.168.1.66 Comp2) All computers in network2 have the address of Comp2 in network2 against the entry for comp2 in their host files. (e.g 192.168.1.130 Comp2) -- Regards, David (*) Note1 I am being difficult here - the kiss principle would be for example to use the networks 192.168.1.0/24 for net1 and 192.168.2.0/24 for net2 and allocate addresses from 1 to 254 in each. (But it is a good exercise in subnetting.) Note2 the slash notation above /24 = subnet mask 255.255.255.0, /26 = subnet mask 255.255.255.192.) ;-> |
|
#7
|
|||
|
|||
|
On Mon, 29 Nov 2004 17:50:11 -0800, Avi wrote:
> (E-Mail Removed) (Bill Unruh) wrote in message news:<coei4p$h9q$(E-Mail Removed)>... >> I find this whole thing a bit weird. You are taking some ancient computers, >> and then want them to serve as high speed servers. You want a 1GHz >> connection when your computer is not capable of handling 1GHz data >> transfers internally. >> >> What data from computer 1? Computer 1 is a slow computer. What kind of high >> throughput is it going to handle? >> >> (E-Mail Removed) (Avi) writes: >> >> ]Tauno Voipio <(E-Mail Removed)> wrote in message news:<uVkqd.163$(E-Mail Removed)>... >> ]> Avi wrote: >> ]> > i currently have a network containing about 6 comptuers, i recently >> ]> > aquired 2 additional computers, a 450mhz and a 500mhz, my plan is to >> ]> > make data servers out of them. However, i would like to have the >> ]> > 450mhz computer operate as my router, since my microsoft router (shit) >> ]> > seems to keep droping my connection every now and then. The other >> ]> > computer will be incharge of other high demanding processes which will >> ]> > involve data from computer #1. So what i want is a network according >> ]> > to the following diagram. >> ]> > >> ]> > [cable internet]<>------>|comp #1|<>----------<>|comp #2| >> ]> > | | >> ]> > | | >> ]> > |------<>|SWITCH|<>----| >> ]> > | | | >> ]> > |comp|---------<>| | |<>---------|comp#3| >> ]> > | >> ]> > |comp| >> ]> > >> ]> > *note that comp1 has 3 NICs; one 10/100mbps for the internet cable >> ]> > modem, one 10/100mbps to the switch for other comps to access, and one >> ]> > 10/100/1000mbps for direct connection to comp2, which i would like to >> ]> > be a gigabit connection, for data flexibility. I am running Fedora >> ]> > Core 3 on both comp1 and comp2. A problem that i see rising is, >> ]> > suppose comp1 wants to talk to a comp3, would the data path look like >> ]> > this, >> ]> > >> ]> > [comp1]-->[comp2]--->[switch]--->[comp3] or like this, >> ]> > [comp1]--->[switch]---->[comp3] ? >> ]> > >> ]> > detail instructions including commands on doing this would be >> ]> > appreciated. >> >> ]what i would like is for comp1 to be a router and provide internet for >> ]the entire network but also act as a file server. comp2 is a >> >> Why would you use your slowest computer as a file server? >> >> ]fileserver but in addition it acts download 'server', mostly >> ]downloading torrents as well as sharing them, the reason i choose to >> ]have these services on comp2 instead of comp1 is because just incase >> ]comp2 crashes because of the downloads or other processes, my >> ]network's internet will not be down. comp2 shares files to other >> >> You have set it up so everything goes through computer 1. Why would 2 crash >> before 1? >> >> ]computers within the internal network. the reason i would like all >> ]internal computers to access comp2 via the switch is so that it >> ]doesn't create a additional load on comp1. if u could provide >> ]appropriate commands for iptables that would allow this routing to >> ]happen it would be highly appreciated. >> >> iptables are irrelevant. It is the routing table which tells the data where >> to go. >> >> man route >> or >> man ip > > k comp1 and comp2 are gonna be connected using a 100mbps, i just want > a direct connection between comp1 and comp2 so if data transfer > happens between the two machines, it doesn't affect the entire > networks speed A switch is not a hub. A switch routes LAN packets directly from port to port without affecting the others. In your case, because the computers are slow, the CPU limitation would probably affect traffic to/from those machines more than any effects from the switch. My inclination would be just to connect them all to the switch and forget about that direct connection between comp#1 and comp#2. In practice IMO the switch is enough. However, if you want to learn something about network routing, have at it! -- Juhan Leemet Logicognosis, Inc. |
![]() |
| Tags |
| computer, nic |
| Thread Tools | |
| Display Modes | |
|
|