Help - Search - Members - Calendar
Full Version: ARP
ieXbeta Board > Tech > Internet Cafe & Networking Corner
XP_2600
When i add a static route using ARP command -s its still show the record as dynamic, what is the problem here ?
Phonics Monkey
What is it you are trying to do?
XP_2600
Well someone at my home network, using net cut which change the gateway, so i want to put a static route to my router to avoid that, i ran this command:
arp -s 192.168.1.1 00-14-7c-bc-ba-a7
but when i run arp -a i still see this entry as dynamic.
Phonics Monkey
QUOTE(XP_2600 @ Jun 22 2007, 07:19) *

Well someone at my home network, using net cut which change the gateway


Not sure what you mean here ... can you rephrase?

QUOTE
, so i want to put a static route to my router to avoid that,


Your "Router" is a Windows box?

QUOTE
i ran this command:
arp -s 192.168.1.1 00-14-7c-bc-ba-a7
but when i run arp -a i still see this entry as dynamic.


ARP ((MAC) Address Resolution Protocol) isn't for that, You need (unless I'm missing the question) to be using the Route Add command to permanently redirect access to network X out through a given interface.

Our office network is 192.168.5.0 If I wan to (single hop) access something on another network (Sandboxed in my lab as 192.168.111.0) via my workstation, I can either multihome it or add a static route (Using the Route Add command) to my workstation (192.168.5.95) that directs all traffic going to 192.168.111.x to go out through the 192.168.5.95 interface instead of (by default) throwing it at the (burder router) default gateway.

Does that sound like what you're after?

DangerousDave86
I have an odd internet set-up at home. I have PC1->PC2->Router. Now, the middle PC runs a proxy, for the second PC (Not ICS though, as 192.168.0.1 is taken - and while I could 'get it back' it would upset things out of my control). So could I add some sort of route to the middle box that allows it to forward requests to the router?
If I set PC1s gateway to that of the router, what route would I need to add to PC2 to get it to actually go to the router, and stop all the proxy nonsense.
Phonics Monkey
Um... Can you read your question and then explain it to me...
QUOTE(DangerousDave86 @ Jun 23 2007, 11:36) *

I have an odd internet set-up at home. I have PC1->PC2->Router.


I'm assomeing there is a reason for this configuration existing in the first place ... What is/was it.

QUOTE
Now, the middle PC runs a proxy, for the second PC (Not ICS though, as 192.168.0.1 is taken - and while I could 'get it back' it would upset things out of my control).


Okay... If not ICS then what (This ties into the above's "Why are we "here"" question). Also 192.168.0.1 is takes by...? and what other networks are involved.

QUOTE
So could I add some sort of route to the middle box that allows it to forward requests to the router?


blink.gif ...If it's acting as a proxy for PC1 ... It kinda has to already have access to the (DGW) router. Giving it 2 paths to the (DGW) router would cause a conflict.

QUOTE
If I set PC1s gateway to that of the router, what route would I need to add to PC2 to get it to actually go to the router, and stop all the proxy nonsense.


Um... Fill in the blanks.

PC1 = IP____ <-> ___IP <-PC2-> IP___ <-> ___IP <-Router-> IP___(Internet...?

DangerousDave86
I just bridged the connections and PC1 can now get DHCP from Router, don't know why I never did that before.... But it works now

Thanks for the response though Phonics!
XP_2600
Phonics Monkey, if you didn't hear about net cut, its a little program used to make your network members loose there internet connectivity and thats by changing the MAC Address of the Router which is saved in Windows cache and i fix it by simply running arp -d and then let windows resolve the mac address once more for the gateway so its get it right, but when this program run again it happen again and so on, you should try to read about net cut, cause it could be a nasty thing in any network.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.