query about IP Address


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users query about IP Address
# 1  
Old 04-10-2003
query about IP Address

I'm not sure if this query needs to go some where else...But any how..
I've a Solaris 8 ( Intel ) and I've 2 NIC in that. I'm using it as a mail relay host. Now i've configured IP for each of them.
ifconfig -a o/p shows both the interface with IP.
Now my question is, can i have a method by which i can have the second interface taking up, when the first is down. Both the interfaces are not connected.I hope i'm not confusing ...I've only 1 network cable going into the Box and that's to NIC1. I've 2 ISP lines, one is 2Mbps and the other 1Mbps. My requirement is like this..When the link for ISP1 is down, NIC2 should take over and use the ISP2 link so that the mail flow is not affected. If it is possible, where will the configuration go into? ?Is it Sendmail(I've no idea about sendmail). Or is it something else...
Hope u can give me some idea or where to start!!!

Cheers.
# 2  
Old 04-23-2003
Quote:
I've a Solaris 8 ( Intel ) and I've 2 NIC in that. I'm using it as a mail relay host. Now i've configured IP for each of them.
ifconfig -a o/p shows both the interface with IP.
Now my question is, can i have a method by which i can have the second interface taking up, when the first is down. Both the interfaces are not connected.I hope i'm not confusing
Yes, that is confusing - if it's isn't connected (the second interface) it won't work
Quote:
...I've only 1 network cable going into the Box and that's to NIC1. I've 2 ISP lines, one is 2Mbps and the other 1Mbps. My requirement is like this..When the link for ISP1 is down, NIC2 should take over and use the ISP2 link so that the mail flow is not affected.
It won't do anything unless it's connected

Quote:
If it is possible, where will the configuration go into? ?Is it Sendmail(I've no idea about sendmail). Or is it something else...
Not sendmail. You are looking for something like cluster software which allows for HA (high availability). You could write some scripts to switch your main IP over to the second interface if the first is down, but the thing you really need to think about ...

will the first interface fail? Is this more likely than the computer crashing? Or getting really slow because of the amount of email being sent/received? You would be better off getting another computer, installing Solaris 8, configuring another sendmail, and setting your MX records in DNS to have both servers. Then you are redunant (in cpu, disks, and connections - make sure not to use the same ups on both servers) and if one interface (server, disk, ups) fails, you won't be completely down.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

What determines DNS will query IPV6 address?

When I do simple nslookup it does not generate any query for IPV6 (AAAA). But sometimes I see DNS query for both A and AAAA are generated. What decides this? The reason I do not want AAAA query is in most of the cases AAAA records are absent. Hence, if one DNS server fails, the clients keeps... (1 Reply)
Discussion started by: broy32000
1 Replies

2. Forum Support Area for Unregistered Users & Account Problems

Further to my query re: failed attempt to change email address on existing account

Neo Thanks for your reply to my original post, entitled "Problem changing the email address associated with my unix.com account". I am unable to reply to you in that thread, as I am unable to log-on to unix.com! From what you said about purging dormant accounts, it is likely that my account... (1 Reply)
Discussion started by: irb
1 Replies

3. UNIX for Advanced & Expert Users

C program to detect duplicate ip address if any after assigning ip address to ethernet interface

Hi , Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies

4. Shell Programming and Scripting

Shell Script to execute Oracle query taking input from a file to form query

Hi, I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database. For instance: USER CITY --------- ---------- A CITY_A B CITY_B C ... (2 Replies)
Discussion started by: DevendraG
2 Replies

5. IP Networking

Tracing a MAC address to IP address: Solaris

Hi there I lost connectivity to one of our remote systems and when I checked the messages log I found the following: Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1 Aug 16 13:20:51 host... (9 Replies)
Discussion started by: notreallyhere
9 Replies

6. Shell Programming and Scripting

UNIX Script to query Active Directory: give cn (NT login name) and receive mail (Email address)

Hi folks I need to write UNIX script (with ldapsearch) to query Active Directory. Input is NT login name and output is Email address. Attached a screenshot of Sysinternals "AD Explorer". I need to do the same in CLI. http://i.imgur.com/4s6FB.png I am absolute LDAP/ldapsearch noob. (0 Replies)
Discussion started by: slashdotweenie
0 Replies

7. Shell Programming and Scripting

Query Oracle tables and return values to shell script that calls the query

Hi, I have a requirement as below which needs to be done viz UNIX shell script (1) I have to connect to an Oracle database (2) Exexute "SELECT field_status from table 1" query on one of the tables. (3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies

8. UNIX for Dummies Questions & Answers

Panic kernal-mode address fault on user address 0x14

:) Firstly Hi all!!, im NEW!! and on here hoping that someone might be able to offer me some help... i have a server that keeps crashing every few days with the error message: PANIC KERNAL-MODE ADDRESS FAULT ON USER ADDRESS 0X14 KERNAL PAGE FAULT FROM (CS:EIP)=(100:EF71B5BD) EAX=EF822000... (10 Replies)
Discussion started by: Twix
10 Replies

9. Shell Programming and Scripting

add the output of a query to a variable to be used in another query

I would like to use the result of a query in another query. How do I redirect/add the output to another variable? $result = odbc_exec($connect, $query); while ($row = odbc_fetch_array($result)) { echo $row,"\n"; } odbc_close($connect); ?> This will output hostnames: host1... (0 Replies)
Discussion started by: hazno
0 Replies

10. IP Networking

How to Achive IP address through MAC(Ethernet) address

Hi sir, i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address....... but i'm nt getting that how i can pass the MAC address to Frame........ Please give me an idea for making such program... Thanks & regards Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies
Login or Register to Ask a Question