All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel VRABIOIU <danyvip@pattco.ro>
To: netfilter@lists.netfilter.org
Subject: Re: ip + mac authentication
Date: Wed, 19 Jan 2005 17:53:53 +0200	[thread overview]
Message-ID: <41EE8291.20505@pattco.ro> (raw)
In-Reply-To: <20050119114804.13549.qmail@web30806.mail.mud.yahoo.com>

arp -f only force for an ip a static mac. so you cant specify 2 mac 
addresses or 2 ips in ethers. you can do that using iptables instead.
also, if you dont know the mac associated with an ip then you can ping 
it then use arp to see it. if an ip isnt listed in ethers then it can be 
used with any mac address.


Linux Query wrote:

>Thank you! I didnt know about the /etc/ethers file. Is
>it possible to assign two ips for a single mac in that
>file and a single ip for two macs ?
>
>e.g.   ip1   <mac1>
>       ip2   <mac1> 
>
>and
>       ip3   <mac2>
>       ip3   <mac3>  
>      
>Besides, if i leave out some of the clients from the
>/etc/ethers file (I dont know all mac addresses right
>now) , will it create problems for those who are not
>included ?
>
>Thanks and regards,
>jim
>  
>



  reply	other threads:[~2005-01-19 15:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-19 10:36 ip + mac authentication Linux Query
2005-01-19 10:57 ` George Alexandru Dragoi
2005-01-19 11:48   ` Linux Query
2005-01-19 15:53     ` Daniel VRABIOIU [this message]
2005-01-19 17:34       ` Linux Query
2005-01-20  4:55     ` R. DuFresne
2005-01-19 14:44 ` Jason Opperisano
2005-01-19 14:55 ` René Gallati

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41EE8291.20505@pattco.ro \
    --to=danyvip@pattco.ro \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.