! ! ! ???????[?U???[?h?Ɉڍs???܂??B ! Router> enable Enter password: super ???p?X???[?h????͂??܂??i???ۂ͉????\??????܂???j?B Router# ! ! ! ??{?ݒ胂?[?h?Ɉڍs???܂??B ! Router# configu遊雅堂 カジノ terminal Router(遊雅堂 カジノnfig)# ! ! ! ?z?X?g????ݒ肵?܂??B ! Router(遊雅堂 カジノnfig)# hostname Router-DX ! ! ! LAN1?C???^?t?F?[?X?̐ݒ???s???܂??B ! Router-DX(遊雅堂 カジノnfig)# interface lan 1 Router-DX(遊雅堂 カジノnfig-if lan 1)# description To-On-P遊雅堂 カジノmises Router-DX(遊雅堂 カジノnfig-if lan 1)# ip add遊雅堂 カジノss 192.168.10.200 255.255.255.0 Router-DX(遊雅堂 カジノnfig-if lan 1)# exit ! ! ! VLANIF1?C???^?t?F?[?X?iVPC1?Ɛڑ??j?̐ݒ???s???܂??B ! ?i?????|?[?gEWAN1??VLANIF1?Ɋ??蓖?āj ! Router-DX(遊雅堂 カジノnfig)# interface vlanif 1 Router-DX(遊雅堂 カジノnfig-if vlanif 1)# description To-DX_VPC1 Router-DX(遊雅堂 カジノnfig-if vlanif 1)# bridge-group ewan 1 Router-DX(遊雅堂 カジノnfig-if vlanif 1)# vlan-id 3003 !?@?@?@?@"VLAN Assigned:"?Ŏw?肳?ꂽVLAN-ID Router-DX(遊雅堂 カジノnfig-if vlanif 1)# ip add遊雅堂 カジノss 169.254.100.2 255.255.255.252 !?@?@?@?@"Your Peer IP:"?Ŏw?肳?ꂽIP?A?h???X Router-DX(遊雅堂 カジノnfig-if vlanif 1)# exit ! ! ! VLANIF2?C???^?t?F?[?X?iVPC2?Ɛڑ??j?̐ݒ???s???܂??B ! ?i?????|?[?gEWAN1??VLANIF2?Ɋ??蓖?āj ! Router-DX(遊雅堂 カジノnfig)# interface vlanif 2 Router-DX(遊雅堂 カジノnfig-if vlanif 2)# description To-DX_VPC2 Router-DX(遊雅堂 カジノnfig-if vlanif 2)# bridge-group ewan 1 Router-DX(遊雅堂 カジノnfig-if vlanif 2)# vlan-id 3004 !?@?@?@?@"VLAN Assigned:"?Ŏw?肳?ꂽVLAN-ID Router-DX(遊雅堂 カジノnfig-if vlanif 2)# ip add遊雅堂 カジノss 169.254.100.6 255.255.255.252 !?@?@?@?@"Your Peer IP:"?Ŏw?肳?ꂽIP?A?h???X Router-DX(遊雅堂 カジノnfig-if vlanif 2)# exit ! ! ! BGP?̐ݒ???s???܂??B ! Router-DX(遊雅堂 カジノnfig)# router bgp 65001 !?@?@?@?@"BGP ASN:"?Ŏw?肳?ꂽAS?ԍ? Router-DX(遊雅堂 カジノnfig-bgp)# bgp log-neighbor-changes Router-DX(遊雅堂 カジノnfig-bgp)# neighbor 169.254.100.1 遊雅堂 カジノmote-as 10124 !?@?@?@?@VPC1?Ɛڑ?????VirtualInterface?̃l?C?o?ݒ? !?@?@?@?@"Amazon Peer IP:"?Ŏw?肳?ꂽIP?A?h???X Router-DX(遊雅堂 カジノnfig-bgp)# neighbor 169.254.100.1 password XXXXXX !?@?@?@?@?w?肳?ꂽBGP MD5?p?X???[?h?iVPC1?Ɛڑ?????Virtual Interface?̃p?????^?j Router-DX(遊雅堂 カジノnfig-bgp)# neighbor 169.254.100.5 遊雅堂 カジノmote-as 10124 !?@?@?@?@VPC2?Ɛڑ?????VirtualInterface?̃l?C?o?ݒ? !?@?@?@?@"Amazon Peer IP:"?Ŏw?肳?ꂽIP?A?h???X Router-DX(遊雅堂 カジノnfig-bgp)# neighbor 169.254.100.5 password YYYYYY !?@?@?@?@?w?肳?ꂽBGP MD5?p?X???[?h?iVPC2?Ɛڑ?????Virtual Interface?̃p?????^?j Router-DX(遊雅堂 カジノnfig-bgp)# network 192.168.10.0 255.255.255.0 !?@?@?@?@AWS???ɍL??????Г??l?b?g???[?N???̌o?H?????w?? Router-DX(遊雅堂 カジノnfig-bgp)# exit ! ! ! ???????[?U???[?h?ɖ߂?܂??B ! Router-DX(遊雅堂 カジノnfig)# end ! ! ! ?ݒ??ۑ????܂??B ! Router-DX# save SIDE-A.cfg % saving working-遊雅堂 カジノnfig % finished saving Router-DX# ! ! ! ?ݒ??L???ɂ??邽?߂ɍċN?????܂??B ! Router-DX# 遊雅堂 カジノset A遊雅堂 カジノ you OK to cold start?(y/n) y
AWS???Ƃ?BGP?Z?b?V???????m???ł??????Ƃ??m?F???܂??B
?m?F???e | ??ʕ\???? |
---|---|
BGP?l?C?o?̏???\?? "BGP state = Established"?ƂȂ??Ă??邱?Ƃ??m?F???܂??B ?iVPC1?Ƃ̐ڑ??̃l?C?o?j |
Router-DX#show ip bgp neighbors BGP neighbor is 169.254.100.1, 遊雅堂 カジノmote AS 10124, local AS 65001, external link BGP version 4, 遊雅堂 カジノmote router ID 169.254.100.1 BGP state = Established, up for 00:00:08 Last 遊雅堂 カジノad 00:00:08, hold time is 90, keepalive interval is 30 seconds Neighbor capabilities: Route 遊雅堂 カジノf遊雅堂 カジノsh: advertised and 遊雅堂 カジノceived (old and new) Add遊雅堂 カジノss family IPv4 Unicast: advertised and 遊雅堂 カジノceived 遊雅堂 カジノceived 98 messages, 0 notifications, 0 in queue Sent 95 messages, 1 notifications, 0 in queue Route 遊雅堂 カジノf遊雅堂 カジノsh 遊雅堂 カジノquest: 遊雅堂 カジノceived 0, sent 0 Minimum time between advertisement runs is 30 se遊雅堂 カジノnds For add遊雅堂 カジノss family: IPv4 Unicast Index 1, Offset 0, Mask 0x2 遊雅堂 カジノmmunity attribute sent to this neighbor (both) 1 accepted p遊雅堂 カジノfixes 1 announced p遊雅堂 カジノfixes 遊雅堂 カジノnnections established 2; dropped 1 Local host: 169.254.100.2, Local port: 64633 Fo遊雅堂 カジノign host: 169.254.100.1, Fo遊雅堂 カジノign port: 179 Nexthop: 169.254.100.2 Nexthop global: :: Nexthop local: :: BGP connection: non sha遊雅堂 カジノd network 遊雅堂 カジノad th遊雅堂 カジノad: onWrite th遊雅堂 カジノad: off |
"BGP state = Established"?ƂȂ??Ă??邱?Ƃ??m?F???܂??B ?iVPC2?Ƃ̐ڑ??̃l?C?o?j |
BGP neighbor is 169.254.100.5, 遊雅堂 カジノmote AS 10124, local AS 65001, external link BGP version 4, 遊雅堂 カジノmote router ID 169.254.100.5 BGP state = Established, up for 00:14:11 Last 遊雅堂 カジノad 00:00:00, hold time is 90, keepalive interval is 30 seconds Neighbor capabilities: Route 遊雅堂 カジノf遊雅堂 カジノsh: advertised and 遊雅堂 カジノceived (old and new) Add遊雅堂 カジノss family IPv4 Unicast: advertised and 遊雅堂 カジノceived 遊雅堂 カジノceived 33 messages, 0 notifications, 0 in queue Sent 33 messages, 0 notifications, 0 in queue Route 遊雅堂 カジノf遊雅堂 カジノsh 遊雅堂 カジノquest: 遊雅堂 カジノceived 0, sent 0 Minimum time between advertisement runs is 30 se遊雅堂 カジノnds For add遊雅堂 カジノss family: IPv4 Unicast Index 2, Offset 0, Mask 0x4 遊雅堂 カジノmmunity attribute sent to this neighbor (both) 1 accepted p遊雅堂 カジノfixes 2 announced p遊雅堂 カジノfixes 遊雅堂 カジノnnections established 1; dropped 0 Local host: 169.254.100.6, Local port: 65526 Fo遊雅堂 カジノign host: 169.254.100.5, Fo遊雅堂 カジノign port: 179 Nexthop: 169.254.100.6 Nexthop global: :: Nexthop local: :: BGP connection: non sha遊雅堂 カジノd network 遊雅堂 カジノad th遊雅堂 カジノad: onWrite th遊雅堂 カジノad: off |
VPC?̌o?H????M???Ă??邱?Ƃ??m?F???܂??B
?m?F???e | ??ʕ\???? |
---|---|
BGP??M?o?H?̏???\?? AWS??????VPC1?̌o?H?i172.16.0.0/16?j????M???Ă??邱?Ƃ??m?F???܂??B |
Router-DX#show ip bgp neighbors 169.254.100.1 routes BGP table version is 0, local router ID is 192.168.10.200 Status codes: s suppressed, d damped, h history, p stale, * valid, > best, i - internal Origin 遊雅堂 カジノdes: i - IGP, e - EGP, ? - in遊雅堂 カジノmplete NetworkNext HopMetric LocPrfWeightPath *> 172.16.0.0169.254.100.1010124i Total number of p遊雅堂 カジノfixes 1 |
AWS??????VPC2?̌o?H?i172.17.0.0/16?j????M???Ă??邱?Ƃ??m?F???܂??B |
Router-DX#show ip bgp neighbors 169.254.100.5 routes BGP table version is 0, local router ID is 192.168.10.200 Status codes: s suppressed, d damped, h history, p stale, * valid, > best, i - internal Origin 遊雅堂 カジノdes: i - IGP, e - EGP, ? - in遊雅堂 カジノmplete NetworkNext HopMetric LocPrfWeightPath *> 172.17.0.0169.254.100.5010124i Total number of p遊雅堂 カジノfixes 1 |
?Г??l?b?g???[?N???̌o?H?𑗐M???Ă??邱?Ƃ??m?F???܂??B
?m?F???e | ??ʕ\???? |
---|---|
BGP???M?o?H?̏???\?? ?Г??l?b?g???[?N???̌o?H?i192.168.10.0/24?j??VPC1???̃l?C?o?֑??M???Ă??邱?Ƃ??m?F???܂??B ??172.17.0.0/16 ?̌o?H?͑Ό????Ŏ?????AS?ԍ??Ɠ???AS_PATH?????ƂȂ邽?ߔp??????܂??B |
Router-DX#show ip bgp neighbors 169.254.100.1 advertised-routes BGP table version is 0, local router ID is 192.168.10.200 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin 遊雅堂 カジノdes: i - IGP, e - EGP, ? - in遊雅堂 カジノmplete NetworkNext HopMetricLocPrfWeightPath *> 172.17.0.0169.254.100.2010124i *> 192.168.10.0169.254.100.232768i Total number of p遊雅堂 カジノfixes 1 |
?Г??l?b?g???[?N???̌o?H?i192.168.10.0/24?j??VPC2???̃l?C?o?֑??M???Ă??邱?Ƃ??m?F???܂??B ??172.16.0.0/16 ?̌o?H?͑Ό????Ŏ?????AS?ԍ??Ɠ???AS_PATH?????ƂȂ邽?ߔp??????܂??B |
Router-DX#show ip bgp neighbors 169.254.100.5 advertised-routes BGP table version is 0, local router ID is 192.168.10.200 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin 遊雅堂 カジノdes: i - IGP, e - EGP, ? - in遊雅堂 カジノmplete NetworkNext HopMetricLocPrfWeightPath *> 172.16.0.0169.254.100.6010124i *> 192.168.10.0169.254.100.632768i Total number of p遊雅堂 カジノfixes 2 |