[Xorp-users] Basic Setup Problems

Bruce Simpson bms at incunabulum.net
Thu Jul 16 06:21:13 PDT 2009


Robert,

Sorry for the very brief reply, I am very tied up at the moment.

Robert Appleton wrote:
> interfaces {
>           restore-original-config-on-shutdown: false
>      interface "eth0" {
>                disable: false
>           address 192.168.1.1 {
>                prefix-length: 24
>                broadcast: 192.168.1.255
>                disable: false
>           }
>      }
>
>      interface "eth0" {
>                disable: false
>           address 192.168.2.1 {
>                prefix-length: 24
>                broadcast: 192.168.1.255
>                disable: false
>           }
>   
 ^^^ usually address {} blocks for the same interface are grouped in the 
same interface {} block;
you are missing a vif eth0 {} inner scope.


>      }
>   



> }
>
> fea {
>      unicast-forwarding4 {
>           disable: false
>      }
> }
>
> protocols {
>      static {
>           route 192.168.2.1/24 {
>   
                                  ^^^^ the .1 here will be masked off by 
the /24 -- and ignored
>                next-hop: 192.168.2.120
>           }
>
>           route 192.168.1.1/24 {
>   
                                  ^^^^ the .1 here will be masked off by 
the /24 -- and ignored
>                next-hop: 192.168.1.110
>           }
>   

  ^^ both these route prefixes will already be covered by the interface 
routes in your interfaces {} block.

The static {} block above looks unnecessary. If you delete it, what happens?



More information about the Xorp-users mailing list