LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Does anyone make? (https://www.linuxquestions.org/questions/linux-newbie-8/does-anyone-make-384341/)

kuplo 11-18-2005 09:30 AM

Does anyone make?
 
Im thinking of a device tht would hook up to my linux box that would allow me to keep plugging in ethernet cards and assigning them ip address's, doesnt need t be inside the box, could come out the back.

Is there any such thing? Seeems usiong ip domain hosts work much better then virtual hosts to anyday of the week.

Thhanks,

P.S. I can't remember how we use to do it, but we use to have a "BBS* called Global Frontiers, then New Frontiers, that had 90+ modems hooked up to one little 486 25mhz or so, so maybe it's possible.

bulliver 11-18-2005 11:24 AM

What are all these nics going to be connected to?
Why not just get a switch?

kuplo 11-18-2005 01:01 PM

I've got about 6 or 7 routers and hubs laying in boxes in the garage, I've got two of them hooked up together right now to accomodate what I've got so far, so I t wouldn't be hard to get a couple more cat cables, a dozen or so $19.95 ethernet cards and hook it all up. It just depends if they make something that will hook up all those nics to one pci slot ion the MB.

P.S. Please explain what a switch is, its function, and roughly what they cost and do. Is a hub the same thing, I've got about 3 linkdyd 5 port hubs sitting in the garage that I could us if that is a switch.


Brian Knoblauch 11-18-2005 01:11 PM

Can't you just bind additional addresses to the single NIC? I do this all the time in BSD (since IP hosting is so much better than vhosting when e-mail is involved).

Brian Knoblauch 11-18-2005 01:13 PM

Quote:

Originally posted by kuplo
I've got about 6 or 7 routers and hubs laying in boxes in the garage, I've got two of them hooked up together right now to accomodate what I've got so far, so I t wouldn't be hard to get a couple more cat cables, a dozen or so $19.95 ethernet cards and hook it all up. It just depends if they make something that will hook up all those nics to one pci slot ion the MB.

P.S. Please explain what a switch is, its function, and roughly what they cost and do. Is a hub the same thing, I've got about 3 linkdyd 5 port hubs sitting in the garage that I could us if that is a switch.

A switch does the same thing as a hub, EXCEPT it is point-to-point dedicated bandwidth (on non-broadcast and multicast traffic) instead of shared bandwidth.

kuplo 11-18-2005 01:28 PM

Quote:

Originally posted by Brian Knoblauch
Can't you just bind additional addresses to the single NIC? I do this all the time in BSD (since IP hosting is so much better than vhosting when e-mail is involved).
I was reading the manual, or maybe mireading it, and I thought it said that by binding IP address's to a nic that those IP's would not be available outside of the local network (i.e. the web).

apepost 11-18-2005 02:42 PM

Quote:

Originally posted by kuplo
I was reading the manual, or maybe mireading it, and I thought it said that by binding IP address's to a nic that those IP's would not be available outside of the local network (i.e. the web).
You would need to have your ISP assign you IP addresses no matter which way you do it. As soon as you have the ip's you can route them all to the same nic. You can't just make up valid ip's yourself.

chrisortiz 11-18-2005 03:57 PM

I'm still trying to figure out what you are attempting to do. Could you be more specific as to what you are going to do with a ton of network cards?


Quote:

P.S. Please explain what a switch is, its function, and roughly what they cost and do. Is a hub the same thing, I've got about 3 linkdyd 5 port hubs sitting in the garage that I could us if that is a switch.
how many ports do you need?

kuplo 11-18-2005 04:14 PM

One port per domain name. Works well, when I try to go the virtual route, I usually get 2 domains to come up and hte third defaults to the default domain, or the www. part of a domain doesnt work when Im using virtual name servers.

What does your virtual name server blocks look like? You can xxx out the domains if you like.

apepost 11-18-2005 04:40 PM

Quote:

What does your virtual name server blocks look like? You can xxx out the domains if you like.
Do you mean the virtual server part of apache.conf?

kuplo 11-18-2005 08:10 PM

Yeah, just xxxx out anything important in the http,cinf that might be a secuirty hazard for your ste, or eail t to me at lakesidezx@hotmail.com if you dont want to post it.

apepost 11-19-2005 05:50 AM

This hosts one page on example1.com and other internal addresses, and another page on example2.com and port 81.


Code:

#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
NameVirtualHost *:81
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost *:81>
    DocumentRoot /var/www/tysk
</VirtualHost>
<VirtualHost *:80>
    ServerName example1.com
    ServerName rdserver
    ServerName 10.0.0.10
    ServerName localhost
    ServerName 127.0.0.1 
    DocumentRoot /var/www/html
</VirtualHost>
<VirtualHost *:80>
    ServerName example2.com
    DocumentRoot /var/www/tysk
</VirtualHost>



All times are GMT -5. The time now is 10:23 AM.