RMU VLabNet 7.4-
Command Summary and Examples
Edit command:
vi /etc/quagga/daemons
zebra=yes
bgpd=yes
ospfd=yes
ospf6d=no
ripd=yes
ripngd=no
isisd=no
If OSPF and RIP are running as well (recommended for the sake of routing analytics learning), there will also be a yes for ospfd and ripd in the daemons file (as shown).
tcp 0
0 x.y.z.125:179 x.y.z.107:4336 ESTABLISHED
or tcpdump -i eth0 port not ssh
or tcpdump -i eth0 proto tcp
Figure 3-11: (
Figure 3-11b: (BGP Border Routers in Autonomous Systems; Fall 2011)
Figure 3-11c: (
If needed, see the BGP Troubleshooting page.
Please see the /etc/quagga/bgpd.conf file for VM 1mm in AS 64502:
Please note notation here: <iR0> is you. Your (mesh) iBGP peerings are to <iR1>, <iR2> and <iR3>. Your external peering is to <eR1>. Some of you may have a second eBGP peering to <eR2>. remote-as means “(in) remote autonomous system.” AS number 6450<n> means your autonomous system (AS); AS number 6450r means remote AS.
Edit command:
vi /etc/quagga/bgpd.conf
! Configuration
file model for VM 1mm in AS
6450<n>
!
!
hostname bgpd
password zebra
enable password #####
!
! <iR0> =
substitute your own vm/router number in your iBGP list
!
router bgp 6450<n> <your own autonomous system number>
bgp router-id 10.10.10.<iR0>
network 10.10.<iR0>.0/29
!
! internal mesh – iBGP – same ASN – <iR1>-<iR4> = substitute
internal peer vm numbers
! (from your iBGP neighbor list) x.y.z. = our usual first 3 octets
!
neighbor x.y.z.<iR1> remote-as
6450<n>
neighbor x.y.z.<iR2> remote-as
6450<n>
neighbor x.y.z.<iR3>
remote-as 6450<n>
neighbor x.y.z.<iR4>
remote-as 6450<n>
!
! external peering – eBGP – other AS
– <eR1> = external peer vm number
! (from your eBGP neighbor list)
! prefix-list - <eR1>
= substitute external peer vm/router (from your eBGP neighbor list)
!
neighbor x.y.z.<eR1> remote-as
6450<r>
neighbor x.y.z.<eR1> prefix-list allowed-in in
!
ip prefix-list
allowed-in seq 5 deny 10.10.<eR1>.0/29
ip prefix-list
allowed-in seq 10 permit any
!
! logging
!
log syslog
log file /var/log/quagga/bgpd.log
log stdout
!
line vty
!
About the neighbor statements in any configuration and the iBGP/eBGP distinction:
neighbor x.y.z.105
remote-as 64502 (same AS; therefore iBGP)
neighbor x.y.z.106
remote-as 64502 (same AS; therefore iBGP)
neighbor x.y.z.108
remote-as 64502 (same AS; therefore iBGP)
neighbor x.y.z.101
remote-as 64501 (different AS; therefore eBGP)
neighbor x.y.z.123
remote-as 64504 (different AS; therefore eBGP)
Fill-in version. Using the guide above, fill in the correct AS numbers and IP and CIDR network addresses:
! Configuration
file model (fill-in) for VM 1mm in AS
6450<n>
!
!
hostname bgpd
password zebra
enable password #####
!
! <substitute
your own vm/router number in your iBGP
list
! <your own autonomous
system number>
router bgp 6450<n>
bgp router-id 10.10.10.____
network 10.10.____.0/29
!
! internal mesh – iBGP – same AS as yours = substitute internal peer vm
numbers
! (from your iBGP neighbor list) x.y.z. = our usual first 3 octets
!
neighbor x.y.z.____ remote-as
6450__
neighbor x.y.z.____ remote-as
6450__
neighbor x.y.z.____ remote-as
6450__
neighbor x.y.z.____ remote-as 6450__
!
! external peer vm/router (from your
eBGP neighbor list) – different AS from yours
!
neighbor x.y.z.____ remote-as
6450__
neighbor x.y.z.____ prefix-list
allowed-in in
!
ip prefix-list allowed-in seq
5 deny 10.10.____.0/29
ip prefix-list allowed-in seq
10 permit any
!
! logging
!
log syslog
log file /var/log/quagga/bgpd.log
log stdout
!
line vty
!
Please note that prefix list allowed-in in identifies the name of the prefix-list as allowed-in and as inbound with regard to VM 121. The sequence numbers order the statements in the prefix list.
Password: zebra
bgpd> enable
Password: #####
bgpd# config t [Note Prompt changes from bgpd> to bgpd#]
bgpd(config)#
bgpd(config)# router bgp
6450<n> çuse your AS-number
BGP is already running; AS is 6450<n> Confirmation
bgpd(config-router)#
bgpd(config-router)# bgp log-neighbor-changes
bgpd(config-router)# redistribute connected
bgpd(config-router)# bgp network import-check
bgpd(config-router)# quit
bgpd(config)# quit
bgpd# show ip
bgp <options> çyou
can enter show ip
bgp commands here, see examples belowę
bgpd# quit
<back to system
prompt>
By using the ? option in the state, you can see what options you have:
bgpd(config-router)#
address-family Enter Address Family command mode
aggregate-address Configure BGP aggregate entries
bgp BGP
specific commands
distance Define an administrative distance
end End
current mode and change to enable mode.
exit Exit
current mode and down to previous mode
help Description of the interactive
help system
ipv6 IPv6
information
list Print command list
neighbor Specify neighbor router
network Specify a network to announce via
BGP
no Negate a command or set its defaults
quit Exit current mode and down to
previous mode
redistribute Redistribute
information from another routing protocol
show Show
running system information
timers Adjust routing timers
write Write
running configuration to memory, network, or
terminal
bgpd(config-router)# neighbor
A.B.C.D Neighbor address
X:X::X:X IPv6 address
WORD Neighbor tag
By using the ? option after the show ip bgp entry, you can see what options you have:
A.B.C.D Network in the
A.B.C.D/M IP prefix
<network>/<length>, e.g., 35.0.0.0/8
attribute-info List all bgp
attribute information
cidr-only Display
only routes with non-natural netmasks
community Display routes matching the communities
community-info List all bgp
community information
community-list Display routes matching the community-list
dampened-paths Display paths suppressed due to dampening
filter-list Display routes conforming to the
filter-list
flap-statistics Display flap statistics of routes
ipv4 Address family
neighbors Detailed information on
paths Path information
prefix-list Display routes conforming to the
prefix-list
regexp Display routes matching the AS path
regular expression
route-map Display routes matching the route-map
rsclient Information about Route Server Client
scan
summary Summary of
view
vpnv4 Display VPNv4 NLRI specific
information
<cr>
Example of error message if your enter incorrect AS number (like 64504 when AS number is 64503):
bgpd(config)# router bgp
64504
bgpd# show ip bgp
Status codes: s suppressed, d
damped, h history, * valid, > best, i - internal,
r
RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e -
Network Next Hop Metric LocPrf
Weight Path
*> 10.10.105.0/29 x.y.z.105 0 64502 i
*> 10.10.107.0/29 x.y.z.107 0 0 64502 i
*> 10.10.125.0/29 0.0.0.0 0 32768 i
Total number of prefixes 3
bgpd# show ip bgp summary
RIB entries 33, using 2112
bytes of memory
Peers 4, using 10048 bytes of
memory
Neighbor V
AS MsgRcvd MsgSent TblVer InQ
OutQ Up/Down
State/PfxRcd
x.y.z.101 4 64503
52120 53003 0
0 0 05w1d04h 9
x.y.z.102 4 64503
52328 52312 0
0 0 01w5d03h 7
x.y.z.104 4 64503
52316 52312 0
0 0 04w1d04h 3
x.y.z.110 4 64505
52128 52308 0
0 0 04w1d04h 10
Please note next-hop eBGP path listings from this command in the
bgpd# show ip bgp
prefix-list allowed-in
Status codes: s suppressed, d
damped, h history, * valid, > best, i - internal,
r
RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e -
Network Next Hop Metric LocPrf
Weight Path
*> 10.10.10.96/27 0.0.0.0 1 32768 ?
* x.y.z.123 0 64504 ?
*> 10.10.102.0/29 x.y.z.102 0 64504 64502 64501 i
*> 10.10.103.0/29 x.y.z.103 0 64504 64502 64501 i
*> 10.10.106.0/29 x.y.z.106 0 64504 64502 i
*> 10.10.107.0/29 x.y.z.107 0 64504 64502 i
* 10.10.109.0/29 0.0.0.0 1 32768
?
*> 0.0.0.0 1 32768 i
*> 10.10.116.0/29 x.y.z.116 0 64504 i
*> 10.10.123.0/29 x.y.z.123 0 64504 i
*> x.y.z.96/27
0.0.0.0 1 32768 ?
* x.y.z.123 0 64504
?
Total number of prefixes 9
bgpd# show ip bgp cidr-only
Status codes: s suppressed, d
damped, h history, * valid, > best, i - internal,
r
RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e -
Network Next Hop Metric LocPrf
Weight Path
*> 10.10.10.96/27 0.0.0.0 1 32768 ?
*>i10.10.116.0/29 x.y.z.116 0
100 0 i
*>i10.10.117.0/29 x.y.z.117 0
100 0 i
* 10.10.123.0/29 0.0.0.0 1 32768
?
*> 0.0.0.0 1 32768 i
*> x.y.z.96/27
0.0.0.0 1 32768 ?
Total number of prefixes 5
bgpd# show ip bgp ipv4 unicast
Status codes: s suppressed, d
damped, h history, * valid, > best, i - internal,
r
RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e -
Network Next Hop Metric LocPrf
Weight Path
*>i10.10.10.96/27 x.y.z.117 1
100 0 ?
* x.y.z.101 0 64502 64501 ?
* x.y.z.113 0 64504
?
*
i10.10.10.96/29 x.y.z.103 100 0 64501 i
*>i x.y.z.103 0
100 0 64501 i
* x.y.z.101 0 64502 64501 i
*
i10.10.101.0/29 x.y.z.101 100 0 64501 i
*>i x.y.z.101 100 0 64501 i
* x.y.z.101 0 64502 64501 i
*
i10.10.102.0/29 x.y.z.102 100 0 64501 i
*>i x.y.z.102 100 0 64501 i
* x.y.z.101 0 64502 64501 i
*>i10.10.103.0/29 x.y.z.103 100 0 64501 ?
* x.y.z.101 0 64502 64501 ?
*>i10.10.104.0/29 x.y.z.104 100 0 64501 i
* x.y.z.101 0 64502 64501 i
*
i10.10.107.0/29 x.y.z.107 100 0 64501 64502 i
*>i x.y.z.107 100 0 64501 64502 i
*>
10.10.108.0/29 x.y.z.108 0 64502 i
*>
10.10.109.0/29 x.y.z.109 0 64504 64503 i
*>
10.10.110.0/29 x.y.z.109 0 64504 64503 i
*>
10.10.111.0/29 x.y.z.109 0 64504 64503 i
*>
10.10.112.0/29 x.y.z.109 0 64504 64503 i
*>
10.10.113.0/29 x.y.z.113 0 64504 i
*>
10.10.115.0/29 x.y.z.115 0 64504 i
*>
10.10.116.0/29 x.y.z.116 0 64504 i
*>i10.10.117.0/29 x.y.z.117 0
100 0 i
*>i10.10.118.0/29 x.y.z.118 0
100 0 i
*>
10.10.125.0/29 0.0.0.0 0 32768
i
*>ix.y.z.96/27
x.y.z.117 1 100
0 ?
* x.y.z.101 0 64502 64501 ?
* x.y.z.113 0 64504
?
Total number of prefixes 19
bgpd# show ip bgp
prefix-list allowed-in
Status codes: s suppressed,
d damped, h history, * valid, > best, i -
internal,
r RIB-failure,
S Stale, R Removed
Origin codes: i - IGP, e -
Network Next Hop Metric LocPrf
Weight Path
*>i10.10.10.96/27 x.y.z.117 1
100 0 ?
* x.y.z.101 0 64502 64501 ?
* x.y.z.113 0 64504
?
*
i10.10.10.96/29 x.y.z.103 100 0 64501 i
*>i x.y.z.103 0
100 0 64501 i
* x.y.z.101 0 64502 64501 i
*
i10.10.101.0/29 x.y.z.101 100 0 64501 i
*>i x.y.z.101 100 0 64501 i
* x.y.z.101 0 64502 64501 i
*
i10.10.102.0/29 x.y.z.102 100 0 64501 i
*>i x.y.z.102 100 0 64501 i
* x.y.z.101 0 64502 64501 i
*>i10.10.103.0/29 x.y.z.103 100 0 64501 ?
* x.y.z.101 0 64502 64501 ?
*>i10.10.104.0/29 x.y.z.104 100 0 64501 i
* x.y.z.101 0 64502 64501 i
*>
10.10.108.0/29 x.y.z.108 0 64502 i
*>
10.10.109.0/29 x.y.z.109 0 64504 64503 i
*>
10.10.110.0/29 x.y.z.109 0 64504 64503 i
*>
10.10.111.0/29 x.y.z.109 0 64504 64503 i
*>
10.10.112.0/29 x.y.z.109 0 64504 64503 i
*>
10.10.113.0/29 x.y.z.113 0 64504 i
*>
10.10.115.0/29 x.y.z.115 0 64504 i
*>
10.10.116.0/29 x.y.z.116 0 64504 i
*>i10.10.117.0/29 x.y.z.117 0
100 0 i
*>i10.10.118.0/29 x.y.z.118 0
100 0 i
*>
10.10.125.0/29 0.0.0.0 0 32768
i
*>ix.y.z.96/27
x.y.z.117 1 100
0 ?
* x.y.z.101 0 64502 64501 ?
* x.y.z.113 0 64504
?
Total number of prefixes 18
bgpd# show ip bgp
neighbors
Last read 00:00:19,
hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
Route refresh: advertised and received(old & new)
Address family IPv4 Unicast:
advertised and received
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 11 5
Keepalives: 5 4
Route Refresh: 0 0
Capability: 0 0
Total: 17 10
Minimum time between advertisement runs is 30
seconds
For address family: IPv4 Unicast
Community attribute sent to this neighbor(both)
Inbound path policy configured
Incoming update prefix filter list is
*allowed-in
8 accepted prefixes
Connections established 1; dropped 0
Last reset never
Local host: x.y.z.107, Local
port: 2480
Foreign host: x.y.z.101,
Foreign port: 179
Nexthop: x.y.z.107
Nexthop global: ::
Nexthop local: ::
Read thread: on Write thread: off
Last read 00:03:27,
hold time is 180, keepalive interval is 60 seconds
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 2 0
Notifications: 0
0
Updates: 0 0
Keepalives: 0 0
Route Refresh: 0 0
Capability: 0 0
Total: 2 0
Minimum time between advertisement runs is 5
seconds
For address family: IPv4 Unicast
Community attribute sent to this neighbor(both)
0 accepted prefixes
Connections established 0; dropped 0
Last reset never
Local host: x.y.z.107, Local
port: 3433
Foreign host: x.y.z.105,
Foreign port: 179
Nexthop: x.y.z.107
Nexthop global: ::
Nexthop local: ::
Next connect timer due in 39
seconds
Read thread: off Write thread: off
Last read 00:03:27,
hold time is 180, keepalive interval is 60 seconds
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 0 0
Notifications: 0 0
Updates: 0 0
Keepalives: 0 0
Route Refresh: 0 0
Capability: 0 0
Total: 0 0
Minimum
time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
Community attribute sent to this neighbor(both)
0 accepted prefixes
Connections established 0; dropped 0
Last reset never
Next connect timer due in 46
seconds
Read thread: off Write thread: off
Last read 00:00:22,
hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
Route refresh: advertised and received(old & new)
Address family IPv4 Unicast:
advertised and received
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 5 8
Keepalives: 5 4
Route Refresh: 0 0
Capability: 0 0
Total: 11 13
Minimum time between advertisement runs is 5
seconds
For address family: IPv4 Unicast
Community attribute sent to this neighbor(both)
10 accepted prefixes
Connections established 1; dropped 0
Last reset never
Local host: x.y.z.107, Local
port: 2113
Foreign host: x.y.z.108,
Foreign port: 179
Nexthop: x.y.z.107
Nexthop global: ::
Nexthop local: ::
Read thread: on Write thread: off
Last read 00:00:22,
hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
Route
refresh: advertised and received(old & new)
Address family IPv4 Unicast:
advertised and received
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 6 2
Keepalives: 5 4
Route Refresh: 0 0
Capability: 0 0
Total: 12 7
Minimum time between advertisement runs is 30
seconds
For address family: IPv4 Unicast
Community attribute sent to this neighbor(both)
Inbound path policy configured
Incoming update prefix filter list is
*allowed-in
2 accepted prefixes
Connections established 1; dropped 0
Last reset never
Local host: x.y.z.107, Local
port: 3430
Foreign host: x.y.z.125,
Foreign port: 179
Nexthop: x.y.z.107
Nexthop global: ::
Nexthop local: ::
Read thread: on Write thread: off
vm-test:/home/test# ip route
10.10.117.0/29 via x.y.z.117
dev eth0 proto zebra ç
10.10.115.0/29 via
10.10.10.115 dev eth1 proto zebra metric 20
çOSPF note eth1 and via address
10.10.109.0/29 via
10.10.10.109 dev eth1 proto zebra metric 20
çOSPF note eth1 and via address
10.10.105.0/29 via
10.10.10.105 dev eth1 proto zebra metric 20
çOSPF note eth1 and via address
10.10.123.0/29 dev eth1 proto
kernel scope link src 10.10.123.2
10.10.10.96/27 dev eth1 proto
kernel scope link src 10.10.10.123
x.y.z.96/27 dev eth0 proto
kernel scope link src x.y.z.123
default via x.y.z.97 dev eth0
vm-xyzst0:/# netstat
-an
Active Internet connections
(servers and established)
Proto Recv-Q
Send-Q Local Address Foreign
Address State
tcp 0
0 0.0.0.0:2601 0.0.0.0:* LISTEN
tcp 0
0 0.0.0.0:2605 0.0.0.0:* LISTEN
tcp 0
0 0.0.0.0:179 0.0.0.0:* LISTEN
tcp 0
0 0.0.0.0:22
0.0.0.0:* LISTEN
tcp 0
0 127.0.0.1:25
0.0.0.0:* LISTEN
tcp 0
284 x.y.z.125:22
71.182.227.207:2763
ESTABLISHED
tcp 0
0 x.y.z.125:179 x.y.z.107:4336 ESTABLISHED
vm-xyzst0:~# netstat
-rn
Kernel IP routing table
Destination Gateway Genmask Flags
10.10.101.0 10.10.10.101 255.255.255.248 UG 0 0 0 eth1
10.10.10.96 x.y.z.103 255.255.255.248 UG 0 0 0 eth0
10.10.117.0 10.10.10.117 255.255.255.248 UG 0 0 0 eth1
10.10.116.0 x.y.z.116 255.255.255.248 UG 0 0 0 eth0
10.10.103.0 x.y.z.103 255.255.255.248 UG 0 0 0 eth0
10.10.119.0 10.10.10.119 255.255.255.248 UG 0 0 0 eth1
10.10.118.0 x.y.z.118 255.255.255.248 UG 0 0 0 eth0
10.10.102.0 x.y.z.102 255.255.255.248 UG 0 0 0 eth0
10.10.113.0 x.y.z.113 255.255.255.248 UG 0 0 0 eth0
10.10.112.0 x.y.z.109 255.255.255.248 UG 0 0 0 eth0
10.10.115.0 x.y.z.115 255.255.255.248 UG 0 0 0 eth0
10.10.114.0 10.10.10.114 255.255.255.248 UG 0 0 0 eth1
10.10.109.0 x.y.z.109 255.255.255.248
UG 0 0 0 eth0
10.10.125.0 0.0.0.0 255.255.255.248 U 0 0 0 eth1
10.10.108.0 x.y.z.108 255.255.255.248 UG 0 0 0 eth0
10.10.111.0 x.y.z.109 255.255.255.248 UG 0 0 0 eth0
10.10.110.0 x.y.z.109 255.255.255.248 UG 0 0 0 eth0
10.10.105.0 10.10.10.105 255.255.255.248 UG 0 0 0 eth1
10.10.104.0 x.y.z.104 255.255.255.248 UG 0 0 0 eth0
10.10.107.0 x.y.z.107 255.255.255.248 UG 0 0 0 eth0
10.10.10.96 0.0.0.0 255.255.255.224 U 0 0 0 eth1
x.y.z.96 0.0.0.0 255.255.255.224 U 0 0 0 eth0
0.0.0.0 x.y.z.97 0.0.0.0
UG 0 0 0 eth0
vm-xyzst0:~# ip route
10.10.101.0/29 via 10.10.10.101 dev eth1
proto zebra metric 20
10.10.10.96/29 via x.y.z.103 dev eth0
proto zebra
10.10.117.0/29 via 10.10.10.117 dev eth1
proto zebra metric 20
10.10.116.0/29 via x.y.z.116 dev eth0
proto zebra
10.10.103.0/29 via x.y.z.103 dev eth0
proto zebra
10.10.119.0/29 via 10.10.10.119 dev eth1
proto zebra metric 20
10.10.118.0/29 via x.y.z.118 dev eth0
proto zebra
10.10.102.0/29 via x.y.z.102 dev eth0
proto zebra
10.10.113.0/29 via x.y.z.113 dev eth0
proto zebra
10.10.112.0/29 via x.y.z.109 dev eth0
proto zebra
10.10.115.0/29 via x.y.z.115 dev eth0
proto zebra
10.10.114.0/29 via 10.10.10.114 dev eth1
proto zebra metric 20
10.10.109.0/29 via x.y.z.109 dev eth0
proto zebra
10.10.125.0/29 dev eth1 proto
kernel scope link src 10.10.125.1
10.10.108.0/29 via x.y.z.108 dev eth0
proto zebra
10.10.111.0/29 via x.y.z.109 dev eth0
proto zebra
10.10.110.0/29 via x.y.z.109 dev eth0
proto zebra
10.10.105.0/29 via 10.10.10.105 dev eth1
proto zebra metric 20
10.10.104.0/29 via x.y.z.104 dev eth0
proto zebra
10.10.107.0/29 via x.y.z.107 dev eth0
proto zebra
10.10.10.96/27 dev eth1 proto
kernel scope link src 10.10.10.125
x.y.z.96/27 dev eth0 proto
kernel scope link src x.y.z.125
default via x.y.z.97 dev eth0
vm-test:/home/test# ip route | sort
10.10.10.96/27 dev eth1 proto
kernel scope link src 10.10.10.123
10.10.101.0/29 via x.y.z.101 dev eth0
proto zebra
10.10.102.0/29 via x.y.z.102 dev eth0
proto zebra
10.10.103.0/29 via x.y.z.103 dev eth0
proto zebra
10.10.104.0/29 via x.y.z.104 dev eth0
proto zebra
10.10.105.0/29 via x.y.z.105 dev eth0
proto zebra
10.10.106.0/29 via x.y.z.106 dev eth0
proto zebra
10.10.107.0/29 via x.y.z.107 dev eth0
proto zebra
10.10.109.0/29 via x.y.z.109 dev eth0
proto zebra
10.10.110.0/29 via x.y.z.110 dev eth0
proto zebra
10.10.111.0/29 via x.y.z.111 dev eth0
proto zebra
10.10.113.0/29 via x.y.z.113 dev eth0
proto zebra
10.10.114.0/29 via x.y.z.114 dev eth0
proto zebra
10.10.115.0/29 via x.y.z.115 dev eth0
proto zebra
10.10.116.0/29 via x.y.z.116 dev eth0
proto zebra
10.10.117.0/29 via x.y.z.117 dev eth0
proto zebra metric 1
10.10.123.0/29 dev eth1 proto
kernel scope link src 10.10.123.2
x.y.z.96/27 dev eth0 proto
kernel scope link src x.y.z.123
default via x.y.z.97
dev eth0
Frame 13 (112 bytes on wire,
112 bytes captured)
Arrival Time: Nov 30, 2007
16:46:55.325487000
[Time delta from previous packet:
0.964156000 seconds]
[Time since reference or first frame:
1.039985000 seconds]
Frame Number: 13
Packet Length: 112 bytes
Capture Length: 112 bytes
[Frame is marked: False]
[Protocols in frame: eth:ip:tcp:bgp]
Ethernet II, Src: Xensourc_3f:9c:a1 (00:16:3e:3f:9c:a1), Dst:
Xensourc_22:e3:58 (00:16:3e:22:e3:58)
Destination: Xensourc_22:e3:58
(00:16:3e:22:e3:58)
Address: Xensourc_22:e3:58
(00:16:3e:22:e3:58)
.... ...0
.... .... .... .... = IG bit: Individual
address (unicast)
.... ..0. .... ....
.... .... = LG bit: Globally unique address (factory default)
Source: Xensourc_3f:9c:a1 (00:16:3e:3f:9c:a1)
Address: Xensourc_3f:9c:a1
(00:16:3e:3f:9c:a1)
.... ...0 ....
.... .... .... = IG bit: Individual address (unicast)
.... ..0. .... ....
.... .... = LG bit: Globally unique address (factory default)
Type: IP (0x0800)
Internet Protocol, Src: x.y.z.107 (x.y.z.107), Dst: x.y.z.125 (x.y.z.125)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (
0000 00.. =
Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport
(ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 98
Identification: 0xb25f (45663)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 1
Protocol:
Header checksum: 0xcb29 [correct]
[Good: True]
[Bad : False]
Source: x.y.z.107 (x.y.z.107)
Destination: x.y.z.125
(x.y.z.125)
Transmission Control
Protocol, Src Port: 2873 (2873), Dst Port: bgp (179), Seq: 84, Ack: 84, Len: 46
Source port: 2873 (2873)
Destination
port: bgp (179)
Sequence number: 84 (relative sequence number)
[Next sequence number: 130 (relative sequence number)]
Acknowledgement number: 84 (relative ack
number)
Header length: 32 bytes
Flags: 0x18 (PSH,
0... .... = Congestion Window Reduced
(CWR): Not set
.0.. .... =
ECN-Echo: Not set
..0. .... = Urgent: Not set
...1 ....
= Acknowledgment: Set
.... 1... = Push: Set
.... .0.. =
Reset: Not set
.... ..0. = Syn:
Not set
.... ...0 = Fin: Not set
Window size: 5840 (scaled)
Checksum: 0xfc61 [incorrect, should be
0x0fed (maybe caused by checksum offloading?)]
Options: (12 bytes)
NOP
NOP
Timestamps: TSval
12429545, TSecr 34891405
Border
Gateway Protocol
UPDATE
Message
Marker: 16 bytes
Length: 46 bytes
Type: UPDATE Message (2)
Unfeasible routes length: 0 bytes
Total path attribute length: 18 bytes
Path attributes
ORIGIN: IGP (4 bytes)
Flags: 0x40 (Well-known,
Transitive, Complete)
0... .... = Well-known
.1..
.... = Transitive
..0. .... = Complete
...0 ....
= Regular length
Type code: ORIGIN (1)
Length: 1 byte
Origin: IGP (0)
AS_
Flags: 0x40 (Well-known,
Transitive, Complete)
0... .... = Well-known
.1.. .... = Transitive
..0. .... = Complete
...0 ....
= Regular length
Type code: AS_
Length: 4 bytes
AS path: 64502
AS path segment: 64502
Path segment type:
AS_SEQUENCE (2)
Path segment length: 1 AS
Path segment value:
64502
Flags: 0x40 (Well-known,
Transitive, Complete)
0... .... = Well-known
.1.. .... = Transitive
..0. .... = Complete
...0 ....
= Regular length
Type code:
Length: 4 bytes
Next hop: x.y.z.105 (x.y.z.105)
Network
layer reachability information: 5 bytes
10.10.105.0/29
NLRI prefix length: 29
NLRI prefix: 10.10.105.0
(10.10.105.0)
Frame 16 (66 bytes on wire,
66 bytes captured)
Arrival Time: Nov 30, 2007
16:46:55.363603000
[Time delta from previous packet:
0.036999000 seconds]
[Time since reference or first frame:
1.078101000 seconds]
Frame Number: 16
Packet Length: 66 bytes
Capture Length: 66 bytes
[Frame is marked: False]
[Protocols in frame: eth:ip:tcp]
Ethernet II, Src: Xensourc_22:e3:58 (00:16:3e:22:e3:58), Dst:
Xensourc_3f:9c:a1 (00:16:3e:3f:9c:a1)
Destination: Xensourc_3f:9c:a1
(00:16:3e:3f:9c:a1)
Address: Xensourc_3f:9c:a1 (00:16:3e:3f:9c:a1)
.... ...0 ....
.... .... .... = IG bit: Individual address (unicast)
.... ..0. .... ....
.... .... = LG bit: Globally unique address (factory default)
Source:
Xensourc_22:e3:58 (00:16:3e:22:e3:58)
Address: Xensourc_22:e3:58
(00:16:3e:22:e3:58)
.... ...0
.... .... .... .... = IG bit: Individual
address (unicast)
.... ..0. .... ....
.... .... = LG bit: Globally unique address (factory default)
Type: IP (0x0800)
Internet Protocol, Src: x.y.z.125 (x.y.z.125), Dst: x.y.z.107 (x.y.z.107)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (
0000 00.. =
Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport
(ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 52
Identification: 0xebd0 (60368)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 1
Protocol:
Header checksum: 0x91e6
[correct]
[Good: True]
[Bad : False]
Source: x.y.z.125 (x.y.z.125)
Destination: x.y.z.107 (x.y.z.107)
Transmission Control
Protocol, Src Port: bgp
(179), Dst Port: 2873
(2873), Seq: 137, Ack: 183,
Len: 0
Source port: bgp (179)
Destination port: 2873 (2873)
Sequence number: 137 (relative sequence number)
Acknowledgement number: 183 (relative ack
number)
Header length: 32 bytes
Flags: 0x10 (
0... .... = Congestion Window Reduced
(CWR): Not set
.0.. .... =
ECN-Echo: Not set
..0. .... = Urgent: Not set
...1 ....
= Acknowledgment: Set
.... 0... = Push: Not set
.... .0.. =
Reset: Not set
.... ..0. = Syn:
Not set
.... ...0 = Fin: Not set
Window size: 5792 (scaled)
Checksum: 0xd7d6 [correct]
Options: (12 bytes)
NOP
NOP
Timestamps: TSval
34891665, TSecr 12429545
[SEQ/
[This is an
[The RTT to
References/Resources:
See: http://www.infroref.org/i6230vlabnet6-BGP.htm
·
Schmied G, Integrated Cisco and UNIX® Network
Architectures (Ciscopress, 2005), Lab 10-1,
“MPLS,” pp. 445-446.
· Multiprotocol Label Switching: http://datatracker.ietf.org/wg/mpls/charter/, http://en.wikipedia.org/wiki/Multiprotocol_Label_Switching; and BGP: Rekhter and Rosen, "Carrying Label Information in BGP4", RFC 3107, May 2001; and Rosen, Viswanathan, and Callon, "Multiprotocol Label Switching Architecture", RFC 3031, January 2001.
m, n = student domain number {nÎN |
((n ≥ 101) Ů (n ≤ 126))}
x.y.z.
= first three octets of assigned routable network addresses for
Valerie J. H. Powell, RMU C&IS; Randall S. Johnson, RMU IT Technical Services
© 2010 by Robert Morris University
Update: 2011-11-24