Skip to content

Instantly share code, notes, and snippets.

@schiederme
Last active June 6, 2019 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schiederme/467bc02a06a50bb84e3bac101b87cd28 to your computer and use it in GitHub Desktop.
Save schiederme/467bc02a06a50bb84e3bac101b87cd28 to your computer and use it in GitHub Desktop.
root@cr1-mffra:~# birdc show protocols all meerfarbig
BIRD 1.6.3 ready.
name proto table state since info
meerfarbig BGP master up 16:52:08 Established
Preference: 100
Input filter: REJECT
Output filter: announceMeerfarbig
Routes: 0 imported, 755687 filtered, 1 exported, 0 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 1332742 0 1332742 0 0
Import withdraws: 34306 0 --- 1367048 0
Export updates: 1 0 0 --- 1
Export withdraws: 0 --- --- --- 0
BGP state: Established
Neighbor address: 185.37.147.1
Neighbor AS: 34549
Neighbor ID: 80.77.16.5
Neighbor caps: refresh restart-aware AS4
Session: external AS4
Source address: 185.37.147.110
Hold timer: 74/90
Keepalive timer: 21/30
root@cr1-mffra:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:16:3e:fd:b9:46 brd ff:ff:ff:ff:ff:ff
inet 185.37.147.110/24 brd 185.37.147.255 scope global eth0
valid_lft forever preferred_lft forever
inet 45.12.120.2/24 scope global eth0
valid_lft forever preferred_lft forever
inet6 2a00:f820:5::747:12be/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::216:3eff:fefd:b946/64 scope link
valid_lft forever preferred_lft forever
root@cr1-mffra:~# ip r
default via 185.37.147.1 dev eth0 onlink
45.12.120.0/24 dev eth0 proto kernel scope link src 45.12.120.2
185.37.147.0/24 dev eth0 proto kernel scope link src 185.37.147.110
root@cr1-mffra:~# tcpdump host 45.12.120.2
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
10:06:59.925683 ARP, Request who-has 45.12.120.100 tell 45.12.120.2, length 28
10:06:59.957640 ARP, Request who-has 45.12.120.203 tell 45.12.120.2, length 28
10:06:59.969058 ARP, Request who-has 45.12.120.60 tell 45.12.120.2, length 28
10:06:59.969193 ARP, Request who-has 45.12.120.173 tell 45.12.120.2, length 28
10:07:00.001055 ARP, Request who-has 45.12.120.253 tell 45.12.120.2, length 28
10:07:00.032246 ARP, Request who-has 45.12.120.5 tell 45.12.120.2, length 28
10:07:00.033023 ARP, Request who-has 45.12.120.231 tell 45.12.120.2, length 28
10:07:00.065068 ARP, Request who-has 45.12.120.93 tell 45.12.120.2, length 28
10:07:00.065619 ARP, Request who-has 45.12.120.118 tell 45.12.120.2, length 28
10:07:00.065713 ARP, Request who-has 45.12.120.89 tell 45.12.120.2, length 28
10:07:00.089254 ARP, Request who-has 45.12.120.247 tell 45.12.120.2, length 28
10:07:00.095648 ARP, Request who-has 45.12.120.59 tell 45.12.120.2, length 28
10:07:00.097058 ARP, Request who-has 45.12.120.107 tell 45.12.120.2, length 28
10:07:00.097133 ARP, Request who-has 45.12.120.122 tell 45.12.120.2, length 28
10:07:00.129219 ARP, Request who-has 45.12.120.4 tell 45.12.120.2, length 28
10:07:00.152892 IP ipbcc205b9.dynamic.kabel-deutschland.de > 45.12.120.2: ICMP echo request, id 18220, seq 42170, length 44
10:07:00.152930 IP 45.12.120.2 > ipbcc205b9.dynamic.kabel-deutschland.de: ICMP echo reply, id 18220, seq 42170, length 44
10:07:00.196637 IP ipbcc205b9.dynamic.kabel-deutschland.de > 45.12.120.2: ICMP echo request, id 18220, seq 42171, length 44
10:07:00.196677 IP 45.12.120.2 > ipbcc205b9.dynamic.kabel-deutschland.de: ICMP echo reply, id 18220, seq 42171, length 44
10:07:00.239283 IP ipbcc205b9.dynamic.kabel-deutschland.de > 45.12.120.2: ICMP echo request, id 18220, seq 42172, length 44
10:07:00.239334 IP 45.12.120.2 > ipbcc205b9.dynamic.kabel-deutschland.de: ICMP echo reply, id 18220, seq 42172, length 44
10:07:00.282612 IP ipbcc205b9.dynamic.kabel-deutschland.de > 45.12.120.2: ICMP echo request, id 18220, seq 42173, length 44
10:07:00.282651 IP 45.12.120.2 > ipbcc205b9.dynamic.kabel-deutschland.de: ICMP echo reply, id 18220, seq 42173, length 44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment