Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do i add an ip to the arp table ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
burken
n00b
n00b


Joined: 17 Sep 2005
Posts: 1

PostPosted: Sat Sep 17, 2005 11:08 am    Post subject: how do i add an ip to the arp table ? Reply with quote

I want to add a ip to the arp table ,

What should i type in the console to make this happend ?


Im a totally newbie to gentoo , so spare with me

I want to add 83.226.36.*.* to it.
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sat Sep 17, 2005 12:31 pm    Post subject: Reply with quote

Code:
arp -s ip.address.goes.here et:he:rn:et:hw:addr
For example, assuming you want to add the 83.226.36.44 with the Ethernet hardware address 00:01:02:03:04:05, it'd be
Code:
arp -s 83.226.36.44 00:01:02:03:04:05
You can only do that if you already have a route to the address of the network that contains the desired IP address, of course.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum