binding mac address with ip address by ipfwadm or iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everybody.
I have question about binding mac address of a machine with ip address of 
machine. I have created a virtual lan with ipfwadm and ipchaind, and my 
config is :


echo 1 > /proc/sys/net/ipv4/ip_forward
ipfwadm -I -a accept -W lo
ipfwadm -I -a accept -W eth0
ipfwadm -I -a accept -P tcp -D 217.219.18.17
ipfwadm -I -a accept -P tcp -D 127.0.0.1
ipfwadm -I -a accept -P tcp -D 192.168.168.1
ipfwadm -I -a accept -P tcp -D localhost
ipfwadm -I -a accept -P tcp -D 0/0 80 -r 3128


Now I want set mac address of my machines to ip addresses of my machines 
for 
example I have machine with this address: 192.168.168.2 and mac address of 
this machine is 0050.48ca.baba , how I can write command that only this 
machine can use this ip address????

Thanks a lot for you helping
 -- 

------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@xxxxxxxxxxxxxxxxx
         with "unsubscribe" in the subject of the message.


[Index of Archives]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Bugtraq]     [USB]     [Fedora Security]

  Powered by Linux