Anything special with your dhcp.conf? What be your sed version?
EDIT: OK, after correcting the code tags (changed from QUOTE tags) we can see the leading whitespace in the dhcp.conf file that need to be taken care of. HERE YOU CAN SEE THE IMPORTANCE OF SHOWING COMMANDS AND INPUT CHARACTER BY CHARACTER, KEY STROKE BY KEY STROKE IN CODE TAGS!
Try
I am training to be support on our solaris based network and was wondering why solaris seems to assign the same mac address to all NICs placed in the machine regardless of how many NICs are in there, when i do a ifconfig -a all nics have same MAC.
Presumably this is a feature and there is... (1 Reply)
I need a shell script for OS X, one that can find IP addresses of machines connected to my LAN, get the names of the computer associated with those addresses, then display them like so in a list: "Bob's L33T Boxx: #.#.#.#" Something like the network scanner in Apple Remote Desktop is what I'm... (1 Reply)
Hello all.
I have a large number of text files outputted from various Netstumbler Wireless Scans; from which I need to extract the MAC addresses of the various Access Points.
The Text files look like this:
# $Creator: Network Stumbler Version 0.4.0
# $Format: wi-scan summary with... (9 Replies)
Hi,
i am working on a project where i have to write a script to find out MAC addresses of the systems with given IP address.
Can anybody tell me which command i can use to find MAC address if you know IP address of the machine.
Thanks (5 Replies)
I am using a bash script for CentOS 5.5, I found one and modified it, however I want to block the incoming IP addresses and ALLOW the IP addresses that are blocked to send out email.
I will use an internal network range for an example, 10.10.10.0/24 (if a lot of spam is incoming) from this range... (0 Replies)
Hi all
i need to create a script that pings every server in my range (0-254) adn then returns the values to a file? can anyone please help. i am working in the tcsh ( and yes i know how to ping ) but i dont know how to ping them all in one script without copying and pasting a 254 times?
... (1 Reply)
If a web search is done on this topic there are many links but no information included in the documents. So my questions are;
Why does a NIC card have it's own permanent ID. Why can't it share the host name? An ID is an ID.
Why does a computer need two ways to ID it.
If the network... (3 Replies)
Hello
Is there an easy way to login to various ip's..one after the other. I need to login to about 30 aix boxes and put a file in each one...
Cheers (1 Reply)
Hello
Is there an easy way to login to various ip's..one after the other. I need to login to about 30 aix boxes and put a file in each one...
Cheers (1 Reply)
I have a problem with a script , i want to see my devices there are up in my network. I want as output the ip addresses of the devices and also the mac address but I only had the ip addresses
#!/bin/bash
while ]
do
-mac)
Extension=5
shift
mac=$1
shift
;;
esac... (1 Reply)
Discussion started by: Roggy
1 Replies
LEARN ABOUT DEBIAN
shorewall-maclist
SHOREWALL-MACLIST(5) [FIXME: manual] SHOREWALL-MACLIST(5)NAME
maclist - Shorewall MAC Verification file
SYNOPSIS
/etc/shorewall/maclist
DESCRIPTION
This file is used to define the MAC addresses and optionally their associated IP addresses to be allowed to use the specified interface.
The feature is enabled by using the maclist option in the shorewall-interfaces[1](5) or shorewall-hosts[2](5) configuration file.
The columns in the file are as follows (where the column name is followed by a different name in parentheses, the different name is used in
the alternate specification syntax).
DISPOSITION - {ACCEPT|DROP|REJECT}[:log-level]
ACCEPT or DROP (if MACLIST_TABLE=filter in shorewall.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 Shorewall format for MAC addresses here. If IP ADDRESSESES is supplied then MAC
can be supplied as a dash (-)
IP ADDRESSES (addresses) - [address[,address]...]
Optional - 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 iptables have iprange match support then IP address ranges are also allowed. Similarly, if your kernel
and iptables include ipset support than set names (prefixed by "+") are also allowed.
FILES
/etc/shorewall/maclist
SEE ALSO
http://shorewall.net/MAC_Validation.html
http://shorewall.net/configuration_file_basics.htm#Pairs
shorewall(8), shorewall-accounting(5), shorewall-actions(5), shorewall-blacklist(5), shorewall-hosts(5), shorewall_interfaces(5),
shorewall-ipsets(5), shorewall-masq(5), shorewall-nat(5), shorewall-netmap(5), shorewall-params(5), shorewall-policy(5),
shorewall-providers(5), shorewall-proxyarp(5), shorewall-rtrules(5), shorewall-routestopped(5), shorewall-rules(5), shorewall.conf(5),
shorewall-secmarks(5), shorewall-tcclasses(5), shorewall-tcdevices(5), shorewall-tcrules(5), shorewall-tos(5), shorewall-tunnels(5),
shorewall-zones(5)NOTES
1. shorewall-interfaces
http://www.shorewall.net/manpages/shorewall-interfaces.html
2. shorewall-hosts
http://www.shorewall.net/manpages/shorewall-hosts.html
3. shorewall.conf
http://www.shorewall.net/manpages/shorewall.conf.html
[FIXME: source] 06/28/2012 SHOREWALL-MACLIST(5)