Sponsored Content
Operating Systems Solaris ifconfig primary & standby purpose Post 302408761 by nthiruvenkatam on Tuesday 30th of March 2010 11:26:32 AM
Old 03-30-2010
ifconfig primary & standby purpose

I have two ethernet interfaces nge0 and nge1.

An IP assigned on nge0 is 10.10.10.1/24 and on nge1 is 20.20.20.1/24. I want to make nge0 as primary interface.

My question here is,

1. Being nge0 as primary interface, if I ping to an IP 20.20.20.5, what will happen?
2. If the answer for the question#1 says that it will not ping, how do I make an IP 20.20.20.5 reachable with nge0 interface as primary?
2. how to define the primary and standby interface in Solaris?
 

10 More Discussions You Might Find Interesting

1. IP Networking

Setting primary ip address with ifconfig

Hello, I have a server with two ip addresses. I need to make the ip address that's currently the secondary the primary. How do I use the ifconfig command and primary option? Thanks. (5 Replies)
Discussion started by: pmichner
5 Replies

2. Shell Programming and Scripting

Purpose of 2>&1 in the command

Can any body kindly tell me what is the purpose of 2>&1 in the following commands. nohup ./append_import.sh 1 > import1.out 2>&1 < /dev/null & nohup ./append_import.sh 2 > import2.out 2>&1 < /dev/null & (1 Reply)
Discussion started by: mmunir
1 Replies

3. AIX

hacmp 5.3 primary and standby?

Hi All, How do I determine if a hacmp 5.3 server is a primary or a standby? Thanks in advance. (2 Replies)
Discussion started by: itik
2 Replies

4. Shell Programming and Scripting

shell script not connecting to primary from standby site

Hi All, I am using below shell script using SQL*Plus to query the MAX(SEQUENCE#) from both databases V$LOG_HISTORY view.If the STANDBY appears to be falling behind by - 2, then alert mail should be sent... How could I achieve it with improving the below script. #!/usr/bin/ksh ... (0 Replies)
Discussion started by: a1_win
0 Replies

5. Shell Programming and Scripting

shell script for primary and standby DB archive log check

Hi All, OS:AIX 5.3 64 bits I would like the below script to send alert mail with the message - "Standby logs falling behind Primary" to xyz@yahoo.com Script ===== #!/usr/bin/ksh #----------------------------------------------------------------------------- # Use SQL*Plus to query... (1 Reply)
Discussion started by: a1_win
1 Replies

6. Solaris

ifconfig - making netmask & broadcast address permanent?

hi, I am trying to configure one of my interfaces, but after reboot - i lose the changes to the netmask & broadcast address. I have added an entry in /etc/netmasks, but it doesnt pick up the new settings. any ideas - much appreciated. before reboot: eri0:... (3 Replies)
Discussion started by: badoshi
3 Replies

7. UNIX for Dummies Questions & Answers

Where do i put ifconfig & route add for boot?

SCO v5.0.6 I figured out what command lines I need to get SSH working, but where do I put these command lines so they stick when booting? #ifconfig net0 ... netmask ... up #route add default ... I know I can add the default gateway to /etc/default/tcp, but... I would rather run a... (2 Replies)
Discussion started by: vdi_jeanne
2 Replies

8. UNIX for Dummies Questions & Answers

What is the purpose of 2 >&1 in crontab?

while we editing the cron at the end of the cron what is the purpose of giving 2 >&1 (4 Replies)
Discussion started by: senmak
4 Replies

9. AIX

How to find Primary & Secondary VIOS?

Hi, In a Dual VIOSs setup having 4 SEA adapters each, how to find which one is Primary and Secondary.? Regards, Siva (2 Replies)
Discussion started by: ksgnathan
2 Replies

10. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies
nwamd(1M)						  System Administration Commands						 nwamd(1M)

NAME
nwamd - network auto-magic daemon SYNOPSIS
/lib/inet/nwamd DESCRIPTION
nwamd is a system daemon to manage network interfaces. This daemon is started automatically and should not be invoked directly. It does not constitute a programming interface. Operation Whether this daemon is enabled or not depends on your installation medium. To check from within the GNOME desktop environment, double click on the "Network Manager" icon to open the "Connection Properties" window. If "Configure network automatically" is checked, then auto-magic mode is enabled. To check from the command line, enter the following: % svcs svc:/network/physical Two instances will be listed, one online and the other disabled. If the "nwam" instance is online, then this daemon is running. To switch between manual and auto-magic mode, you can use the Network Monitor applet available within the GNOME desktop environment. You can also switch manually from the command line by entering: % svcadm disable svc:/network/physical:default % svcadm enable svc:/network/physical:nwam To go from auto-magic mode to manual mode: % svcadm disable svc:/network/physical:nwam % svcadm enable svc:/network/physical:default When switching modes like this, keep in mind that all network interfaces will be brought down then back up. Therefore, if a different IP address is configured in this process, existing applications and sessions might be disrupted. There is a limitation that only one link is active at a time in auto-magic mode. This mode is not recommended for machines that use more than one link at a time. For machines with wired and wireless links, wired link are preferred by default, although this can be adjusted from the GNOME NWAM Manager menu (right-click on the icon), or from the command line, by editing the plain text file /etc/nwam/llp. For the latter (hand-editing) procedure, the first instance of a link in /etc/nwam/llp sets the priority of that link. Subsequent instances of that link set parameters associated with the interface on that link. The /etc/nwam/llp interface is volatile and might change in a future release. Static IP Addresses A static IP address can be configured by changing the line in the /etc/nwam/llp file that contains an interface name and the name of the method for obtaining an IP address. It might look like: nge0 dhcp Change this line to one that looks like: nge0 static I1.I2.I3.I4/P ...where the I's are the digits of the IPv4 address and the P is an optional prefix. If the prefix is not provided, it is derived, using classful assumptions. Configuring IPv6 IPv6 is configured by default on a link. It can also be explicitly added in the /etc/nwam/llp file by providing a line that contains an interface name and the string ipv6. It might look like: nge0 ipv6 If IPv6 should not be plumbed on a given link, a noipv6 entry should be created in the /etc/nwam/llp file for that link. It might look like: nge0 noipv6 An optional static IPv6 address can be provided on the same line, immediately after the ipv6 token. Whether you provide a static address or not, IPv6 will use DHCPv6 or stateless address configuration, as directed by the local network configuration. PROFILES All interfaces listed in this section are volatile and may change in a future release. They are documented here so that those wishing to experiment with this may do so. Profiles are a mechanism for making multiple related changes to the system configuration after IP service is available. There is no direct support for the profiles yet, but a "roll your own" mechanism is provided for now. Once an interface is brought up and an IP address is configured for it, the daemon looks for the file /etc/nwam/ulp/check-conditions. If this file exists and is executable, it is run. This should print a single line of output, which is the name of the profile that the user wishes to activate based on the current conditions. If such a line is read successfully (foo in this example), then /etc/nwam/ulp/foo/bringup is executed. Likewise, when the interface gets torn down for whatever reason, /etc/nwam/ulp/foo/teardown is executed. The "bringup" and "teardown" scripts are invoked via pfexec(1) with default basic privileges. Samples for each of these scripts can be found at: o http://opensolaris.org/os/project/nwam/prototype/check-conditions o http://opensolaris.org/os/project/nwam/prototype/bringup o http://opensolaris.org/os/project/nwam/prototype/teardown Wireless If no wired link is available, a scan for wireless LANs is done, and the resulting list offered via a GUI popup window prompts the console user to select a preference. If a successful connection is made, the WLAN in question is stored in the plain text file /etc/nwam/known_wifi_nets and the daemon may connect to any WLAN in that list without prompting the user again. If a user wishes to add other preferences or revoke existing ones, he can do so by bringing up the NWAM Manager menu with right-click on the icon, and then select- ing "Manage Favorite Wireless Networks...". A user can also edit the known_wifi_nets file directly. This interface is volatile and might change in a future release. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsr | +-----------------------------+-----------------------------+ |Interface Stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
svcs(1), svcadm(1M), attributes(5), smf(5) See also nwam-manager(1M), available in the JDS/GNOME man page collection. NOTES
The networking service is managed by the service management facility, smf(5), under the service identifier: svc:/network/physical Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using the svcs(1) command. SunOS 5.11 24 Nov 2008 nwamd(1M)
All times are GMT -4. The time now is 01:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy