07-07-2009
ifconfig: set address & submask until it changes again or the machine power-cycles
/etc/hosts: create a mapping between IP addresses and easy to remember names
Both have nothing to do with setting a permanent IP address, subnet mask or default route.
Which distribution are you using?
6 More Discussions You Might Find Interesting
1. Emergency UNIX and Linux Support
Hi guys.
I am gonna buy a dedicated server and make it a public mirror for some distributions.
but how much RAM, Hard Disk, Band Width, ... will suffice? It will be a mirror for CentOS and Ubuntu both. (3 Replies)
Discussion started by: majid.merkava
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
Any one please suggest me the best mysql, apache settings for the given below scenario.
My Server config:
Intel(R) Xeon(R) CPU E5504 @ 2.00GHz
8GB RAM
300GB HDD
Website:
It's a famous wordpress blog
Mysql DB size: 235MB
Expectations:
Server should be handle 600+ concurrent... (0 Replies)
Discussion started by: chandranjoy
0 Replies
3. Linux
Dear Friends,
We have a 4 dedicated servers. All are working but the thing is one server is not working. when i go to network tools and after i enter my host domain i cant able to ping. it is showing host not found. But remaining servers are working. I terminate my account and re-again create... (4 Replies)
Discussion started by: mastansaheb
4 Replies
4. Emergency UNIX and Linux Support
Hi all,
I installed centos 5, with LAMP.
httpd is working fine, ssh, ftp all working ok.
But, when I try to use mysql its not,
when I give the command
mysql
I get
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (4 Replies)
Discussion started by: lawstudent
4 Replies
5. Ubuntu
hi,
I am newbie and I think I am trying to bit off more than I could chew in this field. I would like to know if virtualization with Vmware Citrix on a dedicated server under ubuntu 64bit is simple.
I looked up in the board with keyword "virtualization, vmware, dedicated" but replied threads are... (2 Replies)
Discussion started by: baris35
2 Replies
6. UNIX for Dummies Questions & Answers
Hi there,
I have a dedicated server that sends mail with own smtp (obviously).
On this server I have a web platform for music artists that allows entries for each enrollment and sends confirmation e-mails and so on ...
Now I have purchased a service smtp (like those of smtp.com) because I... (3 Replies)
Discussion started by: colorsthink
3 Replies
LEARN ABOUT DEBIAN
ipsec_addrinsubnet
IPSEC_SAMEADDR(3) Library Functions Manual IPSEC_SAMEADDR(3)
NAME
ipsec_sameaddr, ipsec_addrcmp, ipsec_samesubnet, ipsec_addrinsubnet, ipsec_subnetinsubnet, ipsec_subnetishost, ipsec_samesaid,
ipsec_sameaddrtype, ipsec_samesubnettype - do comparisons for addresses, subnets, SA IDs and address families
SYNOPSIS
#include <freeswan.h>
int sameaddr(const ip_address *a, const ip_address *b);
int addrcmp(const ip_address *a, const ip_address *b);
int samesubnet(const ip_subnet *a, const ip_subnet *b);
int addrinsubnet(const ip_address *a, const ip_subnet *s);
int subnetinsubnet(const ip_subnet *a, const ip_subnet *b);
int subnetishost(const ip_subnet *s);
int samesaid(const ip_said *a, const ip_said *b);
int sameaddrtype(const ip_address *a, const ip_address *b);
int samesubnettype(const ip_subnet *a, const ip_subnet *b);
DESCRIPTION
These functions do various comparisons and tests on the ip_address type and ip_subnet types.
Sameaddr returns non-zero if addresses a and b are identical, and 0 otherwise. Addresses of different families are never identical.
Addrcmp returns -1, 0, or 1 respectively if address a is less than, equal to, or greater than b. If they are not of the same address fam-
ily, they are never equal; the ordering reported in this case is arbitrary (and probably not useful) but consistent.
Samesubnet returns non-zero if subnets a and b are identical, and 0 otherwise. Subnets of different address families are never identical.
Addrinsubnet returns non-zero if address a is within subnet s and 0 otherwise. An address is never within a subnet of a different address
family.
Subnetinsubnet returns non-zero if subnet a is a subset of subnet b and 0 otherwise. A subnet is deemed to be a subset of itself. A sub-
net is never a subset of another subnet if their address families differ.
Subnetishost returns non-zero if subnet s is in fact only a single host, and 0 otherwise.
Samesaid returns non-zero if SA IDs a and b are identical, and 0 otherwise.
Sameaddrtype returns non-zero if addresses a and b are of the same address family, and 0 otherwise.
Samesubnettype returns non-zero if subnets a and b are of the same address family, and 0 otherwise.
SEE ALSO
inet(3), ipsec_initaddr(3)
HISTORY
Written for the FreeS/WAN project by Henry Spencer.
28 Nov 2000 IPSEC_SAMEADDR(3)