ip alias in linux


 
Thread Tools Search this Thread
Operating Systems Linux ip alias in linux
# 1  
Old 11-23-2005
ip alias in linux

can someone give me sample linux ip alias code ?
Thanks
# 2  
Old 11-23-2005
Code:
man ifconfig

Cheers
ZB

Code:
Synopsis

ifconfig [interface]

ifconfig interface [aftype] options | address ...



Description

 Ifconfig is used to configure the kernel-resident network interfaces. It is used at boot time to set up interfaces as necessary. After that, it is usually only needed when debugging or when system tuning is needed.
If no arguments are given, ifconfig displays the status of the currently active interfaces. If a single interface argument is given, it displays the status of the given interface only; if a single -a argument is given, it displays the status of all interfaces, even those that are down. Otherwise, it configures an interface.

# 3  
Old 11-25-2005
Interface Group

Code:
etho,eht1,eth2,eth3-----And How to Eth0,Eth1 virtual Group1
                                                  Eth2,Eth3 virtual Group2


Last edited by s8624674; 11-25-2005 at 06:09 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Adding 'from' email address alias in Linux.

Hi Experts, We want to add the 'from' email address to mailx command in all our linux script. After searching this site I am able to find the command '-- -f' to add the from the email address. Bu the problem is our from email address is :- "Proper Support Name <support@company.com>" Now when I... (6 Replies)
Discussion started by: Amey Joshi
6 Replies

2. UNIX for Dummies Questions & Answers

Create alias files (not alias commands)

If one: $ find -name 'some expression' -type f > newfile and then subsequently wants to create an alias file from each pathname the find command retrieved and the > placed within 'newfile', how would one do this? Ideally, the newly created alias files would all be in one directory. I am... (3 Replies)
Discussion started by: Alexander4444
3 Replies

3. Shell Programming and Scripting

Setting alias for a user - Linux ubuntu

Hi i have a user "SYSTEM" i want to set the below command in his .profile for an alias: who | awk '{print $1}'| sed '/SYSTEM/d' | sed '/root/d' |xargs -i pkill -u {} i tried as below: alias stop = " who | awk '{print $1}'| sed '/SYSTEM/d' | sed '/root/d' |xargs -i pkill -u {}" ... (3 Replies)
Discussion started by: joycesolomon
3 Replies

4. UNIX for Dummies Questions & Answers

alias

Hi, I have created alias in UNIX environment (ie in .cshrc file). But when i use the alias in the UNIX script, getting an error message as that is not found. But when i use that alias, outside the script it is working fine. Let me know if you need more details For example: alias cderror... (6 Replies)
Discussion started by: Naveen_5960
6 Replies

5. UNIX for Dummies Questions & Answers

Help with Alias

Hi, I have a software package consisting of a group of BASH shell scripts. There is a master script which calls a series of subscripts. To run the software users must open the master script, modify and save it, and then run it. To open the script you can either double-click on it, or you can... (2 Replies)
Discussion started by: msb65
2 Replies

6. UNIX for Dummies Questions & Answers

alias issue for mailing purpose in linux

Hi all, I have a requirement for which i need to create an aliase for an username(userid) . suppose the user name is "sanjay.sahoo@localhost.localdomain " . If i will send to any user from this userid then all of them will see from: "the alias of the userid not the... (1 Reply)
Discussion started by: sanjay.login
1 Replies

7. UNIX for Dummies Questions & Answers

alias

i used 'alias' command for a set of daily used long commands. But i noticed they are gone once i log out of the ssh session. Can any one plz let me know if there is a way to set it permanently for my user. (1 Reply)
Discussion started by: pharos467
1 Replies

8. UNIX for Dummies Questions & Answers

How to get the alias,when we have the IP.

Hi, I have to set up a printer in the system.Generally the alias is given like sdclbl1 etc.So when I ping i get the IP address. This time they have provided the IP adress.Is there any way to find the alias from this.Ping did not give the alias. Thanks and Regards, Gideon. (2 Replies)
Discussion started by: preethgideon
2 Replies

9. Shell Programming and Scripting

Alias

how implement functionality alias in the same way as in csh? (use Bourne type sh or bash) (3 Replies)
Discussion started by: sunhata
3 Replies
Login or Register to Ask a Question