08-17-2005
netmasks
Hallo Reborg,
Very good, thank You for Your help.
Best regards
Dieter
10 More Discussions You Might Find Interesting
1. Linux
How can I permenantly change the IP, netmask and default GW
for Linux server on Apatchi. (2 Replies)
Discussion started by: salhoub
2 Replies
2. IP Networking
Hi,
On our new Solaris machine I have set up a network card with an IP of 10.44.12.102 , netmask of 255.255.252.0 and broadcast 19.44.15.255. These are to match current configuration on the other servers (running an older Solaris).
However , after the machine is rebooted the ifconfig -a displays... (2 Replies)
Discussion started by: markdr011
2 Replies
3. UNIX for Dummies Questions & Answers
I wish to seach a Dir for a specific file, once the file is found i will perform additional logic. If the file is not found within two hours, i would like to exit.
Logically, I'm looking for the best way to approach this
Thanks for any assistance in advance.
Note: I'm using a C shell and... (2 Replies)
Discussion started by: mmarsh
2 Replies
4. UNIX for Advanced & Expert Users
Setting up nfs on a redhat ES 4 gives me following issue that i
can't explain.
My nfs was working perfect whith following /etc/exports on the server
/home/test/nfstest 198.9.200.227(rw,sync,no_root_squash)
But after a powerloss and restart of the server it only works with the... (0 Replies)
Discussion started by: progressdll
0 Replies
5. IP Networking
Hi,
I have a system which has been setup with a netmask of 255.255.252.0 . The customer says this netmask is wrong as is causing them some problems. They want me to change it too 255.255.254.0
So what would the command be for my bge0 port.
Can I do this whilst its running the software ?... (1 Reply)
Discussion started by: Maillot Jaune
1 Replies
6. Solaris
hi,
I am trying to configure one of my interfaces, but after reboot - i lose the changes to the netmask & broadcast address.
I have added an entry in /etc/netmasks, but it doesnt pick up the new settings. any ideas - much appreciated.
before reboot:
eri0:... (3 Replies)
Discussion started by: badoshi
3 Replies
7. Shell Programming and Scripting
Hi,
I am having two variables
IP="10.150.12.1"
netmask="255.255.255.0"
To get network number, I know that a bitwise & will help.
networkno=IP & netmask
My code is
#!/usr/bin/ksh
ip="10.150.12.1"
netmask="255.255.255.0"
networkno="$ip" & "$netmask"
echo $networkno
I am... (7 Replies)
Discussion started by: chaitanyapn
7 Replies
8. Shell Programming and Scripting
Hi,
I am a unix newbie. I need to write a script to check wheteher another script is still running. If it is, then sleep for 30m and then check again if the script is running. If the script has stopped running then, I need to come out of the loop.
I am using RHEL 5.2 (2 Replies)
Discussion started by: mathews
2 Replies
9. Solaris
I have net0 as my primary network interface in Solaris 11.
# ifconfig net0
net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.53.77.154 netmask ffffff00 broadcast 10.53.77.255
ether 0:10:e0:3a:c4:d8
Its netmask should be fffffc00, but whenever I... (8 Replies)
Discussion started by: solaris_1977
8 Replies
10. Shell Programming and Scripting
Hi all, I would appreciate if someone could share how to convert CIDR notation to netmask and vice versa.
The value below is just an example. it could be different numbers/ip addresses.
Initial Output, let say file1.txt
Final Output, let say file2.txt (3 Replies)
Discussion started by: type8code0
3 Replies
LEARN ABOUT MOJAVE
getopt::long::descriptive::opts5.18
Getopt::Long::Descriptive::Opts(3) User Contributed Perl Documentation Getopt::Long::Descriptive::Opts(3)
NAME
Getopt::Long::Descriptive::Opts - object representing command line switches
VERSION
version 0.096
DESCRIPTION
This class is the base class of all $opt objects returned by Getopt::Long::Descriptive. In general, you do not want to think about this
class, look at it, or alter it. Seriously, it's pretty dumb.
Every call to "describe_options" will return a object of a new subclass of this class. It will have a method for the canonical name of
each option possible given the option specifications.
Method names beginning with an single underscore are public, and are named that way to avoid conflict with automatically generated methods.
Methods with multiple underscores (in case you're reading the source) are private.
METHODS
Achtung! All methods beginning with an underscore are experimental as of today, 2009-12-12. They are likely to be formally made permanent
soon.
_specified
This method returns true if the given name was specified on the command line.
For example, if @ARGS was ""--foo --bar 10"" and "baz" is defined by a default, "_specified" will return true for foo and bar, and false
for baz.
_specified_opts
This method returns an opt object in which only explicitly specified values are defined. Values which were set by defaults will appear
undef.
_complete_opts
This method returns the opts object with all values, including those set by defaults. It is probably not going to be very often-used.
AUTHORS
o Hans Dieter Pearcey <hdp@cpan.org>
o Ricardo Signes <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2005 by Hans Dieter Pearcey.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.18.2 2013-10-04 Getopt::Long::Descriptive::Opts(3)