04-16-2004
On HP_UX you need to look at /etc/rc.config.d/netconf to make sure the changes are made properly. You can use set_parms ip_address command do change the IP address
10 More Discussions You Might Find Interesting
1. HP-UX
This will most likely be a real dumb question for a HP-UX admin, but here it goes anyhow.
lan0 - is up and configured
lan1 - is down, I want to bring it up.
lanconfig....ifconfig is there a difference?
My real question is, in solaris there is an /etc/hostname."?" file, is there a... (4 Replies)
Discussion started by: viRaven
4 Replies
2. OS X (Apple)
Hi,
I type (as root) "ifconfig en1 ether aa:aa: " but it doesnt change the mac of my airport. Can anyone help me?
Thx. (0 Replies)
Discussion started by: Jariya
0 Replies
3. Shell Programming and Scripting
why the ifconfig command is not working in my machine?
it says "-bash: ifconfig: command not found"
why its says that?
actually i m looking for "how can I know the Network Interface Card physical address?"
Requesting u all for help.
thanks (3 Replies)
Discussion started by: moco
3 Replies
4. UNIX for Dummies Questions & Answers
hey,
I know that ifconfig on linux systems is identical to win ipconfig.
I wanted to know if there is a linux distribution (new or old) that uses the ipconfig command.
thanks alot :) (2 Replies)
Discussion started by: tsmotix
2 Replies
5. Solaris
Hi All,
I logged into a sun microsystems server box, using both a vnc session and a ssh session. I am able to use "ifconfig -a" in a ssh session, but the same on a vnc session says that its a invalid command. how is this possible, when i am logging into the same box through two different... (4 Replies)
Discussion started by: pardhuhere
4 Replies
6. IP Networking
Hi all,,i have problem with my homework form my lecture..
He is give me a homework to create:
ifconfig eth0 0.255.255.255 1.1.168.192
my lecture says, i can making the shell scripting to finish my homework..
i have question, can setting ifconfig like in the upper? (1 Reply)
Discussion started by: demhyt
1 Replies
7. IP Networking
Hi all,
I am getting some error messages during bootup
ifconfig :<hostname> bad address
and some more messages related to it.
I some how checked the /etc/hostanem.hme0 /etc/hosts file.
Entries in these files were proper.
If I am running the following command from root:
... (5 Replies)
Discussion started by: amit_sapre
5 Replies
8. Linux
Hi All,
I need some info on ifconfig.
ifconfig is available in Linux and Solaris. However the options available in Solaris is not there in Linux.
1. ifconfig -a == output is different in both OS. I am somewhat able to compare the output. But one thing I am not getting is after the flags... (2 Replies)
Discussion started by: ahamed101
2 Replies
9. Shell Programming and Scripting
Unable to run the ifconfig in my home dir..
I did add adding /sbin and /usr/sbin in th PATH
But still unable to get that ..
Am using red hat linux
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.3 (Tikanga) (3 Replies)
Discussion started by: mail2sant
3 Replies
10. Solaris
What would be the command to remove the IP address from an interface?
I want to remove the ip from this interface:
ce3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
inet 155.216.13.74 netmask fffffff0 broadcast 155.216.13.79
ether 0:3:ba:da:a6:96 (3 Replies)
Discussion started by: Kjons76
3 Replies
LEARN ABOUT DEBIAN
ipsec_samesubnet
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)