Solved

how to assign vip to eth1 on linux?

Posted on 2009-06-29
5
489 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
Comment Utility
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
Comment Utility
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
Comment Utility
i dont know.
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
are you stuck with this question from last 4 month!!!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now