R: Re: [Xorp-users] Is there a way to switch the e_bit value to 1?

Atanu Ghosh atanu@ICSI.Berkeley.EDU
Fri, 25 Nov 2005 10:39:44 -0800


Hi,

I think there has been some confusion here, I thought that you were
asking about the E-bit in an AS-External-LSA, not the E-bit in the
options field.

The E-bit in the options field is unconditionally set if the area is a
normal area i.e. not stub or nssa.

I just ran the same experiment that you did and ethereal shows me that
the E-bit is set.

Network LSA (Type: 2)
    LS Age: 1 seconds
    Options: 0x2 (E)
    LSA Type: 2 (Network LSA)
    Link State ID: 10.0.1.1
    Advertising Router: 0.0.0.20
    LS Sequence Number: 0x80000001
    LS Checksum: 16fe
    Length: 32
    Netmask: 255.255.0.0
    Attached Router: 10.0.1.6
    Attached Router: 0.0.0.20

Also from within the xorpsh:

Xorp> show ospf4 database network detail 
   OSPF link state database, Area 0.0.0.0
   OSPF link state database, Area 0.0.0.1
Network-LSA:
LS age  172 Options  0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x2 Link State ID 10.0.1.1 Advertising Router 0.0.0.20 LS sequence number 0x80000001 LS checksum 0x16fe length 32
        Network Mask 0xffff0000
        Attached Router 10.0.1.6
        Attached Router 0.0.0.20

Atanu.

>>>>> "riccardo" == riccardo  <riccardo.sciaccaluga@tin.it> writes:

    riccardo> HI I updated my Xorp version at the latest CVS and i added
    riccardo> to my config file the code lines you sent to me too; Next
    riccardo> i set up an ospf session between two Xorp router and i
    riccardo> sniffed the traffic in between but the option field of
    riccardo> network LSAs was still 0.  Checking by xorp bash command
    riccardo> :"show policy policy-statement static term export then
    riccardo> ebit" on configuration mode, i saw that ebit is 1 but it
    riccardo> doesn't seem to have any effect on the real packet sent
    riccardo> over the network.
 
    riccardo> ----Messaggio originale---- Da: atanu@ICSI.Berkeley.EDU
    riccardo> Data: 24-nov-2005 7.20 PM A:
    riccardo> "riccardo.sciaccaluga@tin.it"<riccardo.sciaccaluga@tin.it>
    riccardo> Cc: <xorp- users@xorp.org> Ogg: Re: [Xorp-users] Is there
    riccardo> a way to switch the e_bit value to 1?

    riccardo> The way to set the E bit value is in an export policy
    riccardo> statement:

    riccardo> policy { policy-statement static { term export { from {
    riccardo> protocol: "static" } then { ebit: true /* true for type 2
    riccardo> , false for type 1 */ } } } }

    riccardo> protocols { ospf4 { export "static" ...

    riccardo> The default setting for the E bit value was changed from 0
    riccardo> to 1 earlier this week.  <http://www.xorp.
    riccardo> org/bugzilla/show_bug.cgi?id=368>

    riccardo> 	Atanu.

>>>>> "riccardo" == 
    riccardo> riccardo <riccardo.sciaccaluga@tin.it> writes:

    riccardo> Thanks mike for the config file you sent to me.  Does
    riccardo> anybody know how to change the e_bit value on xorp?  i
    riccardo> mean it doesn't seem possible by xorp shell but is there a
    riccardo> 
    riccardo> specific part of the source code to be modified to change
    riccardo> 
    riccardo> that value to 1?  Thanks so much

    riccardo>  _______________________________________________
    riccardo> Xorp-users
    
    riccardo> mailing list Xorp-users@xorp.org http://mailman.
    riccardo> ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
    riccardo> _______________________________________________ Xorp-users
    riccardo> mailing list Xorp-users@xorp.org
    riccardo> http://mailman.ICSI.Berkeley.
    riccardo> EDU/mailman/listinfo/xorp-users