cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
304
Views
5
Helpful
3
Replies
Highlighted
Beginner

CSR1000v on Azure HA構成のデフォルトルートについて

お世話になります。

下記記事を参考に、Azure上にCSR1000vをHA2台構成で構築しています。

<https://www.cisco.com/c/en/us/td/docs/routers/csr1000/software/azu/b_csr1000config-azure/b_csr1000config-azure_chapter_01001.html>

 

記事ではVRF:GSのデフォルトルートをグローバルルーティングテーブルに広告しています。

>Configuring IOX and the Guestshell on Cisco IOS XE

...

>ip route vrf GS 0.0.0.0 0.0.0.0 GigabitEthernet1 192.168.35.1 global

グローバルルーティングテーブルに上記ルートとは別に静的デフォルトルートを定義したいのですが(別インタフェースをネクストホップとしたい)

~globalのオプションは必須となるものでしょうか?

 

VRF:GSとグローバルそれぞれでデフォルトルートを持っていれば問題ないと考えますが

アドバイス頂けますと幸いです。

 

宜しくお願いいたします。

 

3 REPLIES 3
Highlighted
Beginner

Re: CSR1000v on Azure HA構成のデフォルトルートについて

Rewrite in English.

 

Referring to the following article, I am building CSR1000v on Azure with two HAs.

<https://www.cisco.com/c/en/us/td/docs/routers/csr1000/software/azu/b_csr1000config-azure/b_csr1000config-azure_chapter_01001.html>

 

According to the article, VRF: GS advertises a default route to the global routing table.

>Configuring IOX and the Guestshell on Cisco IOS XE

...

>ip route vrf GS 0.0.0.0 0.0.0.0 GigabitEthernet1 192.168.35.1 global

I want to define a static default route in the global routing table apart from the above default route (I want to use another interface as the next hop).

Is the ~global option mandatory?

 

I think it's ok if VRF:GS and VRF:Global have a default route.

I would appreciate any advice.

 

Thank you.

Highlighted
Beginner

Re: CSR1000v on Azure HA構成のデフォルトルートについて

The VRF GS NAT’s into the global route table on Gig1 thus the “ip nat outside” on gig 1.

And the line

ip nat inside source list GS_NAT_ACL interface GigabitEthernet1 vrf GS overload

so if you want to hit the internet you need to define the default route on gig 1 which is by default in the global route table.

Also I have found as recommended by Azure using DHCP assigned IP addresses doesn’t set the default route.

You need to set the default route to your azure subnet which is the first ip on the subnet attached to gig 1.
Highlighted
Beginner

Re: CSR1000v on Azure HA構成のデフォルトルートについて

Mr calloes

Thank you for your reply.

 

For example,Is it possible to rewrite as below?

 

>ip route vrf GS 0.0.0.0 0.0.0.0 GigabitEthernet1 192.168.35.1 global

>ip route vrf GS 0.0.0.0 0.0.0.0 GigabitEthernet1 192.168.35.1

>ip route 0.0.0.0 0.0.0.0 GigabitEthernet2 x.x.x.x

 

I understand that VRF:GS's traffic needs for the NAT ,

and I want VRF:GS's traffic to route to gig1, and vrf:global's traffic to route to gig2.