Thread: 3 NIC computer
View Single Post

  #3 (permalink)  
Old 11-29-2004
Avi
 
Posts: n/a
Default Re: 3 NIC computer

Tauno Voipio <tauno.voipio@iki.fi.NOSPAM.invalid> wrote in message news:<uVkqd.163$Rj5.39@read3.inet.fi>...
> 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
Reply With Quote