[quagga-users 14429] set ip not applied

Alarig Le Lay alarig at swordarmor.fr
Mon Sep 12 21:24:51 BST 2016


My main aim is to advertise a different next-hop in an OSPF setup. I
tried to use a route-map to achieve that, but my set ip command is not
applied (at last, I don’t see it in the running-config)

judicael# configure terminal 
judicael(config)# route-map PUBLIC-NEXT-HOP permit 1
judicael(config-route-map)# match ip address all
judicael(config-route-map)# set ip next-hop
judicael(config-route-map)# end
judicael# show running-config 
Building configuration...

Current configuration:
! […]
router ospf
 ospf router-id
 redistribute kernel
 redistribute connected
 redistribute static
 passive-interface eth0
 passive-interface eth1
 passive-interface ppp0
 passive-interface tun-tcp0
 passive-interface tun-udp0
 network area
 network area
 area range
route-map PUBLIC-NEXT-HOP permit 1
 match ip address all
! […]

I tried to apply the distribute-list anyway, but nothing append.
judicael# configure terminal 
judicael(config)# router ospf
judicael(config-router)# distribute-list PUBLIC-NEXT-HOP out kernel

bird> show ospf neighbors 
Router ID       Pri          State      DTime   Interface  Router IP    1     Full/DR         00:34   em2.41     90     Full/Other      00:33   em2.41    

Obviously, is on the interface of the machine that I want
the traffic to come from.
root at judicael:~# ip addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether de:61:2c:0e:b9:bc brd ff:ff:ff:ff:ff:ff
    inet brd scope global eth0
       valid_lft forever preferred_lft forever
    inet6 2a00:5884::3/48 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::dc61:2cff:fe0e:b9bc/64 scope link 
       valid_lft forever preferred_lft forever

I tried this on both fedora and debian, respectively on a and a

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.quagga.net/pipermail/quagga-users/attachments/20160912/92284d30/attachment.sig>

More information about the Quagga-users mailing list