LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2005, 09:30 AM   #1
kuplo
Member
 
Registered: Oct 2005
Posts: 123

Rep: Reputation: 15
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.
 
Old 11-18-2005, 11:24 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
What are all these nics going to be connected to?
Why not just get a switch?
 
Old 11-18-2005, 01:01 PM   #3
kuplo
Member
 
Registered: Oct 2005
Posts: 123

Original Poster
Rep: Reputation: 15
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.


Last edited by kuplo; 11-18-2005 at 01:05 PM.
 
Old 11-18-2005, 01:11 PM   #4
Brian Knoblauch
Member
 
Registered: Jan 2005
Distribution: OpenSuse Tumbleweed
Posts: 288

Rep: Reputation: 39
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).
 
Old 11-18-2005, 01:13 PM   #5
Brian Knoblauch
Member
 
Registered: Jan 2005
Distribution: OpenSuse Tumbleweed
Posts: 288

Rep: Reputation: 39
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.
 
Old 11-18-2005, 01:28 PM   #6
kuplo
Member
 
Registered: Oct 2005
Posts: 123

Original Poster
Rep: Reputation: 15
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).
 
Old 11-18-2005, 02:42 PM   #7
apepost
Member
 
Registered: Oct 2003
Distribution: Fedora core 4
Posts: 113

Rep: Reputation: 15
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.
 
Old 11-18-2005, 03:57 PM   #8
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
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?
 
Old 11-18-2005, 04:14 PM   #9
kuplo
Member
 
Registered: Oct 2005
Posts: 123

Original Poster
Rep: Reputation: 15
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.
 
Old 11-18-2005, 04:40 PM   #10
apepost
Member
 
Registered: Oct 2003
Distribution: Fedora core 4
Posts: 113

Rep: Reputation: 15
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?
 
Old 11-18-2005, 08:10 PM   #11
kuplo
Member
 
Registered: Oct 2005
Posts: 123

Original Poster
Rep: Reputation: 15
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.
 
Old 11-19-2005, 05:50 AM   #12
apepost
Member
 
Registered: Oct 2003
Distribution: Fedora core 4
Posts: 113

Rep: Reputation: 15
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>
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 07:55 PM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 05:58 AM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration