LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-10-2003, 03:52 PM   #1
pfizur
LQ Newbie
 
Registered: Feb 2003
Posts: 8

Rep: Reputation: 0
Question Multiple IP


I have a brank spanking new RedHat server, I want to have several IPs bound to eth0 - best method? The overall goal is to host several websites from the one server. Any help would be appreciated.
 
Old 02-10-2003, 11:43 PM   #2
rohang
Member
 
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177

Rep: Reputation: 31
The way I've done this in the past is to create sub-interfaces on my eth0 interface. I used a small shell script and placed it in my /etc/rc.local so that on boot, the sub-interfaces and routing would be taken care of.

I can't find my old script that I used right now, but if you get stuck and need further help, I'll see if I can dig it up.
 
Old 02-11-2003, 01:22 AM   #3
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
netconfig -d eth0:1
netconfig -d eth0:2
netconfig -d eth0:whatever

why not do host based virtual web hosting?
 
  


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
Multiple browser profiles during multiple xsessions. Necessary? digorykirke Linux - Software 2 03-20-2005 05:31 PM
Red Hat 7.3 and multiple gateways on multiple interfaces bluefmc Linux - Networking 2 11-19-2004 05:01 PM
Need an advice for: Multiple Disks&Multiple Penguins and a XP :) thesappho Linux - Newbie 1 12-15-2003 03:13 PM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - General 1 06-19-2003 10:55 AM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - Software 0 06-19-2003 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:58 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