Solved

how to assign vip to eth1 on linux?

Posted on 2009-06-29
5
524 Views
Last Modified: 2012-05-07
Hi Expert,
I have installed linux on my system. whenever i run ifconfig command as  a root user.
I can eth0. but i cant see eth1. I want to configure virtual ip address for eth1.
can you please help me on this?

Thanks and regards,
0
Comment
Question by:daniesh
  • 2
5 Comments
 
LVL 29

Accepted Solution

by:
fosiul01 earned 500 total points
ID: 24734246
for virtually assignning, you need to do alising

read this article , you need to create like th
ifcfg-eth0:0

http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/
0
 
LVL 14

Expert Comment

by:small_student
ID: 24739409
If you have two interfaces then you should get eth0 and eth1, then to create a virtual IP on eth1 you should follow fosiul01 steps above.

If you only have one interface and want to create another ip for is just follow the steps

Incase you have two interfaces and you are only seeing on of them , then you should look for a driver for it
0
 

Author Comment

by:daniesh
ID: 25638444
i dont know.
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 25642002
are you stuck with this question from last 4 month!!!
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Fetching data from Multiple Linux Server using Shell Scripting 55 151
Hacked File Timestamps 4 74
linux 13 75
When trying to install php-fpm on CentOS 7 - GPG error 2 42
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question