ifconfig primary & standby purpose


 
Thread Tools Search this Thread
Operating Systems Solaris ifconfig primary & standby purpose
# 1  
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?
# 2  
Old 03-30-2010
you can search for online examples on how to setup IPMP (be it link based or using test address)
for your question,you must ensure that your gateway is reachable plus you should supply the netmask for the IP range. there should not be any firewall restrictions
# 3  
Old 03-30-2010
Yes, the netmask mentioned was /24 subnet and I will make sure that gateways are reachable in either case for nge0 and nge1.

nge0: 10.10.10.1/24
nge1: 20.20.20.1/24

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?
3. how to define the primary and standby interface in Solaris?

Can anyone guide me for these questions?
# 4  
Old 03-30-2010
what are you talking about? the purpose of pri/sec interface is for redundancy purpose. so why are there 2 diff range of IP addresses?
# 5  
Old 03-30-2010
Yeah, you are correct. I had some confusion on this part. By the way, thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question