Sample Router

  • Nobody/Anonymous

    Hi, im rookie in snmp, so imagine programming this. I've been looking into the documentation searching for an example to get the table of one of the router that the pc is connected, but no luck.

    I know the IP of the Router, the subbnet,

    this is my code

  • Nobody/Anonymous

    Dim ipRouter As SnmpSharpNet.IpAddress = New SnmpSharpNet.IpAddress(IPRouter)
    Dim submask As SnmpSharpNet.IpAddress = New SnmpSharpNet.IpAddress(ipRouter.NetworkMask)
    Dim subAddr As SnmpSharpNet.IpAddress = ipaddr.GetSubnetAddress(submask)
    Dim bcastAddr As SnmpSharpNet.IpAddress = ipaddr.GetBroadcastAddress(submask)

    Now how do i get the table or the ip address of the router?


  • Nobody/Anonymous

    Thanks i was trying to get the table from the router.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks