Sponsored Content
Special Forums IP Networking configuring more than one ip for an inteface pemanently (linux) Post 14629 by hessam on Monday 4th of February 2002 09:27:46 AM
Old 02-04-2002
configuring more than one ip for an inteface pemanently (linux)

Hi
does anybody know how we can add more than one ip for NIC(in Redhat Linux 7.2)?
i usually do it by using this command
ifconfig eth0 add <ip addresss> netmask <..............> up


or ;

ip address add 192.168.20.1/24 dev eth0


or
adding it manually to file in /etc/sysconfig/network-scripts
but their is no ifcfg-eth0 !!!!!
-------------------------------------------------------------
and it works cuz i can ping it from another machine


BUT when i reboot the machine all of the are gone.
I'm looking for way that these IPs can remain on the interface even after
reboot or shut down

is there anyone who can help me up?

Last edited by hessam; 02-05-2002 at 02:24 AM..
 

10 More Discussions You Might Find Interesting

1. Linux

Configuring USB in Red Hat Linux 9

Had problems in configuring USB memory stick in RHL 9. Please assist. With regards, Kungra. (1 Reply)
Discussion started by: kungra2006
1 Replies

2. Shell Programming and Scripting

configuring 2-gateways in linux

Hi, I want to configure 2-gateways in Linux . Please tell me how I can achieve this. I am accesing 2-internet connection through these 2-gateways. So I am looking that if 1-gets down then also other one is working. Regards JAGDISH (1 Reply)
Discussion started by: jagdish.machhi@
1 Replies

3. Solaris

how to know inteface name in ULTRA 20

hi friends, I have brand new Sun Ultra 20 WS installed. It was preinstalled with Solaris 10 6/06 system, in ifconfig -a command only loop back intervace is showing. and /etc/path_to_install also not able to find the interface name. my questions are: 1. Is there any command to get... (1 Reply)
Discussion started by: subhankar
1 Replies

4. Red Hat

Problem with configuring host name in Redhat Linux 5

Hi All when I give the command, $ ping <hostname> I get the following error ping: unknown host <hostname> I have checked in the following files, /etc/sysconfig/network /etc/hosts /etc/resolv.conf /etc/nsswitch.conf Every where in these files host name and IP address are given... (2 Replies)
Discussion started by: nagapradeep
2 Replies

5. AIX

How to find the active network inteface on etherchannel

I have a server with multiple network interfaces. 2 of these interfaces, lets say en2 and en6 make up an etherchannel interface, which let's say en8. when I run the command lsattr -El ent8 I can see the designated primary and backup interfaces as ent6 and ent2, in the given order. But... (10 Replies)
Discussion started by: thenomad
10 Replies

6. UNIX for Advanced & Expert Users

configuring NTP in Solaris/Windows/Linux environment.

Can anybody please explain the below table to monitor NTP daemon status This contains many columns like remote,refid,st....various values corresponding to those columns If possible provide me any link to study about these quantities clearly. It is very much required for my project please... (3 Replies)
Discussion started by: sgand
3 Replies

7. IP Networking

Configuring Linux as a firewall

i have a linux server runnig oracle applications. i need to access this server from putty using ssh through internet. i did by registering my static ip with the dnydns.org and i am able to connect to the server. but now there is no security to authenticate any user as any one knowing the... (6 Replies)
Discussion started by: u.n.i.x
6 Replies

8. Infrastructure Monitoring

Configuring SNMP in linux

I am trying to enabling SNMP access and trap forwarding for Linux(RHEL5) using following official url from IBM. http://publib.boulder.ibm.com/infocenter/eserver/v1r2/index.jsp?topic=/diricinfo/fqm0_t_enabling_snmp_access_and_trap_forwarding_for_linux.html In my system, snmp and snmplibs are... (1 Reply)
Discussion started by: SiddhV
1 Replies

9. IP Networking

Configuring DNS Server in Linux Redhat

Can someone help with a detail step-by-step oh how to configure DNS server on Linux Server. - I need to have 3 IP addresses map to a single hostname. for clients I'm a Linux rookie. Thanks Oscar (1 Reply)
Discussion started by: FrankOscar
1 Replies

10. Red Hat

Dot matrix Printer configuring on Linux RHEL AS 5.1

Dear Experts, We have requirement to configure Dot matrix printer in linux, Also need to register in Oracle application R12.0.6 version where i need get the print in landscape format. Request you all kindly help on the same. Thank you, Alone. ---------- Post updated 02-18-14 at 01:02... (6 Replies)
Discussion started by: Alone
6 Replies
IFCFG-BONDING(5)					       Network configuration						  IFCFG-BONDING(5)

NAME
ifcfg-bonding - interface bonding configuration SYNOPSIS
/etc/sysconfig/network/ifcfg-bond* Bonding Interfaces To setup a bonding interface you need a configuration file ifcfg-bond<X> with the usual network settings. But you must add additional vari- ables BONDING_MASTER must be set to 'yes' to identify this interface as a bonding interface BONDING_SLAVE_<X> here you specify the interface name representing the slave network interfaces. BONDING_MODULE_OPTS contains bonding options. Here you can set interface timeouts or working modes ('mode=active-backup' for backup mode). For addi- tional information take a look into the documentation mentioned at the bottom. Note, that this options are not passed as parameters to the bonding kernel module any more, but set via sysfs interface. This variable will be renamed in the feature. BONDING_SKIP_REMOVE_WORKAROUND When set to "yes", a bonding interface will be not removed while ifdown any more to avoid problems, e.g. when some third party ker- nel module, such as Veritas 'llt' module, does not react correctly to the UNREGISTER event and does not remove its references to the bonding interface causing all network related operation to stuck. Note: the bonding options are not reverted when this option is enabled and it is required to either explicitly keep the old options and set them to their default setting on bonding configuration changes or to reboot. Example Example for a bonding interface on eth0 and eth1 using the backup mode ifcfg-bond0 STARTMODE='onboot' BOOTPROTO='static' IPADDR='192.168.0.1/24' BONDING_MASTER='yes' BONDING_SLAVE_0='eth0' BONDING_SLAVE_1='eth1' BONDING_MODULE_OPTS='mode=active-backup miimon=100' Additional Information For additional and more general information take a look into /usr/src/linux/Documentation/networking/bonding.txt. Maybe you need to install the kernel sources to get this additional documentation. The configuration of routes for this kind of interface does not differ from ordinary interfaces. See man routes for details. BUGS
Please report bugs at <http://www.suse.de/feedback> AUTHOR
Christian Zoz <zoz@suse.de> -- ifup script Wilken Gottwalt <wgottwalt@suse.de> -- ifcfg-bonding manual page SEE ALSO
ifcfg(5), ifup(8). sysconfig April 2005 IFCFG-BONDING(5)
All times are GMT -4. The time now is 03:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy