[Xorp-hackers] multiple instances on one machine

Yuval Lifshitz yuvalif at gmail.com
Wed Aug 1 01:44:12 PDT 2007


Hi all,
I'm trying to run multiple instances of xorp on the same machine.
The machine has two different IPs - 172.16.1.141 and 172.16.1.142.
I run into problems regarding the internal communication on the machine.
When I tried to use the -i command line flag, I got:
# ./xorp_rtrmgr -i 172.16.1.141 ../config.boot1
172.16.1.141 is not the address of an active interface.

although it is defined on the interface:
eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:0d:60:1c:40:06 brd ff:ff:ff:ff:ff:ff
    inet 172.16.0.109/20 brd 172.16.15.255 scope global eth0
    inet 172.16.1.141/20 brd 172.16.15.255 scope global secondary eth0:1
    inet 172.16.1.142/20 brd 172.16.15.255 scope global secondary eth0:2

and in the config.boot1 file:

interfaces {
    restore-original-config-on-shutdown: false
    interface eth0 {
        description: "data interface"
        disable: false
        /* default-system-config */
        vif eth0 {
            disable: false
            address 172.16.1.141 {
                prefix-length: 20
                broadcast: 172.16.15.255
                disable: false
            }
        }
    }
}

Then, I tried to use the XORP_FINDER_SERVER_ADDRESS env variable:
# export XORP_FINDER_SERVER_ADDRESS="172.16.1.141"
# ./xorp_rtrmgr ../config.boot1

and got:

Unexpected exception:   thrown did not correspond to specification - fix
code.
InvalidAddress from line 292 of ../../libxipc/finder_tcp.cc -> Not a
configured IPv4 address


BTW, when using two ports, it is working fine.

regards,

Yuval.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20070801/2a7d3d78/attachment.html 


More information about the Xorp-hackers mailing list