Solved

how to assign vip to eth1 on linux?

Posted on 2009-06-29
5
534 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:Monis Monther
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

733 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