Re: freebsd-net: ether alias

2007-10-19 Thread Chuck Swiger

On Oct 19, 2007, at 2:41 AM, Андрей Поляков wrote:
Hi, I am using freebsd 6.2.  And I am doubt how to add a harware  
address alias to my NIC wich would be associated with ip. For  
example, there are configuration:

[ ... ]

How do I setup multiple mac addresses?


You can do this by proxy-arping; see man arp:

 -s hostname ether_addr
 Create an ARP entry for the host called hostname with  
the Ether-
 net address ether_addr.  The Ethernet address is given  
as six hex
 bytes separated by colons.  The entry will be permanent  
unless
 the word temp is given in the command.  If the word pub  
is given,
 the entry will be ``published''; i.e., this system will  
act as an
 ARP server, responding to requests for hostname even  
though the
 host address is not its own.  In this case the  
ether_addr can be
 given as auto in which case the interfaces on this host  
will be
 examined, and if one of them is found to occupy the  
same subnet,
 its Ethernet address will be used.  If the only keyword  
is also
 specified, this will create a ``published (proxy  
only)'' entry.
 This type of entry is created automatically if arp  
detects that a

 routing table entry for hostname already exists.

--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd-net: ether alias

2007-10-19 Thread Андрей Поляков
Hi, I am using freebsd 6.2.  And I am doubt how to add a 
harware address alias to my NIC wich would be associated 
with ip. For example, there are configuration:


vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST 
mtu 1500
inet 87.224.232.129 netmask 0xff00 broadcast 
87.255.255.255
inet 87.224.232.119 netmask 0xff00 broadcast 
87.255.255.255

ether 00:15:f2:38:83:59
media: Ethernet autoselect (100baseTX 
full-duplex)

status: active

But I need smth like this:

vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST 
mtu 1500
inet 87.224.232.129 netmask 0xff00 broadcast 
87.255.255.255

ether 00:15:f2:38:83:59
ether 00:15:f2:38:13:12
inet 87.224.232.119 netmask 0xff00 broadcast 
87.255.255.255

ether 00:80:48:4e:54:42
media: Ethernet autoselect (100baseTX 
full-duplex)

status: active

How do I setup multiple mac addresses?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]