Sponsored Content
Operating Systems Solaris ifconfig - making netmask & broadcast address permanent? Post 302303280 by badoshi on Thursday 2nd of April 2009 09:29:06 AM
Old 04-02-2009
many thanks - it turns out the stuff i blanked out was infact wrong. I was using the ipaddress, when it should have been the network address. doh!

all sorted now!
 

10 More Discussions You Might Find Interesting

1. IP Networking

broadcast address

What is the significance of the broadcast address? (1 Reply)
Discussion started by: 98_1LE
1 Replies

2. UNIX for Dummies Questions & Answers

network address and broadcast address?

say I have a IP address which is 10.0.0.12, and subnet mask is 255.255.255.240, what is the network address and what is the broadcast address which host lives on? And could you explain how to get the answer? thanx in advance! (7 Replies)
Discussion started by: pnxi
7 Replies

3. Solaris

bge card and broadcast address

I have a bge1 card and a bge0 card, i want the broadcast addresses to match, ifconfig shows this lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 ... (1 Reply)
Discussion started by: csaunders
1 Replies

4. Shell Programming and Scripting

making the changes permanent in a file

Hi Friends. I have a file called install.data which has fields like : XXXXX ACVCGFFTFY UAHIUH OI CONNECTION=tape/11/ LOCATAION=08-90-89 SIZE=90 I had to change the values of some of these variables. So i did : grep "SIZE" instal.data | sed 's/*/00/' ...this is working fine on command... (4 Replies)
Discussion started by: vijaya2006
4 Replies

5. UNIX for Dummies Questions & Answers

Making an alias permanent

Hi mates, I want to make an alias permanent for a KShell, does someone knows how to do that? Thanks! (4 Replies)
Discussion started by: agasamapetilon
4 Replies

6. Shell Programming and Scripting

network and broadcast address

Hi Suppose You have two computers. One named kenny which has an IP address of 192.168.0.7. kenny lives on a subnet with a subnet mask of 255.255.255.240. The second computer is called zathras, which has an IP address of 192.168.0.17, zathras lives on a network with the same subnet mask. i)... (4 Replies)
Discussion started by: scofiled83
4 Replies

7. Shell Programming and Scripting

how to calculate netwrk from IP address and netmask using Bitwise AND in shell script

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. Solaris

Process to make changed MAC address permanent

Hi If suppose there is a MAC address of NIC port. I have change the MAC address through following command # ifconfig hme0 ether a:0:30:f0.ad:51 The change MAC address will be there till reboot. Now I would like to know how to make the change MAC address permanent. I believe that... (1 Reply)
Discussion started by: amity
1 Replies

9. Shell Programming and Scripting

Shell script to give broadcast and network address

Hello, I am running a post script in autoyast where I am trying to set the broadcast and network address. I have the ip address and netmask already (reading from a file).. I saw the post from fpmurphy but it is using ksh which isn't an option in autoyast. Thanks in advance! (3 Replies)
Discussion started by: bloodclot
3 Replies

10. Solaris

how to make IP address permanent.

Greetings, I am using solaris10 x86 OS. I configured IP address using the command. >ifconfig e1000g0 plumb >ifconfig e1000g0 200.200.0.1 up How to make this configured IP as permanent.. to solaris os. (2 Replies)
Discussion started by: bhargav90
2 Replies
ipfstat(1M)                                               System Administration Commands                                               ipfstat(1M)

NAME
ipfstat - reports on packet filter statistics and filter list SYNOPSIS
ipfstat [-aACdfghIilnosv] ipfstat [-C] [-D addrport] [-P protocol] [-S addrport] [-T refreshtime] DESCRIPTION
The ipfstat command examines /dev/kmem using the symbols _fr_flags, _frstats, _filterin, and _filterout. To run and work, it needs to be able to read both /dev/kmem and the kernel itself. The default behavior of ipfstat is to retrieve and display the statistics which have been accumulated over time as the kernel has put pack- ets through the filter. The role of ipfstat is to display current kernel statistics gathered as a result of applying the filters in place (if any) to packets going in and out of the kernel. This is the default operation when no command line parameters are present. When supplied with either -i or -o, ipfstat will retrieve and display the appropriate list of filter rules currently installed and in use by the kernel. ipfstat's use is restricted through access to /dev/ipl and /dev/ipstate. The default permissions of these files require ipfstat to be run as root for all operations. Using the -t option causes ipfstat to enter the state top mode. In this mode the state table is displayed similarly to the way the Unix top utility displays the process table. The -C, -D, -P, -S and -T command line options can be used to restrict the state entries that will be shown and to specify the frequency of display updates. In state top mode, use the following keys to influence the displayed information: d Select information to display. l Redraw the screen. q Quit the program. s Switch between different sorting criteria. r Reverse the sorting criteria. States can be sorted by protocol number, by number of IP packets, by number of bytes, and by time-to-live of the state entry. The default is to sort by the number of bytes. States are sorted in descending order, but you can use the r key to sort them in ascending order. It is not possible to interactively change the source, destination, and protocol filters or the refresh frequency. This must be done from the command line. The screen must have at least 80 columns for correct display. However, ipfstat does not check the screen width. Only the first X-5 entries that match the sort and filter criteria are displayed (where X is the number of rows on the display). There is no way to see additional entries. OPTIONS
The following options are supported: -a Display the accounting filter list and show bytes counted against each rule. -A Display packet authentication statistics. -C Valid only in combination with -t. Display "closed" states as well in the top. Normally, a TCP connection is not displayed when it reaches the CLOSE_WAIT protocol state. With this option enabled, all state entries are displayed. -d Produce debugging output when displaying data. -D addrport Valid only in combination with -t. Limit the state top display to show only state entries whose destination IP address and port match the addrport argument. The addrport specification is of the form ipaddress[,port]. The ipaddress and port should be either numerical or the string any (specifying any IP address and any port, in that order). If the -D option is not specified, it defaults to -D any,any. -f Show fragment state information (statistics) and held state information (in the kernel) if any is present. -g Show groups currently configured (both active and inactive). -h Show per-rule the number of times each one scores a "hit". For use in combination with -i. -i Display the filter list used for the input side of the kernel IP processing. -I Swap between retrieving inactive/active filter list details. For use in combination with -i. -l When used with -s, show a list of active state entries (no statistics). -n Show the rule number for each rule as it is printed. -o Display the filter list used for the output side of the kernel IP processing. -P protocol Valid only in combination with -t. Limit the state top display to show only state entries that match a specific protocol. The argument can be a protocol name (as defined in /etc/protocols) or a protocol number. If this option is not specified, state entries for any pro- tocol are specified. -s Show packet/flow state information (statistics only). -S addrport Valid only in combination with -t. Limit the state top display to show only state entries whose source IP address and port match the addrport argument. The addrport specification is of the form ipaddress[,port]. The ipaddress and port should be either numerical or the string any (specifying any IP address and any port, in that order). If the -S option is not specified, it defaults to -S any,any. -t Show the state table in a way similar to the way the Unix utility, top, shows the process table. States can be sorted in a number of different ways. -T refreshtime Valid only in combination with -t. Specifies how often the state top display should be updated. The refresh time is the number of sec- onds between an update. Any positive integer can be used. The default (and minimal update time) is 1. -v Turn verbose mode on. Displays additional debugging information. FILES
o /dev/kmem o /dev/ksyms o /dev/ipl o /dev/ipstate ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWipfu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
ipf(1M), attributes(5) NOTES
To view license terms, attribution, and copyright for IP Filter, the default path is /usr/lib/ipf/IPFILTER.LICENCE. If the Solaris operat- ing environment has been installed anywhere other than the default, modify the given path to access the file at the installed location. SunOS 5.10 12 Nov 2003 ipfstat(1M)
All times are GMT -4. The time now is 05:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy