cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1920
Views
0
Helpful
1
Replies

Bond IP to Mac address

nakama2015
Beginner
Beginner

 

Protocol Address          Age (min) Hardware Addr      Type Interface

Internet  155.237.221.37          0 0080.a3d0.c298     ARPA Vlan2

 

 

Hi,

Few months ago I did request an IP to be assigned to a device to monitor and control room temperature at one of our Server Rooms. I had to provide its mac address as well

This might sound like a stupid question: How do you statically assign it? The task was completed by one of our senior LAN engineers (busy guy…I wish he had the time to explain to me)

 

When i run the show ip 155.237.221.37 i get it connected to interface VLAN2. in order to find the physical interface i issued the show mac address-table address 155.237.221.37 command and from there, issued the show cdp neighbors to find out which switch it connects to (WS-C2960)

 

 

Output from our Router 

ip dhcp pool MAPBIN

network 155.237.221.0 255.255.255.128

default-router 155.237.221.1

domain-name yyy.xxxl.com

dns-server 10.193.8.53 155.237.252.24

lease 0 8

 

interface Vlan2

ip address 155.237.221.1 255.255.255.128

no ip redirects

no ip unreachables

no ip proxy-arp

end

The actual settings for the Temperature monitor device are:

IP:155.237.221.37

Mask: 255.255.255.128

GW: 155.237.221.1 

I could see the default router points to interface VLAN 2 IP address

My assumption is: all devices connected to ports that are member of VLAN 2 will get their IPs from MAPBIN pool

 

Bottom line is: how do i bond this IP to the given Mac address 00080.a3d0.c298? 

 

1 Reply 1

paul driver
VIP Expert VIP Expert
VIP Expert

Hello


@nakama2015 wrote:

 

Protocol Address          Age (min) Hardware Addr      Type Interface

Internet  155.237.221.37          0 0080.a3d0.c298     ARPA Vlan2

 

line is: how do i bond this IP to the given Mac address 00080.a3d0.c298? 

 


Example:

ip dhcp pool static-host
host 155.237.221.37 255.255.255.0
client-identifier 0100.80a3.d0c2.98   ( 01 extension added to mac add of client)
default-router 155.237.221.1
domain-name yyy.xxxl.com
dns-server 10.193.8.53 155.237.252.24
lease 0 8

 

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers