[Xorp-users] How to change loopback interface?

Alejandro Berna alejandro.berna at i2cat.net
Mon May 4 09:57:02 PDT 2009


Hi, I am trying to configure OSPF changing the loopback interfaces of my 
XORP routers. I have not found how to do with Xorpsh therefore I have 
done with ifconfig linux command. But when I try to run my config.boot 
file with the OSPF configuration it fails because XORP still thinks that 
the loopback address is 127.0.0.1, here is the trace of the error:

# xorp_rtrmgr

[ 2009/05/04 17:53:43 ERROR xorp_rtrmgr:5389 LIBCOMM +312 comm_sock.c 
comm_sock_bind4 ] Error binding socket (family = 2, my_addr = 127.0.0.1, 
my_port = 19999): Cannot assing requested address
[ 2009/05/04 17.53.43 ERROR xorp_rtrmgr:5389 RTRMGR +243 main_rtrmgr.cc 
run ] Cannot assign requested address: a finder may already be running.

Here is my config file is:

interfaces {
    interface eth1 {
    vif eth1 {
        address 10.129.0.3 {
        prefix-length: 24
        }
    }
    }
   }

fea {
    unicast-forwarding4 {
    disable: false
    }
}

protocols {
    ospf4 {
    router-id: 192.168.0.1

    area 0.0.0.1 {


        interface eth1 {
            vif eth1 {
            address 10.129.0.3 {

            }
        }
        }
    }
}
}

When I again put with ifconfig the loopback to 127.0.0.1 it doesn't 
fail. I want to define my loopback address as the router-id, 
192.168.0.1, how can I change the property my address? And how can I 
change the loopback address with XORP? Thanks for everything,

                      Alejandro Berna



More information about the Xorp-users mailing list