Re: IP redirection
"dan anderson" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
> Or just pull the freakin' cable! Hard to pull a cable in vmware. ;-) > Alternatively, use IP aliasing and mess with a network that doesn't have anything connected to it, like (not tested): > > $ ifconfig eth0:0 1172.16.1.27 netmask 255.255.255.0 # linkUp > $ ifconfig eth0:0 down # linkDown > $ ifconfig eth0:0 up # linkUp I'll give those a shot, thanks! > Or you could just use snmpcmd and have absolute control over the trap contents. What's wrong with absolute control? Oh, I have absolute control over the trap contents, from inside my own code, where they're being sent from. What I don't have control of is the system that lets me know when ports have gone up or down (no, I can't use the same methods that the daemon as is does, long story), so to make sure I'm firing those traps correctly I need to make a vm think that it's network hardware was crossed with a rubber ball (up, down, up down...). Like I originally said, only somewhat related. ;-) Thanks, Ron and Mike. -D ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users