LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I add another IP to my linux box using ifconfig via ssh? (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-add-another-ip-to-my-linux-box-using-ifconfig-via-ssh-382176/)

abefroman 11-11-2005 12:17 PM

How do I add another IP to my linux box using ifconfig via ssh?
 
How do I add another IP to my linux box using ifconfig via the ssh command line?

The IP I am trying to add is 69.49.100.101 and my subnet mask is 255.255.255.0

What would the exact command be?

tangle 11-11-2005 12:51 PM

ifconfig eth1 69.49.100.101

abefroman 11-11-2005 01:31 PM

Quote:

Originally posted by tangle
ifconfig eth1 69.49.100.101
eth1, really? I only have 1 nic card (eth0) though, does that matter?

tangle 11-11-2005 06:34 PM

I thought maybe you had two. For one just change the eth1 to eth0.


All times are GMT -5. The time now is 03:23 AM.