Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Sat Aug 19, 2017 2:44 am


Internet Protocol, Transport Control Protocol, Network protocols, Routing, Routers, IP aliases, Routes, Ethernet

Author Message
mandrei99
Post  Post subject: How to add (persistent) static ARP entries in Linux  |  Posted: Mon Sep 29, 2014 5:17 am

Joined: Tue Aug 04, 2009 9:16 am
Posts: 245

Offline
 

How to add (persistent) static ARP entries in Linux

A MAC (or physical - depending on context) address is the layer 2 address of the network interface card on an ethernet network. It is used by routers/switches to move frames in the same layer 2 network segment.

ARP is the protocol that maps a physicall address to an IP adddress. This is either dynamic (request & reply) or static. In an unsecured environment, it is best to use static mapping (manual defined) specially with the gateway.

Adding a static ARP entry:
Code:
# arp -s 10.0.0.1 00:8b:8a:4c:25:1f


To make the static arp entries persistent after reboot add following line in /etc/ethers file:
Code:
10.0.0.1 00:8b:8a:4c:25:1f


after which "arp -f" command can be ran to make it take effect immediately.





Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "How to add (persistent) static ARP entries in Linux"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Junos: How to add static host mapping (/etc/hosts) in Junos configuration

mandrei99

1

984

Wed Nov 26, 2014 7:22 am

killdill045 View the latest post

There are no new unread posts for this topic. How to add IP alias in Debian Linux to last after reboot

debuser

3

1437

Sat Jul 21, 2012 6:03 am

Harespok View the latest post

There are no new unread posts for this topic. Linux: How to list IPv6 neighbors

mandrei99

0

699

Thu Oct 09, 2014 3:11 am

mandrei99 View the latest post

There are no new unread posts for this topic. Linux How to change hardware MAC address of an interface

debuser

1

884

Tue Dec 06, 2011 6:26 am

Zettie49 View the latest post

There are no new unread posts for this topic. DNS reverse lookup in Windows 7 and Linux using - nslookup

mandrei99

0

2583

Tue Jan 13, 2015 8:31 pm

mandrei99 View the latest post

There are no new unread posts for this topic. How to dump kernel route cache in Linux

mandrei99

0

1580

Mon Jan 12, 2015 11:26 am

mandrei99 View the latest post

There are no new unread posts for this topic. Set up FTP PROXY via command line in Linux/FreeBSD

mandrei99

0

15190

Tue Jan 20, 2015 5:01 pm

mandrei99 View the latest post

There are no new unread posts for this topic. Linux adding and removing vlan tagged interfaces

mandrei99

0

18180

Wed Aug 28, 2013 8:19 am

mandrei99 View the latest post

There are no new unread posts for this topic. Linux tso (tcp segmentation offload) - what it means and how to enable/disable it

mandrei99

0

25526

Fri Jan 16, 2015 5:41 am

mandrei99 View the latest post

There are no new unread posts for this topic. Linux script for interface network bandwidth monitoring

admin

0

1241

Mon Feb 09, 2015 7:05 pm

admin View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO