Hi sir,
i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address.......
but i'm nt getting that how i can pass the MAC address to Frame........
Please give me an idea for making such program...
Thanks & regards
Krishna (3 Replies)
Hi i am using a shell script for renaming the files and placing in the remote location(FTP) my code is:
cd $1
day=$(date +%d)
for i in `ls -1 BBW*`
do
last=`tail -1 $i`
pat=`expr "$last" : '.*(\(.*\)).*'`
pat=`echo $pat | sed 's/ /_/'`
pat=$pat$day
mv $i $pat
rm -f $day
done... (3 Replies)
I'm using the following in my script.
if echo $cpuidle |/usr/bin/egrep ; then
when I issue this statement it issues the value of the variable back to stdout which ends up in my output file.
Is there a better way to write this?
I'm using ksh on solaris 9. (3 Replies)
Hi ppl, anyone has encounter this error before? I can't remote login to another machine residing in the same subnet via CDE and the error I get in var/dt/Xerrors is
XDMCP fatal error: Session declined No valid address
Warning:
Name: submenu_options_button
Class: XmRowColumn
... (2 Replies)
I have following message in my messages file on solaris 10
WARNING: e1000g3712000:3 has duplicate address 010.022.196.011 (in use by 00:50:56:85:25:ef); disabled
Now is there any way i can find which server has 00:50:56:85:25:ef mac address either IP or Hostname ? (6 Replies)
Hi there
I lost connectivity to one of our remote systems and when I checked the messages log I found the following:
Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s
Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1
Aug 16 13:20:51 host... (9 Replies)
Hello all, I just post here to expose an issue I have encountered two days ago and finally successfully solve just right now using info on this site( but not only).
Config : Two SUN/ORACLE sparc Solaris 10 system.
Purpose : do a remote CDE login from host one to the host two.
method: from... (0 Replies)
File contian below data...
20111101
20111102
20111131
I am new to unix and per scirpt...
First two records are valid and last record is invalid,how to get the valid records...
Please help me unix or perl script.
:wall:
Thanks,
Murali (5 Replies)
four interfaces with ifconfig
all interfaces have the same mac. If is not set for unique.
but it still works.
what difference does it make to have all macs the same or different? (4 Replies)
Discussion started by: rrodgers
4 Replies
LEARN ABOUT DEBIAN
shorewall6-maclist
SHOREWALL6-MACLIST(5) [FIXME: manual] SHOREWALL6-MACLIST(5)NAME
maclist - shorewall6 MAC Verification file
SYNOPSIS
/etc/shorewall6/maclist
DESCRIPTION
This file is used to define the MAC addresses and optionally their associated IPv6 addresses to be allowed to use the specified interface.
The feature is enabled by using the maclist option in the shorewall6-interfaces[1](5) or shorewall6-hosts[2](5) configuration file.
The columns in the file are as follows.
DISPOSITION - {ACCEPT|DROP|REJECT}[:log-level]
ACCEPT or DROP (if MACLIST_TABLE=filter in shorewall6.conf[3](5), then REJECT is also allowed). If specified, the log-level causes
packets matching the rule to be logged at that level.
INTERFACE - interface
Network interface to a host.
MAC - address
MAC address of the host -- you do not need to use the shorewall6 format for MAC addresses here. If IP ADDRESSESES is supplied then MAC
can be supplied as a dash (-)
IP ADDRESSES (Optional) - [address[,address]...]
If specified, both the MAC and IP address must match. This column can contain a comma-separated list of host and/or subnet addresses.
If your kernel and ip6tables have iprange match support then IP address ranges are also allowed. Similarly, if your kernel and
ip6tables include ipset support than set names (prefixed by "+") are also allowed.
FILES
/etc/shorewall6/maclist
SEE ALSO
http://shorewall.net/MAC_Validation.html
http://shorewall.net/configuration_file_basics.htm#Pairs
shorewall6(8), shorewall6-accounting(5), shorewall6-actions(5), shorewall6-blacklist(5), shorewall6-hosts(5), shorewall6-interfaces(5),
shoewall6-netmap(5),shorewall6-params(5), shorewall6-policy(5), shorewall6-providers(5), shorewall6-rtrules(5), shorewall6-routestopped(5),
shorewall6-rules(5), shorewall6.conf(5), shorewall6-secmarks(5), shorewall6-tcclasses(5), shorewall6-tcdevices(5), shorewall6-tcrules(5),
shorewall6-tos(5), shorewall6-tunnels(5), shorewall6-zones(5)NOTES
1. shorewall6-interfaces
http://www.shorewall.net/manpages6/shorewall6-interfaces.html
2. shorewall6-hosts
http://www.shorewall.net/manpages6/shorewall6-hosts.html
3. shorewall6.conf
http://www.shorewall.net/manpages6/shorewall6.conf.html
[FIXME: source] 06/28/2012 SHOREWALL6-MACLIST(5)