Sponsored Content
Full Discussion: Mac Filtering in REDHAT-el5
Special Forums IP Networking Mac Filtering in REDHAT-el5 Post 302276259 by thakshina on Tuesday 13th of January 2009 11:01:06 AM
Old 01-13-2009
Mac Filtering in REDHAT-el5

Need help to filter the MAC address for the specific ipaddress., HOW??

I had try the rule for:

iptables -A FORWARD -i eth1 -s 192.168.129.57 -m mac --mac-source 00:02:6F:48:8A:85 -j ACCEPT

But Not working now and if you have any alternate solution Help us.SmilieSmilie
 

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ipfw2 with mac filtering

Work with FreeBSD with firewall ipfw + dummynet and I need to allow to some IP by MAC address and to deny to the others, since I can do it? Thanks. (2 Replies)
Discussion started by: darknighter
2 Replies

2. Shell Programming and Scripting

Remove all kernel except 2.6.18-308.24.1.el5

Hello All, I would like to remove all kernel in the system except 2.6.18-308.24.1.el5. I was trying something like rpm -qa|grep kernel|grep -v 2.6.18-308.24.1.el5|yum remove it did not work. any help? Thanks (2 Replies)
Discussion started by: adam25ca
2 Replies

3. UNIX for Advanced & Expert Users

Sort command results are different in Redhat 4 vs Redhat 5

Hi, I am having a text file with the following contents ########### File1 ########### some page1.txt text page.txt When I sort this file on Red Hat 5, then I get the following output ########### File1 ########### page1.txt page.txt some (3 Replies)
Discussion started by: sarbjit
3 Replies
VLAN-INTERFACES(5)						   File formats 						VLAN-INTERFACES(5)

NAME
/etc/network/interfaces (vlan) - vlan extensions for the interfaces(5) file format DESCRIPTION
/etc/network/interfaces contains network interface configuration information for the ifup(8) and ifdown(8) commands. This manpage describes the vlan extensions to the standard interfaces(5) file format. Primary extensions exist to make and destroy vlan interfaces, secondary extensions exist for ipv4 interface manipulation which are gener- ally needed when using (a lot of) vlans. VLAN CREATION
Vlan interface definitions exist of the vlan interface name, and an optional 'raw-device' parameter. Vlan interfaces are numbered 1 to 4095. You have the option to have interface names zero-padded to 4 numbers, or just the plain digits without leading zero. The following example shows four ways to create a vlan with id 1 on interface eth0. They all result in different names. iface eth0.1 inet static address 192.168.1.1 netmask 255.255.255.0 iface vlan1 inet static vlan-raw-device eth0 address 192.168.1.1 netmask 255.255.255.0 iface eth0.0001 inet static address 192.168.1.1 netmask 255.255.255.0 iface vlan0001 inet static vlan-raw-device eth0 address 192.168.1.1 netmask 255.255.255.0 # We don't have br support out of the box iface br0.2 inet static vlan-raw-device br0 address 192.168.1.1 netmask 255.255.255.0 # Aliases are ignored iface br0.2:1 inet static address 192.168.1.1 netmask 255.255.255.255 EXTRA IFACE OPTIONS
Usually someone who uses vlans also wants to do some other manipulations with the ip stack or interface. vlan-raw-device devicename Indicates the device to create the vlan on. This is ignored when the devicename is part of the vlan interface name. ip-proxy-arp 0|1 Turn proxy-arp off or on for this specific interface. This also works on plain ethernet like devices. ip-rp-filter 0|1|2 Set the return path filter for this specific interface. This also works on plain ethernet like devices. hw-mac-address mac-address This sets the mac address of the interface before bringing it up. This works on any device that allows setting the hardware address with the ip command. AUTHOR
This manpage was adapted from interfaces(5) by Ard van Breemen <ard@kwaak.net> SEE ALSO
vconfig(8) interfaces(5) vlan September 30 2007 VLAN-INTERFACES(5)
All times are GMT -4. The time now is 10:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy