10-11-2008
multi-network question
Hi,
I have a linux machine connected to 2 networks, with devices eth0 and eth1.
When I give the command
host whatever, how do I now which network is searched for the DNS's ? Is there a default ethernet device for network related commands ? How do I change it ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey,
Just need a little help I'm not sure wat I should do.
We have several little networks setup for testing different things. One of these networks we need to have running at full dulpex.
Right now we run 2 hubs (to go off to 2 differnt parts) and they are half dulpex hubs.
Is is... (1 Reply)
Discussion started by: merlin
1 Replies
2. UNIX for Dummies Questions & Answers
My system info is show below:-
#uname -a
SunOS qfserver 5.8 Generic_117350-29 sun4u sparc SUNW,Sun-Blade-2500
and I have two network card as shown below:-
#ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0:... (1 Reply)
Discussion started by: sarifudin
1 Replies
3. IP Networking
Hi here is my question;
any help would be appreciated
The Linux system pokey has two Ethernet cards. The first Ethernet card is connected to a companywide
TCP/IP network covering the addresses 87.65.43.xx, where pokey's address is
87.65.43.21. The second Ethernet interface is connected to a... (2 Replies)
Discussion started by: scofiled83
2 Replies
4. IP Networking
Folks;
I have 2 SUSE servers similar in all configuration & both on the same network
(192.168.151.10 & 192.168.151.11) with the same default gateway of 192.168.151.1 and the same netmask of 255.255.255.0 and the same firewall configuration
the first one works fine and i can ssh to it & i can... (3 Replies)
Discussion started by: Katkota
3 Replies
5. Programming
Assume we have an application built on *nix that uses fork()...then the processes procedure is going to act as follow:
X is considered a parent process (first click on application)
Y is considered a child process of X (second click on application)
Z is considered a child process of Y (third... (6 Replies)
Discussion started by: f.ben.isaac
6 Replies
6. Solaris
Dear All
I have three site in multi city and have in three site
ADSL connection with Fixed IP and three Connection leased line
(VHSDSL) and
and the primary connection it's VHSDSL and BAckup up connection ADSL
So can i use IPMP in solaris OS 10 in three Site to have this Service
in three Site... (0 Replies)
Discussion started by: Hosam
0 Replies
7. IP Networking
Hi,
We currently operate a DHCP Server on Vxworks system.
It seems that the server is functioning only over the boot interface.
While trying to use it on a different interface the DHCP client messages seems to reach the interface but stay without response.
From a... (1 Reply)
Discussion started by: zohara
1 Replies
8. Shell Programming and Scripting
Hi,
I have a problem where I need to make this input:
nameRow1a,text1a,text2a,floatValue1a,FloatValue2a,...,floatValue140a
nameRow1b,text1b,text2b,floatValue1b,FloatValue2b,...,floatValue140b
look like this output:
nameRow1a,text1b,text2a,(floatValue1a - floatValue1b),(floatValue2a -... (4 Replies)
Discussion started by: nricardo
4 Replies
9. Shell Programming and Scripting
awk -F "" '/<Id>|<id>|<Source>|<source>|<Accession>|<accession>|<TestName>|<testname>/ {print $2, $3}' OFS='\t' Test.xml
The above code works great, but lets say I wanted the <Analyte> name (<Name>STAT3). The word <name> is unique so there will be multiple records pulled. Is there a way to... (8 Replies)
Discussion started by: cmccabe
8 Replies
10. UNIX for Advanced & Expert Users
I have a question regarding IPTables packet flow, that I am hoping I can get an answer to.
We have a fairly advanced implementation of IPTables that I am trying to convert into a third party product and I am not quite certain on the packet flow in the current IPTables implementation.
We are... (2 Replies)
Discussion started by: knightfirefx
2 Replies
LEARN ABOUT DEBIAN
load_dat_font
load_dat_font(3alleg4) Allegro manual load_dat_font(3alleg4)
NAME
load_dat_font - Loads a FONT from an Allegro datafile.
SYNOPSIS
#include <allegro.h>
FONT *load_dat_font(const char *filename, RGB *pal, void *param)
DESCRIPTION
Loads a FONT from an Allegro datafile. You can set param parameter to point to an array that holds two strings that identify the font and
the palette in the datafile by name. The first string in this list is the name of the font. You can pass NULL here to just load the first
font found in the datafile. The second string can be used to specify the name of the palette associated with the font. This is only
returned if the pal parameter is not NULL. If you pass NULL for the name of the palette, the last palette found before the font was found
is returned. You can also pass NULL for param, which is treated as if you had passed NULL for both strings separately. In this case, the
function will simply load the first font it finds from the datafile and the palette that precedes it.
For example, suppose you have a datafile named `fonts.dat' with the following contents:
FONT FONT_1_DATA
FONT FONT_2_DATA
FONT FONT_3_DATA
PAL FONT_1_PALETTE
PAL FONT_2_PALETTE
Then the following code will load FONT_1_DATA as a FONT and return FONT_1_PALETTE as the palette:
FONT *f;
PALETTE pal;
char *names[] = { "FONT_1_DATA", "FONT_1_PALETTE" }
f = load_dat_font("fonts.dat", pal, names);
If instead you want to load the second font, FONT_2, from the datafile, you would use:
FONT *f;
PALETTE pal;
char *names[] = { "FONT_2_DATA", "FONT_2_PALETTE" }
f = load_dat_font("fonts.dat", pal, names);
If you want to load the third font, but not bother with a palette, use:
FONT *f;
char *names[] = { "FONT_3_DATA", NULL }
f = load_dat_font("fonts.dat", NULL, names);
RETURN VALUE
Returns a pointer to the font or NULL on error. Remember that you are responsible for destroying the font when you are finished with it to
avoid memory leaks.
SEE ALSO
register_font_file_type(3alleg4), load_font(3alleg4)
Allegro version 4.4.2 load_dat_font(3alleg4)