Re: Changing the route/routing table

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



However, reading the help some more, I might be wrong about that. Take a
look at the page titled "Routing for IPv4". Have fun!

Paul T.

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:OHvpMUFBHHA.3620@xxxxxxxxxxxxxxxxxxxxxxx
I don't program much for Windows Mobile; I have a device, but that's about
it. I'd be surprised if changing the routing table didn't work, though.

However, the routing table will not do what you're trying to do. You
can't make a Windows Mobile device, or any other device, into a router, by
adding routing table entries. You actually have to have packet routing
support in the device and I'm fairly confident that WM devices won't have
that.

Paul T.

"cyberco" <cyberco@xxxxxxxxx> wrote in message
news:1163112768.909591.66410@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I want to route IP traffic arriving on one interface to another
interface.

CreateIpForwardEntry() exists in the Iphlpapi, but I can't find any
online proof that it will work on Windows Mobile. Do you know whether
it works?

Paul G. Tobey [eMVP] wrote:
What are you trying to accomplish (as opposed to how you want to do it)?

GetIpForwardTable()
CreateIpForwardEntry()
etc.
would be the API calls for doing this sort of thing. Obviously, you'll
have
to P/Invoke them from C#.

Paul T.





.



Relevant Pages

  • Re: Changing the route/routing table
    ... I don't program much for Windows Mobile; I have a device, ... I'd be surprised if changing the routing table didn't work, ... CreateIpForwardEntry() exists in the Iphlpapi, ... Paul G. Tobey wrote: ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]
    ... 32 bit UP test coming up with new cpu and I'm installing dragonfly sometime this weekend:] UP: 1mpps in one direction with no firewall/no routing table is not too bad, but 1mpps both directions is the goal here 700kpps with full bgp table in one direction is not too bad Ipfw needs a lot of work, barely gets 500kpps with no routing table with a few ipfw rules loaded.. ... Paul / Ingo, ... A few questions/remarks: ... Did you try freebsd4 as well? ...
    (freebsd-net)
  • Re: Odd Routes?
    ... Paul wrote: ... > Over the past 12 hours I have noticed entries like this appear in my routing ... This has happened thre times ... Server admin, support, programming for shared & dedicated web servers ...
    (comp.os.linux.security)
  • Re: Odd Routes?
    ... > Paul wrote: ... >> I have no idea what this is, how it got into the routing table, and the ... > Are you running any tools like Portsentry? ... Yes, I am running PortSentry. ...
    (comp.os.linux.security)
  • Re: NSView & messages
    ... paul wrote: ... NSApplication is responsible for routing the events to the correct windows, and NSWindow is responsible for routing the events to the correct place within the window. ...
    (comp.sys.mac.programmer.help)