Absinthe Posted March 25, 2015 Posted March 25, 2015 Ребят, есть route-map на циске, выглядит вот так: interface GigabitEthernet0/0.2500 encapsulation dot1Q 2500 ip address 3.3.5.5 255.255.255.252 ip flow ingress ip flow egress ip policy route-map test no cdp enable ip access-list extended test permit ip host 2.2.3.2 any permit ip host 3.3.5.6 any route-map test permit 10 match ip address test set ip next-hop 1.2.3.2 Все работает, как нужно... Пытаюсь реализовать тоже самое на juniper mx80: run show configuration routing-instances test { instance-type forwarding; routing-options { static { route 0.0.0.0/0 next-hop 6.5.2.2; } } } run show configuration firewall family inet { filter test { term test { from { source-address { 9.8.4.6/32; 7.6.9.2/32; } } then { routing-instance test; } } term default { then accept; } run show configuration interfaces ge-0/0/2 unit 2500 vlan-id 2500; family inet { filter { input test; } sampling { input; output; } address 9.8.4.5/30; } Не работает. Намекните, где косяк.. Вставить ник Quote
rdntw Posted March 25, 2015 Posted March 25, 2015 Не работает. Намекните, где косяк.. RIB-Group? Вставить ник Quote
myst Posted March 25, 2015 Posted March 25, 2015 Косяк в том, что Можжевельник не умеет set next-hop IP. Вообще. Никак. Это делается через rib-group (routing-instance) Если говорить по простому, в качестве next-hop в джунипере можно указать исключительно vrf в котором будут уже какие-то статик роуты. Вставить ник Quote
Absinthe Posted March 25, 2015 Author Posted March 25, 2015 Спасибо. С rib-group действительно все поперло.. Вставить ник Quote
dmvy Posted March 25, 2015 Posted March 25, 2015 В мануале Juniper почему-то упущено про настройку RIB-groups. Смотрите статью: http://subnets.ru/blog/?p=2022 Вставить ник Quote
myst Posted March 25, 2015 Posted March 25, 2015 В мануале Juniper почему-то упущено про настройку RIB-groups. Смотрите статью: http://subnets.ru/blog/?p=2022 В KB по джуниперу подробнейшим образом все это расписано. Вставить ник Quote
s.lobanov Posted March 25, 2015 Posted March 25, 2015 В мануале Juniper почему-то упущено про настройку RIB-groups. Смотрите статью: http://subnets.ru/blog/?p=2022 В учебниках Juniper всё подробно расписано, вроде бы в JNCIS-SP study guide, может быть даже в JNCIA study guide Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.