LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-13-2002, 10:52 AM   #1
robinhood1995
Member
 
Registered: Jan 2002
Location: Ohio
Distribution: CentOS 5.2
Posts: 52

Rep: Reputation: 15
ARP Problem w/subnet


Hi Gang,

RH7.2

I am having problem to setup a arp for antoher subnet mask.

Here is the route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 172.16.1.1 0.0.0.0 UG 0 0 0 eth0

here is the hosts file entry
172.16.40.186 HW10

I tried a
arp -s 172.16.40.186 00:20:4A:64:77:9B
SIOCSARP: Network is unreachable

What am I missing.

Thanks
 
Old 05-13-2002, 02:35 PM   #2
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Hi..

U can not put static MAC entry for other subnet. by default it will forward all the packets other than ur subnet to ur gateway. U can put arp static entry for ur local subnet.


Siddiqu.T

 
Old 05-13-2002, 03:02 PM   #3
robinhood1995
Member
 
Registered: Jan 2002
Location: Ohio
Distribution: CentOS 5.2
Posts: 52

Original Poster
Rep: Reputation: 15
Hello,

Do you mean I can't do anything about it even if the subnet is a a class B?

Thanks
 
Old 05-13-2002, 09:02 PM   #4
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Hi..

In general only we can add arp static entry for local subnet(ie connected subnets). ohters we cant. In your routing table u have only one network.

Siddiqu.T
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange ARP behavior : A linux server responds to all ARP requests Hdvd21 Linux - Networking 4 10-24-2013 05:02 AM
How to solve ARP Problem--------------- pal Linux - Networking 0 06-11-2005 09:05 AM
Disabling ARP probes after receiving an ARP request AltecLansingMan Linux - Networking 1 03-30-2004 01:25 PM
How to create an proxyarp entry in arp table by using arp command? himalayas Linux - Networking 0 06-04-2003 04:14 AM
Routing problem - arp who-has kodgehopper Linux - Networking 1 01-17-2003 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration