Hi,
please tell me how to convert hex number to decimal
000000E7
000000000002640D
0000000000025B16
and seconds to minutes, hours, days, months, years
bytes to kbytes, mbytes , gbytes
read the following examples
while read a b
do
printf "%5d %5d\n" "0x$a" "0x$b"
done < "$FILE"... (15 Replies)
Please Help Me! about the problem down under.
I have 2 files with nearly the same characteristics, I have to convert one to the other format or the other format to one's format. I want to write it with awk.
The first file contain lines like this:
300000001#A#Y#Y#Y#Y
The other file contain... (4 Replies)
Dear All PROs
Thanks in advance
need a shell for Decimal to hex conversion
input file (decimal values)
65,5,48,66,133,131,118,47
65,5,48,66,133,131,83,63
.
.
desire output should be (Hex value)... (11 Replies)
I have a file which consist of some class 4 IP address as
172.16.112.50
172.16.112.50
172.16.112.50
172.16.112.100
192.168.1.30
172.16.112.100
172.16.112.50
172.16.112.50
172.16.112.50
i want to store them in pure decimal notations instead of the given dotted decimal formats
e.g.... (2 Replies)
can someone help me in converting hex streams to decimal values using perl script
Hex value:
$my_hex_stream="0c07ac14001676";
Every hex value in the above stream should be converted in to decimal and separated by comma.
The output should be: 12,07,172,20,00,22,118 (2 Replies)
The file contains code like the below and need to convert each one into a decimal
00 00 00 04 17 03 06 01
So the output should come as
0 0 0 4 23 3 6 1 (24 Replies)
Hi
I am executing below command to do summation on 46th coloumn.
cat File1| awk -F"|" '{p += $46} END { printf"Column Name | SUM | " p}'
I am getting output as
Column Name | SUM | 1.01139e+10
Here I want output in Proper decimal format. Can someone tell me what change is required for same? (1 Reply)
How to convert decimal value to hex and than take 1st digits as variable
sample data
84844294,5,6
51291736,2,3
84844294,5,6
51291736,2,3
i can use {printf "%x,%d\n",$1,$2} but than i want to filter base on 1st hex digit 1st recrd (1 Reply)
Discussion started by: before4
1 Replies
LEARN ABOUT SUSE
ifndp-proxy
IFNDP-PROXY(5) Network configuration IFNDP-PROXY(5)NAME
ifndp-proxy[-<interface name>] - IPv6 NDP and IPv4 ARP proxy entries
SYNOPSIS
/etc/sysconfig/network/ifndp-proxy
/etc/sysconfig/network/ifndp-proxy-<interface name>
DESCRIPTION
These files contain IPv6 NDP and IPv4 ARP proxy settings, that should be applied using the ip neigh add proxy command documented in the
ip(8) manual page that provides a common interface for IPv4 and IPv6.
The NDP/ARP proxy is required, e.g. when IP addresses from the same subnet have to be used on the interface of the host as well as on
interfaces behind a (tunnel) interface and using a bridge is not an option.
Don't forget to enable forwarding and the NDP/ARP proxy by setting
net.ipv6.conf.<all|default|interface name>.proxy_ndp = 1
net.ipv6.conf.<all|default|interface name>.forwarding = 1
and/or
net.ipv4.conf.<all|default|interface name>.proxy_arp = 1
net.ipv4.conf.<all|default|interface name>.forwarding = 1
or
net.ipv4.ip_forward = 1
either as global all setting in the /etc/sysctl.conf file or using the ifsysctl(5) files, that allow per-interface setup.
Forwarding can be also enabled in the /etc/sysconfig/sysctl file using the IP_FORWARD and IPV6_FORWARD variables.
The proxy entries are added and deleted using the if-{up|down}.d/ndp-proxy script, every time after an involved interface has been set
up or down.
SYNTAX
The format of the ifndp-proxy file is:
<address> <address interface> <proxy interface list>
The format of the ifndp-proxy-<address interface> file is same to above, but allows also to omit the address interface by using a "-" as
placeholder inside of the file, because it is already available in the file name:
<address> <address interface | -> <proxy interface list>
Lines beginning with # and blank lines are ignored.
Each line defines to add a proxy NDP/ARP entry with the address of or behind address interface to all interfaces in the proxy interface
list.
EXAMPLES
Let's assume, your machine is connected via eth0 to a switch with the networks 2001:db8:abba::/64 and 192.168.100.1/24 and is using the IP
address 1 itself. You'd like to use the addresses 11 and 12 e.g. for virtual machines behind the tap1 and tap2 interface, that is:
2001:db8:abba::1/64 -- local eth0 address
2001:db8:abba::11/64 -- address behind tap1
2001:db8:abba::12/64 -- address behind tap2
192.168.100.1/24 -- local eth0 address
192.168.100.11/24 -- address behind tap1
192.168.100.12/24 -- address behind tap2
then set up the following entries in the ifndp-proxy file:
2001:db8:abba::1 eth0 tap1 tap2
2001:db8:abba::11 tap1 eth0 tap2
2001:db8:abba::12 tap2 eth0 tap1
192.168.100.1 eth0 tap1 tap2
192.168.100.11 tap1 eth0 tap2
192.168.100.12 tap2 eth0 tap1
additionally to the routing entries in the routes or ifroute-<interface name> files.
BUGS
Please report bugs at <https://bugzilla.novell.com/>
AUTHOR
Marius Tomaschewski <mt@suse.de>
SEE ALSO ifup(8)ifcfg(5)ifsysctl(8)sysconfig December 2009 IFNDP-PROXY(5)