[Xorp-users] Configuration Issue with pseudo interfaces

David Bond david.bond at themis.com
Mon Mar 17 09:13:33 PDT 2008


By using the default-system-config command, I was able to get xorp up and running. It picks up all of the pseudo interfaces that are defined prior to xorp being started. I have more testing to do but it looks good so far.

Thanks,

David
----- Original Message -----
From: "Pavlin Radoslavov" <pavlin at ICSI.Berkeley.EDU>
To: "David Bond" <david.bond at themis.com>
Cc: "xorp-users" <xorp-users at xorp.org>
Sent: Monday, March 17, 2008 9:08:54 AM (GMT-0800) America/Los_Angeles
Subject: Re: [Xorp-users] Configuration Issue with pseudo interfaces 

David Bond <david.bond at themis.com> wrote:

> I'm trying to configure xorp to use a number of pseudo interfaces. However, when xorp is started, I get the following error:
> 
> bash-2.05b# /usr/local/xorp/bin/xorp_rtrmgr -b /mnt/jffs2/config.boot
> [ 1969/12/31 19:48:03  ERROR xorp_rtrmgr:1400 RTRMGR +330 main_rtrmgr.cc run ] rtrmgr shutting down due to an init error: PARSE ERROR [Config File /mnt/jffs2/config.boot, line 18]: syntax error; Last symbol parsed was "bond0"
> 
> It appears that xorp does not like the syntax bond0:1 for the pseudo interface. Any suggestions, thoughts, or comments.  I am not committed to using pseudo interfaces, but I do need to have the ability to have 2 physical interfaces that can respond to up to 3 different sub-nets, and a total of 5 different IP addresses.

What is the output of the "ip addr" Linux command?
I guess that the "bond0:1" pseudo interface corresponds to an alias
IP address, so you might try to use "bond0" instead.
If you don't want XORP to use some of the IP alias addresses
configured on bond0, then you should explicitly configure only those
IP addresses you want to use.

Regards,
Pavlin

> /* $XORP: xorp/rtrmgr/config.boot.sample,v 1.46 2007/03/12 10:16:05 atanu Exp $
> */
> 
> 
> interfaces {
>     restore-original-config-on-shutdown: false
>     interface bond0 {
>         description: "lab network"
>         disable: false
>         /* default-system-config */
> interfaces {
>     restore-original-config-on-shutdown: false
>     interface bond0 {
>         description: "lab network"
>         disable: false
>         /* default-system-config */
>         vif bond0 {
>             disable: false
>             address 10.250.61.253 {
>                 prefix-length: 24
>                 broadcast: 10.250.61.255
>                 disable: false
>             }
>           }
> ==>           vif bond0:1 {
>                disable: false
>                address 192.168.84.38 {
>                         prefix-length: 24
>                         broadcast: 192.168.84.255
>                         disable: false
>             }
>           }
>         }
> 
> Thank you,
> David
> -- 
> *********************************************************************
> David Bond
> Themis Computer
> 47200 Bayside Parkway
> Fremont, CA 94538
> 
> Telephone: +1-510-252-0870
> Fax: +1-510-490-5529
> *********************************************************************
>                               No matter where you go, there you are
>                                                                             - B. Banzai
> *********************************************************************
> 
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users


-- 
*********************************************************************
David Bond
Themis Computer
47200 Bayside Parkway
Fremont, CA 94538

Telephone: +1-510-252-0870
Fax: +1-510-490-5529
*********************************************************************
                              No matter where you go, there you are
                                                                            - B. Banzai
*********************************************************************



More information about the Xorp-users mailing list