LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 05-05-2004, 06:55 PM   #1
tictocdoc
LQ Newbie
 
Registered: Sep 2003
Location: Houston,TX
Distribution: RedHat/SuSe/Mandrake
Posts: 20

Rep: Reputation: 0
Question Howto assign multiple ip addresses to eth0 in Mandrake 10????


Hello:

I have just installed MD 10 community. I want to set up several virtual IP based hosts using 1 NIC. How do I assign multiple IP addresses to 1 NIC card? I know in RH9 it was fairly easy, but I haven't figured out how to do it under Mandrake.

Thanks in advance,

tictocdoc
 
Old 05-06-2004, 09:41 PM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
when you do you ifconfig for the eth0, you'll want to do somethin glike eth0:1, eth0:2 etc.
 
Old 05-07-2004, 01:39 PM   #3
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Rep: Reputation: 83
Quote:
Originally posted by Technoslave
when you do you ifconfig for the eth0, you'll want to do somethin glike eth0:1, eth0:2 etc.
That's called IP ALIAS:
ifconfig eth0:1 192.168.0.5 netmask blah blah blah.

Also read about iproute2. Check /usr/share/doc/iproute2

Last edited by eantoranz; 05-07-2004 at 01:40 PM.
 
Old 05-07-2004, 03:00 PM   #4
tictocdoc
LQ Newbie
 
Registered: Sep 2003
Location: Houston,TX
Distribution: RedHat/SuSe/Mandrake
Posts: 20

Original Poster
Rep: Reputation: 0
Hello:

Thanks to both of you for your answers. I installed webmin and was able to assign the needed IPs through it. I have a block of ip addresses from my IP and I was trying to set up several IP based ecommerce sites so that I could use SSL. I think that I have a handle on how to do it now.

Thanks again for all of your help!!!!!

Michael
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how do i assign/switch eth0 & eth1 the-sloth Linux - Networking 10 02-05-2011 12:48 PM
Howto Assign Multiple Static Public IP Addresses under SBC's PPPoE Static Ip system o trekgraham Linux - Networking 8 04-17-2007 10:51 AM
How do I assign a static IP to eth0 louisb Linux - Networking 4 02-19-2005 08:10 PM
howto delete existing static ip of ethernet(eth0)& reconf multiple ips on eth0 viveku Linux - Networking 2 02-02-2004 01:30 AM
howto delete static ip configured on eth0 & reconf multiple ip on one eth0(redhat8 viveku Linux - Networking 0 01-31-2004 10:40 AM


All times are GMT -5. The time now is 01:12 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration