[ixpmanager] Changing IP address for an existing switch in the database

Barry O'Donovan barry.odonovan at inex.ie
Tue Apr 21 10:35:20 IST 2015


Hi Andy,

> I've got some switches referenced in a test version of IXP Manager. I
> needed to change the IP address and now I can't access them via SNMP.
>
> There was an IP entry for the switches in the switch table and I changed
> those. Now I see:

Historically we've always had a switch hostname, ipv4 address and ipv6 
address. There's some inconsistency on how / when each is used. Our plan 
is (probably) to lose the addresses and use only the hostname.

The SNMP functions you're referencing below use the hostname I believe 
and not the v4/6 addresses.

  - Barry


> root at manager-grp1:/usr/local/ixp/bin# ./ixptool.php -vd -a
> switch-cli.snmp-poll
> Polling sw1-grp1 with SNMP request to sw1-grp1.ixp.nsrc.org
> <http://sw1-grp1.ixp.nsrc.org>
> ERROR: OSS_SNMP exception polling ports for sw1-grp1 by SNMP
> Polling sw2-grp1 with SNMP request to sw2-grp1.ixp.nsrc.org
> <http://sw2-grp1.ixp.nsrc.org>
> ERROR: OSS_SNMP exception polling ports for sw2-grp1 by SNMP
> Polling sw3-grp1 with SNMP request to sw3-grp1.ixp.nsrc.org
> <http://sw3-grp1.ixp.nsrc.org>
> ERROR: OSS_SNMP exception polling ports for sw3-grp1 by SNMP
>
> in the same directory, same user etc, I see:
>
> root at manager-grp1:/usr/local/ixp/bin# snmpstatus -v2c -c xxxxxxxx
> sw1-grp1.ixp.nsrc.org <http://sw1-grp1.ixp.nsrc.org>
> [UDP: [172.21.30.1]:161->[0.0.0.0]:54584]=>[Cisco IOS Software, 3700
> Software (C3745-ADVIPSERVICESK9-M), Version 12.4(15)T15, RELEASE
> SOFTWARE (fc3)
> Technical Support: http://www.cisco.com/techsupport
> Copyright (c) 1986-2011 by Cisco Systems, Inc.
> Compiled Tue 08-Mar-11 09:11 by prod_rel_team] Up: 1:52:04.43
> Interfaces: 20, Recv/Trans packets: 4460/1378 | IP: 420/419
> 13 interfaces are down!
>
> If look with tcpdump then no polling happens using the ixptool  above.
> Do I just have to start again?
>
> And no I'm not really using a 3745 to run an exchange - it's a teaching
> setup in Dynamips.
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
>

-- 

Kind regards,
Barry O'Donovan
INEX Operations

Mob: +353 86 801 7669
Tel: +353  1 685 4220

+-------------------------------+-------------------------------------+
| Open Source Solutions Ltd.    | INEX Operations Team                |
| 7th Floor, North Block,       | Internet Neutral Exchange           |
| Rockfield Central,            | Association, 4027 Kingswood Road,   |
| Dundrum, Dublin 16.           | Citywest Business Campus, Dublin 24 |
| http://www.opensolutions.ie/  | http://www.inex.ie/                 |
+-------------------------------+-------------------------------------+


More information about the ixpmanager mailing list