01-08-2004
Multihome question...
I have a Linux RH8 box that has 2 nic cards in it and
each card has it's own public ip.
Here is the problem. I have Qmail running and when it sends out email, sometimes it sends using ip #1 and sometimes it sends as ip #2. I want it to always send as ip #1.
Would I handle this using a default route or would I handle this per application? (ie. lock qmail down to use ip #1, which I can't figure out how to do...)
Thanks in advance for any help.
- Eric
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
what is the function of swap in linux why i have to create apsolutely a particion for the swap when i install (i installed lnx4win mandrake and made an automat. disk particion and the install program one of my disk partitions that was 3gb devidet in 4 one native 700mb swap 600mb and the others i... (1 Reply)
Discussion started by: user666
1 Replies
2. Shell Programming and Scripting
how do i write a script that'll open what i entered and scan it for a certain line of text.
for example, i enter a filename (that exists) and in that file i want to scan a certain word that'll show how much of that word appears throughout the file. (2 Replies)
Discussion started by: mrhenry
2 Replies
3. UNIX for Dummies Questions & Answers
I need to write a script file that will tell me the largest number in a group of numbers. ANy help is greatly appreciated (2 Replies)
Discussion started by: twan
2 Replies
4. UNIX for Dummies Questions & Answers
Hi Guys
I have a quick question
I have a file that is approx 1.5 million lines long of which most of the lines start with
INFO: some info
INFO: some more info
INFO: etc
I want to remove these lines
I was thinking along the lines of
:%s/INFO*//g
but this does not work
None... (6 Replies)
Discussion started by: grahambo2005
6 Replies
5. UNIX for Dummies Questions & Answers
1. How the Unix system identify the Other User to access for file permission?
2. What command we use to convert the extension of a file name?
3. What command use to convert other editing file to Unix based text file?
Please answer of these Question???Its necessary for me?? (3 Replies)
Discussion started by: pradipta_pks
3 Replies
6. Programming
Hi,
I am doing a C++ self-study and I got stuck with this problem.
I want to have a code that asks the suer to enter two numbers and then it lists the numbers between these two numbers. It has also to print a message if these two numbers are equal.
Here is what I wrote:
#include <iostream>... (11 Replies)
Discussion started by: faizlo
11 Replies
7. Shell Programming and Scripting
Hi,
I'm new to unix and got struck here.Can any one help me out.My question is ..
is the command
if ;
then
echo "do some stuff"
fi
correct?
Thanks in advance
abhijeet (18 Replies)
Discussion started by: Abhijeet_Atti
18 Replies
8. Solaris
Good afternoon, I hope that someone can make a suggestion or two as what my issues are and how to solve them, or suggest the correct group to post the questions to.
I have successfully installed Oracle Solaris 11.1 (x86/64-bit) installation on Oracle VirtualBox. Now, I would like to install... (6 Replies)
Discussion started by: PWN
6 Replies
9. UNIX for Dummies Questions & Answers
Hi,
When doing ls -l, is it right to assume that all files with the date and time on it are files that are created/modified on the current year?
Is there any way to display the creation/modified date of a file that are not created/modified in the current year? (4 Replies)
Discussion started by: newbie_01
4 Replies
LEARN ABOUT DEBIAN
go-fish
GO-FISH(6) BSD Games Manual GO-FISH(6)
NAME
go-fish -- play ``Go Fish''
SYNOPSIS
go-fish [-p]
DESCRIPTION
go-fish is the game ``Go Fish'', a traditional children's card game.
The computer deals the player and itself seven cards, and places the rest of the deck face-down (figuratively). The object of the game is to
collect ``books'', or all of the members of a single rank. For example, collecting four 2's would give the player a ``book of 2's''.
The options are as follows:
-p Professional mode.
The computer makes a random decision as to who gets to start the game, and then the computer and player take turns asking each other for
cards of a specified rank. If the asked player has any cards of the requested rank, they give them up to the asking player. A player must
have at least one of the cards of the rank they request in their hand. When a player asks for a rank of which the other player has no cards,
the asker is told to ``Go Fish!''. Then, the asker draws a card from the non-dealt cards. If they draw the card they asked for, they con-
tinue their turn, asking for more ranks from the other player. Otherwise, the other player gets a turn.
When a player completes a book, either by getting cards from the other player or drawing from the deck, they set those cards aside and the
rank is no longer in play.
The game ends when either player no longer has any cards in their hand. The player with the most books wins.
go-fish provides instructions as to what input it accepts.
BUGS
The computer cheats only rarely.
BSD
May 31, 1993 BSD