RE: BIRD router/route server functions
Dear MO, Thank you very much for your response. Yes, I followed the sample to set up the routers but don’t why the peering session between them is not established. Rae From: mo@linx.net <mo@linx.net> Sent: Monday, June 4, 2018 4:40 PM To: Rae Ho (ITSC) <raeho@cuhk.edu.hk> Cc: bird-users@network.cz Subject: Re: BIRD router/route server functions On 4 Jun 2018, at 07:08, Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> wrote: Dear All, I’m Rae of CUHK. We are exploring BIRD router/route server functions. Now I set up 2 BIRD routers to from BGP session between them, seems It can’t form the peering (in active status). Questions: 1. Is there any pre-config need to be set up? (i.e. interface? Internal Subnet?) 2. Would you mind sending me some sample configurations? Rae Try looking here. https://gitlab.labs.nic.cz/labs/bird/wikis/Examples Mo
It'd be more helpful you can provide your `bird.conf` and `birdc show proto all` if all possible. On Mon, Jun 4, 2018 at 4:54 PM Rae Ho (ITSC) <raeho@cuhk.edu.hk> wrote:
Dear MO,
Thank you very much for your response.
Yes, I followed the sample to set up the routers but don’t why the peering session between them is not established.
Rae
*From:* mo@linx.net <mo@linx.net> *Sent:* Monday, June 4, 2018 4:40 PM *To:* Rae Ho (ITSC) <raeho@cuhk.edu.hk> *Cc:* bird-users@network.cz *Subject:* Re: BIRD router/route server functions
On 4 Jun 2018, at 07:08, Rae Ho (ITSC) <raeho@cuhk.edu.hk> wrote:
Dear All,
I’m Rae of CUHK. We are exploring BIRD router/route server functions.
Now I set up 2 BIRD routers to from BGP session between them, seems It can’t form the peering (in active status).
Questions:
1. Is there any pre-config need to be set up? (i.e. interface? Internal Subnet?)
2. Would you mind sending me some sample configurations?
Rae
Try looking here.
https://gitlab.labs.nic.cz/labs/bird/wikis/Examples
Mo
Dear Quan Zhou, Thanks for your help. Rae Router1 (/etc/bird.conf) log syslog all; router id 192.168.199.12; protocol kernel { # learn; # Learn all alien routes from the kernel persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds # import none; # Default is import all export all; # Default is export none # kernel table 5; # Kernel table to synchronize with (default: main) } protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol bgp { import all; export all; local as 76543; neighbor 192.168.199.13 as 87654; } Router1 (birdc show proto all) BIRD 1.4.5 ready. name proto table state since info kernel1 Kernel master up 2018-05-18 Preference: 10 Input filter: ACCEPT Output filter: ACCEPT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 device1 Device master up 2018-05-18 Preference: 240 Input filter: ACCEPT Output filter: REJECT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 bgp1 BGP master start 2018-05-18 Connect Socket: No route to host Preference: 100 Input filter: ACCEPT Output filter: ACCEPT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 BGP state: Connect Neighbor address: 192.168.199.13 Neighbor AS: 87654 Last error: Socket: No route to host Router2 (/etc/bird.conf) log syslog all; router id 192.138.199.13; protocol kernel { # learn; # Learn all alien routes from the kernel persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds # import none; # Default is import all export all; # Default is export none # kernel table 5; # Kernel table to synchronize with (default: main) } protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol bgp { import all; export all; local as 87654; neighbor 192.168.199.12 as 76543; Router2 (birdc show proto all) BIRD 1.4.5 ready. name proto table state since info kernel1 Kernel master up 2018-05-18 Preference: 10 Input filter: ACCEPT Output filter: ACCEPT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 device1 Device master up 2018-05-18 Preference: 240 Input filter: ACCEPT Output filter: REJECT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 bgp1 BGP master start 2018-05-18 Active Socket: No route to host Preference: 100 Input filter: ACCEPT Output filter: ACCEPT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 BGP state: Active Neighbor address: 192.168.199.12 Neighbor AS: 76543 Start delay: 0/5 Last error: Socket: No route to host From: Bird-users <bird-users-bounces@network.cz> On Behalf Of Quan Zhou Sent: Monday, June 4, 2018 6:01 PM Cc: bird-users@network.cz Subject: Re: BIRD router/route server functions It'd be more helpful you can provide your `bird.conf` and `birdc show proto all` if all possible. On Mon, Jun 4, 2018 at 4:54 PM Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> wrote: Dear MO, Thank you very much for your response. Yes, I followed the sample to set up the routers but don’t why the peering session between them is not established. Rae From: mo@linx.net<mailto:mo@linx.net> <mo@linx.net<mailto:mo@linx.net>> Sent: Monday, June 4, 2018 4:40 PM To: Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> Cc: bird-users@network.cz<mailto:bird-users@network.cz> Subject: Re: BIRD router/route server functions On 4 Jun 2018, at 07:08, Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> wrote: Dear All, I’m Rae of CUHK. We are exploring BIRD router/route server functions. Now I set up 2 BIRD routers to from BGP session between them, seems It can’t form the peering (in active status). Questions: 1. Is there any pre-config need to be set up? (i.e. interface? Internal Subnet?) 2. Would you mind sending me some sample configurations? Rae Try looking here. https://gitlab.labs.nic.cz/labs/bird/wikis/Examples Mo
Last error: Socket: No route to host
looks like the problem is not with the bird. Although it looks like both hosts are on the same subnet, but are you able to ping each other from either host? On Tue, Jun 5, 2018 at 3:19 PM Rae Ho (ITSC) <raeho@cuhk.edu.hk> wrote:
Dear Quan Zhou,
Thanks for your help. Rae
Router1 (/etc/bird.conf)
log syslog all;
router id 192.168.199.12;
protocol kernel {
# learn; # Learn all alien routes from the kernel
persist; # Don't remove routes on bird shutdown
scan time 20; # Scan kernel routing table every 20 seconds
# import none; # Default is import all
export all; # Default is export none
# kernel table 5; # Kernel table to synchronize with (default: main)
}
protocol device {
scan time 10; # Scan interfaces every 10 seconds
}
protocol bgp {
import all;
export all;
local as 76543;
neighbor 192.168.199.13 as 87654;
}
Router1 (birdc show proto all)
BIRD 1.4.5 ready.
name proto table state since info
kernel1 Kernel master up 2018-05-18
Preference: 10
Input filter: ACCEPT
Output filter: ACCEPT
Routes: 0 imported, 0 exported, 0 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 0 0 0 0 0
Import withdraws: 0 0 --- 0 0
Export updates: 0 0 0 --- 0
Export withdraws: 0 --- --- --- 0
device1 Device master up 2018-05-18
Preference: 240
Input filter: ACCEPT
Output filter: REJECT
Routes: 0 imported, 0 exported, 0 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 0 0 0 0 0
Import withdraws: 0 0 --- 0 0
Export updates: 0 0 0 --- 0
Export withdraws: 0 --- --- --- 0
bgp1 BGP master start 2018-05-18 Connect Socket: No route to host
Preference: 100
Input filter: ACCEPT
Output filter: ACCEPT
Routes: 0 imported, 0 exported, 0 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 0 0 0 0 0
Import withdraws: 0 0 --- 0 0
Export updates: 0 0 0 --- 0
Export withdraws: 0 --- --- --- 0
BGP state: Connect
Neighbor address: 192.168.199.13
Neighbor AS: 87654
Last error: Socket: No route to host
Router2 (/etc/bird.conf)
log syslog all;
router id 192.138.199.13;
protocol kernel {
# learn; # Learn all alien routes from the kernel
persist; # Don't remove routes on bird shutdown
scan time 20; # Scan kernel routing table every 20 seconds
# import none; # Default is import all
export all; # Default is export none
# kernel table 5; # Kernel table to synchronize with (default: main)
}
protocol device {
scan time 10; # Scan interfaces every 10 seconds
}
protocol bgp {
import all;
export all;
local as 87654;
neighbor 192.168.199.12 as 76543;
*Router2 (birdc show proto all)*
BIRD 1.4.5 ready.
name proto table state since info
kernel1 Kernel master up 2018-05-18
Preference: 10
Input filter: ACCEPT
Output filter: ACCEPT
Routes: 0 imported, 0 exported, 0 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 0 0 0 0 0
Import withdraws: 0 0 --- 0 0
Export updates: 0 0 0 --- 0
Export withdraws: 0 --- --- --- 0
device1 Device master up 2018-05-18
Preference: 240
Input filter: ACCEPT
Output filter: REJECT
Routes: 0 imported, 0 exported, 0 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 0 0 0 0 0
Import withdraws: 0 0 --- 0 0
Export updates: 0 0 0 --- 0
Export withdraws: 0 --- --- --- 0
bgp1 BGP master start 2018-05-18 Active Socket: No route to host
Preference: 100
Input filter: ACCEPT
Output filter: ACCEPT
Routes: 0 imported, 0 exported, 0 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 0 0 0 0 0
Import withdraws: 0 0 --- 0 0
Export updates: 0 0 0 --- 0
Export withdraws: 0 --- --- --- 0
BGP state: Active
Neighbor address: 192.168.199.12
Neighbor AS: 76543
Start delay: 0/5
Last error: Socket: No route to host
*From:* Bird-users <bird-users-bounces@network.cz> *On Behalf Of *Quan Zhou *Sent:* Monday, June 4, 2018 6:01 PM
*Cc:* bird-users@network.cz *Subject:* Re: BIRD router/route server functions
It'd be more helpful you can provide your `bird.conf` and `birdc show proto all` if all possible.
On Mon, Jun 4, 2018 at 4:54 PM Rae Ho (ITSC) <raeho@cuhk.edu.hk> wrote:
Dear MO,
Thank you very much for your response.
Yes, I followed the sample to set up the routers but don’t why the peering session between them is not established.
Rae
*From:* mo@linx.net <mo@linx.net> *Sent:* Monday, June 4, 2018 4:40 PM *To:* Rae Ho (ITSC) <raeho@cuhk.edu.hk> *Cc:* bird-users@network.cz *Subject:* Re: BIRD router/route server functions
On 4 Jun 2018, at 07:08, Rae Ho (ITSC) <raeho@cuhk.edu.hk> wrote:
Dear All,
I’m Rae of CUHK. We are exploring BIRD router/route server functions.
Now I set up 2 BIRD routers to from BGP session between them, seems It can’t form the peering (in active status).
Questions:
1. Is there any pre-config need to be set up? (i.e. interface? Internal Subnet?)
2. Would you mind sending me some sample configurations?
Rae
Try looking here.
https://gitlab.labs.nic.cz/labs/bird/wikis/Examples
Mo
are you able to ping each other from either host? <-- Yes, Can Ping May I know is there any network/IGP setup first? Rae From: Bird-users <bird-users-bounces@network.cz> On Behalf Of Quan Zhou Sent: Tuesday, June 5, 2018 3:51 PM Cc: bird-users@network.cz Subject: Re: BIRD router/route server functions
Last error: Socket: No route to host
looks like the problem is not with the bird. Although it looks like both hosts are on the same subnet, but are you able to ping each other from either host? On Tue, Jun 5, 2018 at 3:19 PM Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> wrote: Dear Quan Zhou, Thanks for your help. Rae Router1 (/etc/bird.conf) log syslog all; router id 192.168.199.12; protocol kernel { # learn; # Learn all alien routes from the kernel persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds # import none; # Default is import all export all; # Default is export none # kernel table 5; # Kernel table to synchronize with (default: main) } protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol bgp { import all; export all; local as 76543; neighbor 192.168.199.13 as 87654; } Router1 (birdc show proto all) BIRD 1.4.5 ready. name proto table state since info kernel1 Kernel master up 2018-05-18 Preference: 10 Input filter: ACCEPT Output filter: ACCEPT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 device1 Device master up 2018-05-18 Preference: 240 Input filter: ACCEPT Output filter: REJECT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 bgp1 BGP master start 2018-05-18 Connect Socket: No route to host Preference: 100 Input filter: ACCEPT Output filter: ACCEPT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 BGP state: Connect Neighbor address: 192.168.199.13 Neighbor AS: 87654 Last error: Socket: No route to host Router2 (/etc/bird.conf) log syslog all; router id 192.138.199.13; protocol kernel { # learn; # Learn all alien routes from the kernel persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds # import none; # Default is import all export all; # Default is export none # kernel table 5; # Kernel table to synchronize with (default: main) } protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol bgp { import all; export all; local as 87654; neighbor 192.168.199.12 as 76543; Router2 (birdc show proto all) BIRD 1.4.5 ready. name proto table state since info kernel1 Kernel master up 2018-05-18 Preference: 10 Input filter: ACCEPT Output filter: ACCEPT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 device1 Device master up 2018-05-18 Preference: 240 Input filter: ACCEPT Output filter: REJECT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 bgp1 BGP master start 2018-05-18 Active Socket: No route to host Preference: 100 Input filter: ACCEPT Output filter: ACCEPT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 BGP state: Active Neighbor address: 192.168.199.12 Neighbor AS: 76543 Start delay: 0/5 Last error: Socket: No route to host From: Bird-users <bird-users-bounces@network.cz<mailto:bird-users-bounces@network.cz>> On Behalf Of Quan Zhou Sent: Monday, June 4, 2018 6:01 PM Cc: bird-users@network.cz<mailto:bird-users@network.cz> Subject: Re: BIRD router/route server functions It'd be more helpful you can provide your `bird.conf` and `birdc show proto all` if all possible. On Mon, Jun 4, 2018 at 4:54 PM Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> wrote: Dear MO, Thank you very much for your response. Yes, I followed the sample to set up the routers but don’t why the peering session between them is not established. Rae From: mo@linx.net<mailto:mo@linx.net> <mo@linx.net<mailto:mo@linx.net>> Sent: Monday, June 4, 2018 4:40 PM To: Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> Cc: bird-users@network.cz<mailto:bird-users@network.cz> Subject: Re: BIRD router/route server functions On 4 Jun 2018, at 07:08, Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> wrote: Dear All, I’m Rae of CUHK. We are exploring BIRD router/route server functions. Now I set up 2 BIRD routers to from BGP session between them, seems It can’t form the peering (in active status). Questions: 1. Is there any pre-config need to be set up? (i.e. interface? Internal Subnet?) 2. Would you mind sending me some sample configurations? Rae Try looking here. https://gitlab.labs.nic.cz/labs/bird/wikis/Examples Mo
Please try following: ip addr ip route birdc show interfaces On Tue, Jun 5, 2018 at 4:04 PM Rae Ho (ITSC) <raeho@cuhk.edu.hk> wrote:
are you able to ping each other from either host? ß Yes, Can Ping
May I know is there any network/IGP setup first?
if they are directly connected or correctly routed then no prior work needs to be done.
Rae
*From:* Bird-users <bird-users-bounces@network.cz> *On Behalf Of *Quan Zhou *Sent:* Tuesday, June 5, 2018 3:51 PM
*Cc:* bird-users@network.cz *Subject:* Re: BIRD router/route server functions
Last error: Socket: No route to host
looks like the problem is not with the bird. Although it looks like both hosts are on the same subnet, but are you able to ping each other from either host?
On Tue, Jun 5, 2018 at 3:19 PM Rae Ho (ITSC) <raeho@cuhk.edu.hk> wrote:
Dear Quan Zhou,
Thanks for your help. Rae
Router1 (/etc/bird.conf)
log syslog all;
router id 192.168.199.12;
protocol kernel {
# learn; # Learn all alien routes from the kernel
persist; # Don't remove routes on bird shutdown
scan time 20; # Scan kernel routing table every 20 seconds
# import none; # Default is import all
export all; # Default is export none
# kernel table 5; # Kernel table to synchronize with (default: main)
}
protocol device {
scan time 10; # Scan interfaces every 10 seconds
}
protocol bgp {
import all;
export all;
local as 76543;
neighbor 192.168.199.13 as 87654;
}
Router1 (birdc show proto all)
BIRD 1.4.5 ready.
name proto table state since info
kernel1 Kernel master up 2018-05-18
Preference: 10
Input filter: ACCEPT
Output filter: ACCEPT
Routes: 0 imported, 0 exported, 0 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 0 0 0 0 0
Import withdraws: 0 0 --- 0 0
Export updates: 0 0 0 --- 0
Export withdraws: 0 --- --- --- 0
device1 Device master up 2018-05-18
Preference: 240
Input filter: ACCEPT
Output filter: REJECT
Routes: 0 imported, 0 exported, 0 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 0 0 0 0 0
Import withdraws: 0 0 --- 0 0
Export updates: 0 0 0 --- 0
Export withdraws: 0 --- --- --- 0
bgp1 BGP master start 2018-05-18 Connect Socket: No route to host
Preference: 100
Input filter: ACCEPT
Output filter: ACCEPT
Routes: 0 imported, 0 exported, 0 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 0 0 0 0 0
Import withdraws: 0 0 --- 0 0
Export updates: 0 0 0 --- 0
Export withdraws: 0 --- --- --- 0
BGP state: Connect
Neighbor address: 192.168.199.13
Neighbor AS: 87654
Last error: Socket: No route to host
Router2 (/etc/bird.conf)
log syslog all;
router id 192.138.199.13;
protocol kernel {
# learn; # Learn all alien routes from the kernel
persist; # Don't remove routes on bird shutdown
scan time 20; # Scan kernel routing table every 20 seconds
# import none; # Default is import all
export all; # Default is export none
# kernel table 5; # Kernel table to synchronize with (default: main)
}
protocol device {
scan time 10; # Scan interfaces every 10 seconds
}
protocol bgp {
import all;
export all;
local as 87654;
neighbor 192.168.199.12 as 76543;
*Router2 (birdc show proto all)*
BIRD 1.4.5 ready.
name proto table state since info
kernel1 Kernel master up 2018-05-18
Preference: 10
Input filter: ACCEPT
Output filter: ACCEPT
Routes: 0 imported, 0 exported, 0 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 0 0 0 0 0
Import withdraws: 0 0 --- 0 0
Export updates: 0 0 0 --- 0
Export withdraws: 0 --- --- --- 0
device1 Device master up 2018-05-18
Preference: 240
Input filter: ACCEPT
Output filter: REJECT
Routes: 0 imported, 0 exported, 0 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 0 0 0 0 0
Import withdraws: 0 0 --- 0 0
Export updates: 0 0 0 --- 0
Export withdraws: 0 --- --- --- 0
bgp1 BGP master start 2018-05-18 Active Socket: No route to host
Preference: 100
Input filter: ACCEPT
Output filter: ACCEPT
Routes: 0 imported, 0 exported, 0 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 0 0 0 0 0
Import withdraws: 0 0 --- 0 0
Export updates: 0 0 0 --- 0
Export withdraws: 0 --- --- --- 0
BGP state: Active
Neighbor address: 192.168.199.12
Neighbor AS: 76543
Start delay: 0/5
Last error: Socket: No route to host
*From:* Bird-users <bird-users-bounces@network.cz> *On Behalf Of *Quan Zhou *Sent:* Monday, June 4, 2018 6:01 PM
*Cc:* bird-users@network.cz *Subject:* Re: BIRD router/route server functions
It'd be more helpful you can provide your `bird.conf` and `birdc show proto all` if all possible.
On Mon, Jun 4, 2018 at 4:54 PM Rae Ho (ITSC) <raeho@cuhk.edu.hk> wrote:
Dear MO,
Thank you very much for your response.
Yes, I followed the sample to set up the routers but don’t why the peering session between them is not established.
Rae
*From:* mo@linx.net <mo@linx.net> *Sent:* Monday, June 4, 2018 4:40 PM *To:* Rae Ho (ITSC) <raeho@cuhk.edu.hk> *Cc:* bird-users@network.cz *Subject:* Re: BIRD router/route server functions
On 4 Jun 2018, at 07:08, Rae Ho (ITSC) <raeho@cuhk.edu.hk> wrote:
Dear All,
I’m Rae of CUHK. We are exploring BIRD router/route server functions.
Now I set up 2 BIRD routers to from BGP session between them, seems It can’t form the peering (in active status).
Questions:
1. Is there any pre-config need to be set up? (i.e. interface? Internal Subnet?)
2. Would you mind sending me some sample configurations?
Rae
Try looking here.
https://gitlab.labs.nic.cz/labs/bird/wikis/Examples
Mo
Dear Quan Zhou, Thanks. Rae Router1 ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 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: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 link/ether 00:0c:29:37:43:ca brd ff:ff:ff:ff:ff:ff inet 192.168.199.12/24 brd 192.168.199.255 scope global ens160 valid_lft forever preferred_lft forever inet6 fe80::20c:29ff:fe37:43ca/64 scope link valid_lft forever preferred_lft forever [root@gobgp-raeho ~]# ip route default via 192.168.199.254 dev ens160 proto static metric 100 10.99.13.0/24 via 192.168.199.12 dev ens160 proto bird 192.70.0.0/24 via 192.168.199.12 dev ens160 proto bird 192.168.199.0/24 dev ens160 proto kernel scope link src 192.168.199.12 metric 100 [root@gobgp-raeho ~]# birdc show interfaces BIRD 1.4.5 ready. lo up (index=1) MultiAccess AdminUp LinkUp Loopback Ignored MTU=65536 127.0.0.1/8 (Primary, scope host) ens160 up (index=2) MultiAccess Broadcast Multicast AdminUp LinkUp MTU=1500 192.168.199.12/24 (Primary, scope site) Router 2 ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 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: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 link/ether 00:0c:29:37:43:ca brd ff:ff:ff:ff:ff:ff inet 192.168.199.13/24 brd 192.168.199.255 scope global ens160 valid_lft forever preferred_lft forever inet6 fe80::20c:29ff:fe37:43ca/64 scope link tentative dadfailed valid_lft forever preferred_lft forever [root@gobgp2-raeho ~]# ip route default via 192.168.199.254 dev ens160 proto static metric 100 10.99.12.0/24 via 192.168.199.13 dev ens160 proto bird 192.70.3.0/24 via 192.168.199.13 dev ens160 proto bird 192.168.199.0/24 dev ens160 proto kernel scope link src 192.168.199.13 metric 100 [root@gobgp2-raeho ~]# birdc show interfaces BIRD 1.4.5 ready. lo up (index=1) MultiAccess AdminUp LinkUp Loopback Ignored MTU=65536 127.0.0.1/8 (Primary, scope host) ens160 up (index=2) MultiAccess Broadcast Multicast AdminUp LinkUp MTU=1500 192.168.199.13/24 (Primary, scope site) From: Bird-users <bird-users-bounces@network.cz> On Behalf Of Quan Zhou Sent: Tuesday, June 5, 2018 5:08 PM Cc: bird-users@network.cz Subject: Re: BIRD router/route server functions Please try following: ip addr ip route birdc show interfaces On Tue, Jun 5, 2018 at 4:04 PM Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> wrote: are you able to ping each other from either host? <-- Yes, Can Ping May I know is there any network/IGP setup first? if they are directly connected or correctly routed then no prior work needs to be done. Rae From: Bird-users <bird-users-bounces@network.cz<mailto:bird-users-bounces@network.cz>> On Behalf Of Quan Zhou Sent: Tuesday, June 5, 2018 3:51 PM Cc: bird-users@network.cz<mailto:bird-users@network.cz> Subject: Re: BIRD router/route server functions
Last error: Socket: No route to host
looks like the problem is not with the bird. Although it looks like both hosts are on the same subnet, but are you able to ping each other from either host? On Tue, Jun 5, 2018 at 3:19 PM Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> wrote: Dear Quan Zhou, Thanks for your help. Rae Router1 (/etc/bird.conf) log syslog all; router id 192.168.199.12; protocol kernel { # learn; # Learn all alien routes from the kernel persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds # import none; # Default is import all export all; # Default is export none # kernel table 5; # Kernel table to synchronize with (default: main) } protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol bgp { import all; export all; local as 76543; neighbor 192.168.199.13 as 87654; } Router1 (birdc show proto all) BIRD 1.4.5 ready. name proto table state since info kernel1 Kernel master up 2018-05-18 Preference: 10 Input filter: ACCEPT Output filter: ACCEPT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 device1 Device master up 2018-05-18 Preference: 240 Input filter: ACCEPT Output filter: REJECT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 bgp1 BGP master start 2018-05-18 Connect Socket: No route to host Preference: 100 Input filter: ACCEPT Output filter: ACCEPT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 BGP state: Connect Neighbor address: 192.168.199.13 Neighbor AS: 87654 Last error: Socket: No route to host Router2 (/etc/bird.conf) log syslog all; router id 192.138.199.13; protocol kernel { # learn; # Learn all alien routes from the kernel persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds # import none; # Default is import all export all; # Default is export none # kernel table 5; # Kernel table to synchronize with (default: main) } protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol bgp { import all; export all; local as 87654; neighbor 192.168.199.12 as 76543; Router2 (birdc show proto all) BIRD 1.4.5 ready. name proto table state since info kernel1 Kernel master up 2018-05-18 Preference: 10 Input filter: ACCEPT Output filter: ACCEPT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 device1 Device master up 2018-05-18 Preference: 240 Input filter: ACCEPT Output filter: REJECT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 bgp1 BGP master start 2018-05-18 Active Socket: No route to host Preference: 100 Input filter: ACCEPT Output filter: ACCEPT Routes: 0 imported, 0 exported, 0 preferred Route change stats: received rejected filtered ignored accepted Import updates: 0 0 0 0 0 Import withdraws: 0 0 --- 0 0 Export updates: 0 0 0 --- 0 Export withdraws: 0 --- --- --- 0 BGP state: Active Neighbor address: 192.168.199.12 Neighbor AS: 76543 Start delay: 0/5 Last error: Socket: No route to host From: Bird-users <bird-users-bounces@network.cz<mailto:bird-users-bounces@network.cz>> On Behalf Of Quan Zhou Sent: Monday, June 4, 2018 6:01 PM Cc: bird-users@network.cz<mailto:bird-users@network.cz> Subject: Re: BIRD router/route server functions It'd be more helpful you can provide your `bird.conf` and `birdc show proto all` if all possible. On Mon, Jun 4, 2018 at 4:54 PM Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> wrote: Dear MO, Thank you very much for your response. Yes, I followed the sample to set up the routers but don’t why the peering session between them is not established. Rae From: mo@linx.net<mailto:mo@linx.net> <mo@linx.net<mailto:mo@linx.net>> Sent: Monday, June 4, 2018 4:40 PM To: Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> Cc: bird-users@network.cz<mailto:bird-users@network.cz> Subject: Re: BIRD router/route server functions On 4 Jun 2018, at 07:08, Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> wrote: Dear All, I’m Rae of CUHK. We are exploring BIRD router/route server functions. Now I set up 2 BIRD routers to from BGP session between them, seems It can’t form the peering (in active status). Questions: 1. Is there any pre-config need to be set up? (i.e. interface? Internal Subnet?) 2. Would you mind sending me some sample configurations? Rae Try looking here. https://gitlab.labs.nic.cz/labs/bird/wikis/Examples Mo
On Tue, Jun 05, 2018 at 09:29:08AM +0000, Rae Ho (ITSC) wrote:
Dear Quan Zhou, Thanks. Rae
Hi Your setup looks OK. You could use tcpdump on ens160 to see if there are BGP connection attempts in both directions. Also, is there anything interesting in BIRD logs? You should also upgrade BIRD, version 1.4.5 is too old. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Last error: Socket: No route to host <-- -----Original Message----- From: Ondrej Zajicek <santiago@crfreenet.org> Sent: Tuesday, June 5, 2018 8:57 PM To: Rae Ho (ITSC) <raeho@cuhk.edu.hk> Cc: Quan Zhou <quanzhou822@gmail.com>; bird-users@network.cz Subject: Re: BIRD router/route server functions On Tue, Jun 05, 2018 at 09:29:08AM +0000, Rae Ho (ITSC) wrote:
Dear Quan Zhou, Thanks. Rae
Hi Your setup looks OK. You could use tcpdump on ens160 to see if there are BGP connection attempts in both directions. Also, is there anything interesting in BIRD logs? You should also upgrade BIRD, version 1.4.5 is too old. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
tcpdump -i ens160 'tcp port 179 and host 192.168.199.13' tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes 11:52:14.026373 IP bird1.cuhk.edu.hk.54372 > 192.168.199.13.bgp: Flags [S], seq 256428900, win 29200, options [mss 1460,sackOK,TS val 2230497637 ecr 0,nop,wscale 7], length 0 11:52:14.401556 IP 192.168.199.13.51631 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 3989668659, win 29200, options [mss 1460,sackOK,TS val 2230734469 ecr 0,nop,wscale 7], length 0 11:52:18.031631 IP bird1.cuhk.edu.hk.58460 > 192.168.199.13.bgp: Flags [S], seq 3350460062, win 29200, options [mss 1460,sackOK,TS val 2230501642 ecr 0,nop,wscale 7], length 0 11:52:19.405962 IP 192.168.199.13.54429 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 573528156, win 29200, options [mss 1460,sackOK,TS val 2230739473 ecr 0,nop,wscale 7], length 0 tcpdump -i ens160 'tcp port 179 and host 192.168.199.12' tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes 11:52:03.595665 IP 192.168.199.12.53662 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 708312977, win 29200, options [mss 1460,sackOK,TS val 2230487710 ecr 0,nop,wscale 7], length 0 11:52:03.884791 IP bird2.cuhk.edu.hk.39590 > 192.168.199.12.bgp: Flags [S], seq 2978908357, win 29200, options [mss 1460,sackOK,TS val 2230724456 ecr 0,nop,wscale 7], length 0 11:52:07.600739 IP 192.168.199.12.54354 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 562475138, win 29200, options [mss 1460,sackOK,TS val 2230491715 ecr 0,nop,wscale 7], length 0 11:52:07.889979 IP bird2.cuhk.edu.hk.59598 > 192.168.199.12.bgp: Flags [S], seq 2985453764, win 29200, options [mss 1460,sackOK,TS val 2230728462 ecr 0,nop,wscale 7], length 0 Seems the problem is domain name? -----Original Message----- From: Bird-users <bird-users-bounces@network.cz> On Behalf Of Rae Ho (ITSC) Sent: Wednesday, June 6, 2018 11:13 AM To: Ondrej Zajicek <santiago@crfreenet.org> Cc: bird-users@network.cz Subject: RE: BIRD router/route server functions Last error: Socket: No route to host <-- -----Original Message----- From: Ondrej Zajicek <santiago@crfreenet.org<mailto:santiago@crfreenet.org>> Sent: Tuesday, June 5, 2018 8:57 PM To: Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> Cc: Quan Zhou <quanzhou822@gmail.com<mailto:quanzhou822@gmail.com>>; bird-users@network.cz<mailto:bird-users@network.cz> Subject: Re: BIRD router/route server functions On Tue, Jun 05, 2018 at 09:29:08AM +0000, Rae Ho (ITSC) wrote:
Dear Quan Zhou, Thanks. Rae
Hi Your setup looks OK. You could use tcpdump on ens160 to see if there are BGP connection attempts in both directions. Also, is there anything interesting in BIRD logs? You should also upgrade BIRD, version 1.4.5 is too old. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org<mailto:santiago@crfreenet.org>) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
You should also upgrade BIRD, version 1.4.5 is too old. Could provide me the upgrade procedure? Rae From: Rae Ho (ITSC) Sent: Wednesday, June 6, 2018 12:04 PM To: Rae Ho (ITSC) <raeho@cuhk.edu.hk>; Ondrej Zajicek <santiago@crfreenet.org> Cc: bird-users@network.cz Subject: RE: BIRD router/route server functions tcpdump -i ens160 'tcp port 179 and host 192.168.199.13' tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes 11:52:14.026373 IP bird1.cuhk.edu.hk.54372 > 192.168.199.13.bgp: Flags [S], seq 256428900, win 29200, options [mss 1460,sackOK,TS val 2230497637 ecr 0,nop,wscale 7], length 0 11:52:14.401556 IP 192.168.199.13.51631 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 3989668659, win 29200, options [mss 1460,sackOK,TS val 2230734469 ecr 0,nop,wscale 7], length 0 11:52:18.031631 IP bird1.cuhk.edu.hk.58460 > 192.168.199.13.bgp: Flags [S], seq 3350460062, win 29200, options [mss 1460,sackOK,TS val 2230501642 ecr 0,nop,wscale 7], length 0 11:52:19.405962 IP 192.168.199.13.54429 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 573528156, win 29200, options [mss 1460,sackOK,TS val 2230739473 ecr 0,nop,wscale 7], length 0 tcpdump -i ens160 'tcp port 179 and host 192.168.199.12' tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes 11:52:03.595665 IP 192.168.199.12.53662 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 708312977, win 29200, options [mss 1460,sackOK,TS val 2230487710 ecr 0,nop,wscale 7], length 0 11:52:03.884791 IP bird2.cuhk.edu.hk.39590 > 192.168.199.12.bgp: Flags [S], seq 2978908357, win 29200, options [mss 1460,sackOK,TS val 2230724456 ecr 0,nop,wscale 7], length 0 11:52:07.600739 IP 192.168.199.12.54354 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 562475138, win 29200, options [mss 1460,sackOK,TS val 2230491715 ecr 0,nop,wscale 7], length 0 11:52:07.889979 IP bird2.cuhk.edu.hk.59598 > 192.168.199.12.bgp: Flags [S], seq 2985453764, win 29200, options [mss 1460,sackOK,TS val 2230728462 ecr 0,nop,wscale 7], length 0 Seems the problem is domain name? -----Original Message----- From: Bird-users <bird-users-bounces@network.cz<mailto:bird-users-bounces@network.cz>> On Behalf Of Rae Ho (ITSC) Sent: Wednesday, June 6, 2018 11:13 AM To: Ondrej Zajicek <santiago@crfreenet.org<mailto:santiago@crfreenet.org>> Cc: bird-users@network.cz<mailto:bird-users@network.cz> Subject: RE: BIRD router/route server functions Last error: Socket: No route to host <-- -----Original Message----- From: Ondrej Zajicek <santiago@crfreenet.org<mailto:santiago@crfreenet.org>> Sent: Tuesday, June 5, 2018 8:57 PM To: Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> Cc: Quan Zhou <quanzhou822@gmail.com<mailto:quanzhou822@gmail.com>>; bird-users@network.cz<mailto:bird-users@network.cz> Subject: Re: BIRD router/route server functions On Tue, Jun 05, 2018 at 09:29:08AM +0000, Rae Ho (ITSC) wrote:
Dear Quan Zhou, Thanks. Rae
Hi Your setup looks OK. You could use tcpdump on ens160 to see if there are BGP connection attempts in both directions. Also, is there anything interesting in BIRD logs? You should also upgrade BIRD, version 1.4.5 is too old. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org<mailto:santiago@crfreenet.org>) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Could provide me the upgrade procedure? Thanks. Rae 2018-06-06 14:10 GMT+08:00 Rae Ho (ITSC) <raeho@cuhk.edu.hk>:
You should also upgrade BIRD, version 1.4.5 is too old.
Could provide me the upgrade procedure?
Rae
*From:* Rae Ho (ITSC) *Sent:* Wednesday, June 6, 2018 12:04 PM *To:* Rae Ho (ITSC) <raeho@cuhk.edu.hk>; Ondrej Zajicek < santiago@crfreenet.org> *Cc:* bird-users@network.cz *Subject:* RE: BIRD router/route server functions
tcpdump -i ens160 'tcp port 179 and host 192.168.199.13'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes
11:52:14.026373 IP bird1.cuhk.edu.hk.54372 > 192.168.199.13.bgp: Flags [S], seq 256428900, win 29200, options [mss 1460,sackOK,TS val 2230497637 ecr 0,nop,wscale 7], length 0
11:52:14.401556 IP 192.168.199.13.51631 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 3989668659, win 29200, options [mss 1460,sackOK,TS val 2230734469 ecr 0,nop,wscale 7], length 0
11:52:18.031631 IP bird1.cuhk.edu.hk.58460 > 192.168.199.13.bgp: Flags [S], seq 3350460062, win 29200, options [mss 1460,sackOK,TS val 2230501642 ecr 0,nop,wscale 7], length 0
11:52:19.405962 IP 192.168.199.13.54429 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 573528156, win 29200, options [mss 1460,sackOK,TS val 2230739473 ecr 0,nop,wscale 7], length 0
tcpdump -i ens160 'tcp port 179 and host 192.168.199.12'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes
11:52:03.595665 IP 192.168.199.12.53662 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 708312977, win 29200, options [mss 1460,sackOK,TS val 2230487710 ecr 0,nop,wscale 7], length 0
11:52:03.884791 IP bird2.cuhk.edu.hk.39590 > 192.168.199.12.bgp: Flags [S], seq 2978908357, win 29200, options [mss 1460,sackOK,TS val 2230724456 ecr 0,nop,wscale 7], length 0
11:52:07.600739 IP 192.168.199.12.54354 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 562475138, win 29200, options [mss 1460,sackOK,TS val 2230491715 ecr 0,nop,wscale 7], length 0
11:52:07.889979 IP bird2.cuhk.edu.hk.59598 > 192.168.199.12.bgp: Flags [S], seq 2985453764, win 29200, options [mss 1460,sackOK,TS val 2230728462 ecr 0,nop,wscale 7], length 0
Seems the problem is domain name?
-----Original Message----- From: Bird-users <bird-users-bounces@network.cz> On Behalf Of Rae Ho (ITSC) Sent: Wednesday, June 6, 2018 11:13 AM To: Ondrej Zajicek <santiago@crfreenet.org> Cc: bird-users@network.cz Subject: RE: BIRD router/route server functions
Last error: Socket: No route to host <--
-----Original Message-----
From: Ondrej Zajicek <santiago@crfreenet.org>
Sent: Tuesday, June 5, 2018 8:57 PM
To: Rae Ho (ITSC) <raeho@cuhk.edu.hk>
Cc: Quan Zhou <quanzhou822@gmail.com>; bird-users@network.cz
Subject: Re: BIRD router/route server functions
On Tue, Jun 05, 2018 at 09:29:08AM +0000, Rae Ho (ITSC) wrote:
Dear Quan Zhou, Thanks. Rae
Hi
Your setup looks OK. You could use tcpdump on ens160 to see if there are BGP connection attempts in both directions. Also, is there anything interesting in BIRD logs?
You should also upgrade BIRD, version 1.4.5 is too old.
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Remove the old one, install the new one, shutdown the old one, run the new one. BIRD is simple. No docker images, no upgrade procedures. Maria On 06/11/2018 05:35 AM, Isaac HO wrote:
Could provide me the upgrade procedure? Thanks.____
Rae
__
2018-06-06 14:10 GMT+08:00 Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk>>:
You should also upgrade BIRD, version 1.4.5 is too old.____
Could provide me the upgrade procedure?____
__ __
Rae____
__ __
*From:*Rae Ho (ITSC) *Sent:* Wednesday, June 6, 2018 12:04 PM *To:* Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk>>; Ondrej Zajicek <santiago@crfreenet.org <mailto:santiago@crfreenet.org>> *Cc:* bird-users@network.cz <mailto:bird-users@network.cz> *Subject:* RE: BIRD router/route server functions____
__ __
tcpdump -i ens160 'tcp port 179 and host 192.168.199.13'____
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode____
listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes____
11:52:14.026373 IP bird1.cuhk.edu.hk.54372 > 192.168.199.13.bgp: Flags [S], seq 256428900, win 29200, options [mss 1460,sackOK,TS val 2230497637 ecr 0,nop,wscale 7], length 0____
11:52:14.401556 IP 192.168.199.13.51631 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 3989668659, win 29200, options [mss 1460,sackOK,TS val 2230734469 ecr 0,nop,wscale 7], length 0____
11:52:18.031631 IP bird1.cuhk.edu.hk.58460 > 192.168.199.13.bgp: Flags [S], seq 3350460062, win 29200, options [mss 1460,sackOK,TS val 2230501642 ecr 0,nop,wscale 7], length 0____
11:52:19.405962 IP 192.168.199.13.54429 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 573528156, win 29200, options [mss 1460,sackOK,TS val 2230739473 ecr 0,nop,wscale 7], length 0____
__ __
tcpdump -i ens160 'tcp port 179 and host 192.168.199.12'____
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode____
listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes____
11:52:03.595665 IP 192.168.199.12.53662 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 708312977, win 29200, options [mss 1460,sackOK,TS val 2230487710 ecr 0,nop,wscale 7], length 0____
11:52:03.884791 IP bird2.cuhk.edu.hk.39590 > 192.168.199.12.bgp: Flags [S], seq 2978908357, win 29200, options [mss 1460,sackOK,TS val 2230724456 ecr 0,nop,wscale 7], length 0____
11:52:07.600739 IP 192.168.199.12.54354 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 562475138, win 29200, options [mss 1460,sackOK,TS val 2230491715 ecr 0,nop,wscale 7], length 0____
11:52:07.889979 IP bird2.cuhk.edu.hk.59598 > 192.168.199.12.bgp: Flags [S], seq 2985453764, win 29200, options [mss 1460,sackOK,TS val 2230728462 ecr 0,nop,wscale 7], length 0____
__ __
Seems the problem is domain name?____
__ __
-----Original Message----- From: Bird-users <bird-users-bounces@network.cz <mailto:bird-users-bounces@network.cz>> On Behalf Of Rae Ho (ITSC) Sent: Wednesday, June 6, 2018 11:13 AM To: Ondrej Zajicek <santiago@crfreenet.org <mailto:santiago@crfreenet.org>> Cc: bird-users@network.cz <mailto:bird-users@network.cz> Subject: RE: BIRD router/route server functions____
__ __
Last error: Socket: No route to host <-- ____
__ __
-----Original Message-----____
From: Ondrej Zajicek <santiago@crfreenet.org <mailto:santiago@crfreenet.org>> ____
Sent: Tuesday, June 5, 2018 8:57 PM____
To: Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk>>____
Cc: Quan Zhou <quanzhou822@gmail.com <mailto:quanzhou822@gmail.com>>; bird-users@network.cz <mailto:bird-users@network.cz>____
Subject: Re: BIRD router/route server functions____
__ __
On Tue, Jun 05, 2018 at 09:29:08AM +0000, Rae Ho (ITSC) wrote:____
> Dear Quan Zhou, Thanks. Rae____
__ __
Hi____
__ __
Your setup looks OK. You could use tcpdump on ens160 to see if there are BGP connection attempts in both directions. Also, is there anything interesting in BIRD logs?____
__ __
You should also upgrade BIRD, version 1.4.5 is too old.____
__ __
--____
Elen sila lumenn' omentielvo____
__ __
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org <mailto:santiago@crfreenet.org>) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net <http://wwwkeys.pgp.net>) "To err is human -- to blame it on a computer is even more so."____
__ __
Which version is recommended? Thanks, On Mon, 11 Jun 2018 at 16:11, Jan Maria Matejka <jan.matejka@nic.cz> wrote:
Remove the old one, install the new one, shutdown the old one, run the new one. BIRD is simple. No docker images, no upgrade procedures.
Maria
On 06/11/2018 05:35 AM, Isaac HO wrote:
Could provide me the upgrade procedure? Thanks.____
Rae
__
2018-06-06 14:10 GMT+08:00 Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk>>:
You should also upgrade BIRD, version 1.4.5 is too old.____
Could provide me the upgrade procedure?____
__ __
Rae____
__ __
*From:*Rae Ho (ITSC) *Sent:* Wednesday, June 6, 2018 12:04 PM *To:* Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk>>; Ondrej Zajicek <santiago@crfreenet.org <mailto: santiago@crfreenet.org>> *Cc:* bird-users@network.cz <mailto:bird-users@network.cz> *Subject:* RE: BIRD router/route server functions____
__ __
tcpdump -i ens160 'tcp port 179 and host 192.168.199.13'____
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode____
listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes____
11:52:14.026373 IP bird1.cuhk.edu.hk.54372 > 192.168.199.13.bgp: Flags [S], seq 256428900, win 29200, options [mss 1460,sackOK,TS val 2230497637 ecr 0,nop,wscale 7], length 0____
11:52:14.401556 IP 192.168.199.13.51631 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 3989668659, win 29200, options [mss 1460,sackOK,TS val 2230734469 ecr 0,nop,wscale 7], length 0____
11:52:18.031631 IP bird1.cuhk.edu.hk.58460 > 192.168.199.13.bgp: Flags [S], seq 3350460062, win 29200, options [mss 1460,sackOK,TS val 2230501642 ecr 0,nop,wscale 7], length 0____
11:52:19.405962 IP 192.168.199.13.54429 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 573528156, win 29200, options [mss 1460,sackOK,TS val 2230739473 ecr 0,nop,wscale 7], length 0____
__ __
tcpdump -i ens160 'tcp port 179 and host 192.168.199.12'____
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode____
listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes____
11:52:03.595665 IP 192.168.199.12.53662 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 708312977, win 29200, options [mss 1460,sackOK,TS val 2230487710 ecr 0,nop,wscale 7], length 0____
11:52:03.884791 IP bird2.cuhk.edu.hk.39590 > 192.168.199.12.bgp: Flags [S], seq 2978908357, win 29200, options [mss 1460,sackOK,TS val 2230724456 ecr 0,nop,wscale 7], length 0____
11:52:07.600739 IP 192.168.199.12.54354 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 562475138, win 29200, options [mss 1460,sackOK,TS val 2230491715 ecr 0,nop,wscale 7], length 0____
11:52:07.889979 IP bird2.cuhk.edu.hk.59598 > 192.168.199.12.bgp: Flags [S], seq 2985453764, win 29200, options [mss 1460,sackOK,TS val 2230728462 ecr 0,nop,wscale 7], length 0____
__ __
Seems the problem is domain name?____
__ __
-----Original Message----- From: Bird-users <bird-users-bounces@network.cz <mailto:bird-users-bounces@network.cz>> On Behalf Of Rae Ho (ITSC) Sent: Wednesday, June 6, 2018 11:13 AM To: Ondrej Zajicek <santiago@crfreenet.org <mailto:santiago@crfreenet.org>> Cc: bird-users@network.cz <mailto:bird-users@network.cz> Subject: RE: BIRD router/route server functions____
__ __
Last error: Socket: No route to host <-- ____
__ __
-----Original Message-----____
From: Ondrej Zajicek <santiago@crfreenet.org <mailto:santiago@crfreenet.org>> ____
Sent: Tuesday, June 5, 2018 8:57 PM____
To: Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk>>____
Cc: Quan Zhou <quanzhou822@gmail.com <mailto:quanzhou822@gmail.com>>; bird-users@network.cz <mailto:bird-users@network.cz>____
Subject: Re: BIRD router/route server functions____
__ __
On Tue, Jun 05, 2018 at 09:29:08AM +0000, Rae Ho (ITSC) wrote:____
> Dear Quan Zhou, Thanks. Rae____
__ __
Hi____
__ __
Your setup looks OK. You could use tcpdump on ens160 to see if there are BGP connection attempts in both directions. Also, is there anything interesting in BIRD logs?____
__ __
You should also upgrade BIRD, version 1.4.5 is too old.____
__ __
--____
Elen sila lumenn' omentielvo____
__ __
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org <mailto:santiago@crfreenet.org>) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net <http://wwwkeys.pgp.net>) "To err is human -- to blame it on a computer is even more so."____
__ __
The last. If you don't care about new features, stay at 1.x, current is 1.6.4, otherwise upgrade to 2.x where you have to update also your configs quite a lot. Maria On June 11, 2018 4:41:56 PM GMT+02:00, Isaac HO <isaacho.jc@gmail.com> wrote:
Which version is recommended? Thanks,
On Mon, 11 Jun 2018 at 16:11, Jan Maria Matejka <jan.matejka@nic.cz> wrote:
Remove the old one, install the new one, shutdown the old one, run the new one. BIRD is simple. No docker images, no upgrade procedures.
Maria
On 06/11/2018 05:35 AM, Isaac HO wrote:
Could provide me the upgrade procedure? Thanks.____
Rae
__
2018-06-06 14:10 GMT+08:00 Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk>>:
You should also upgrade BIRD, version 1.4.5 is too old.____
Could provide me the upgrade procedure?____
__ __
Rae____
__ __
*From:*Rae Ho (ITSC) *Sent:* Wednesday, June 6, 2018 12:04 PM *To:* Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk>>; Ondrej Zajicek <santiago@crfreenet.org <mailto: santiago@crfreenet.org>> *Cc:* bird-users@network.cz <mailto:bird-users@network.cz> *Subject:* RE: BIRD router/route server functions____
__ __
tcpdump -i ens160 'tcp port 179 and host 192.168.199.13'____
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode____
listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes____
11:52:14.026373 IP bird1.cuhk.edu.hk.54372 > 192.168.199.13.bgp: Flags [S], seq 256428900, win 29200, options [mss 1460,sackOK,TS val 2230497637 ecr 0,nop,wscale 7], length 0____
11:52:14.401556 IP 192.168.199.13.51631 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 3989668659, win 29200, options [mss 1460,sackOK,TS val 2230734469 ecr 0,nop,wscale 7], length 0____
11:52:18.031631 IP bird1.cuhk.edu.hk.58460 > 192.168.199.13.bgp: Flags [S], seq 3350460062, win 29200, options [mss 1460,sackOK,TS val 2230501642 ecr 0,nop,wscale 7], length 0____
11:52:19.405962 IP 192.168.199.13.54429 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 573528156, win 29200, options [mss 1460,sackOK,TS val 2230739473 ecr 0,nop,wscale 7], length 0____
__ __
tcpdump -i ens160 'tcp port 179 and host 192.168.199.12'____
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode____
listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes____
11:52:03.595665 IP 192.168.199.12.53662 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 708312977, win 29200, options [mss 1460,sackOK,TS val 2230487710 ecr 0,nop,wscale 7], length 0____
11:52:03.884791 IP bird2.cuhk.edu.hk.39590 > 192.168.199.12.bgp: Flags [S], seq 2978908357, win 29200, options [mss 1460,sackOK,TS val 2230724456 ecr 0,nop,wscale 7], length 0____
11:52:07.600739 IP 192.168.199.12.54354 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 562475138, win 29200, options [mss 1460,sackOK,TS val 2230491715 ecr 0,nop,wscale 7], length 0____
11:52:07.889979 IP bird2.cuhk.edu.hk.59598 > 192.168.199.12.bgp: Flags [S], seq 2985453764, win 29200, options [mss 1460,sackOK,TS val 2230728462 ecr 0,nop,wscale 7], length 0____
__ __
Seems the problem is domain name?____
__ __
-----Original Message----- From: Bird-users <bird-users-bounces@network.cz <mailto:bird-users-bounces@network.cz>> On Behalf Of Rae Ho (ITSC) Sent: Wednesday, June 6, 2018 11:13 AM To: Ondrej Zajicek <santiago@crfreenet.org <mailto:santiago@crfreenet.org>> Cc: bird-users@network.cz <mailto:bird-users@network.cz> Subject: RE: BIRD router/route server functions____
__ __
Last error: Socket: No route to host <-- ____
__ __
-----Original Message-----____
From: Ondrej Zajicek <santiago@crfreenet.org <mailto:santiago@crfreenet.org>> ____
Sent: Tuesday, June 5, 2018 8:57 PM____
To: Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk>>____
Cc: Quan Zhou <quanzhou822@gmail.com <mailto:quanzhou822@gmail.com>>; bird-users@network.cz <mailto:bird-users@network.cz>____
Subject: Re: BIRD router/route server functions____
__ __
On Tue, Jun 05, 2018 at 09:29:08AM +0000, Rae Ho (ITSC) wrote:____
> Dear Quan Zhou, Thanks. Rae____
__ __
Hi____
__ __
Your setup looks OK. You could use tcpdump on ens160 to see if there are BGP connection attempts in both directions. Also, is there anything interesting in BIRD logs?____
__ __
You should also upgrade BIRD, version 1.4.5 is too old.____
__ __
--____
Elen sila lumenn' omentielvo____
__ __
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org <mailto:santiago@crfreenet.org>) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net <http://wwwkeys.pgp.net>) "To err is human -- to blame it on a computer is even more so."____
__ __
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Seems i am using CentOS .... seems there is latest version for it. Thanks On Mon, 11 Jun 2018 at 23:27, Maria Jan Matějka <jan.matejka@nic.cz> wrote:
The last. If you don't care about new features, stay at 1.x, current is 1.6.4, otherwise upgrade to 2.x where you have to update also your configs quite a lot. Maria
On June 11, 2018 4:41:56 PM GMT+02:00, Isaac HO <isaacho.jc@gmail.com> wrote:
Which version is recommended? Thanks,
On Mon, 11 Jun 2018 at 16:11, Jan Maria Matejka <jan.matejka@nic.cz> wrote:
Remove the old one, install the new one, shutdown the old one, run the new one. BIRD is simple. No docker images, no upgrade procedures.
Maria
On 06/11/2018 05:35 AM, Isaac HO wrote:
Could provide me the upgrade procedure? Thanks.____
Rae
__
2018-06-06 14:10 GMT+08:00 Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk>>:
You should also upgrade BIRD, version 1.4.5 is too old.____
Could provide me the upgrade procedure?____
__ __
Rae____
__ __
*From:*Rae Ho (ITSC) *Sent:* Wednesday, June 6, 2018 12:04 PM *To:* Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk
; Ondrej Zajicek <santiago@crfreenet.org <mailto: santiago@crfreenet.org>> *Cc:* bird-users@network.cz <mailto:bird-users@network.cz> *Subject:* RE: BIRD router/route server functions____
__ __
tcpdump -i ens160 'tcp port 179 and host 192.168.199.13'____
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode____
listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes____
11:52:14.026373 IP bird1.cuhk.edu.hk.54372 > 192.168.199.13.bgp: Flags [S], seq 256428900, win 29200, options [mss 1460,sackOK,TS val 2230497637 ecr 0,nop,wscale 7], length 0____
11:52:14.401556 IP 192.168.199.13.51631 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 3989668659, win 29200, options [mss 1460,sackOK,TS val 2230734469 ecr 0,nop,wscale 7], length 0____
11:52:18.031631 IP bird1.cuhk.edu.hk.58460 > 192.168.199.13.bgp: Flags [S], seq 3350460062, win 29200, options [mss 1460,sackOK,TS val 2230501642 ecr 0,nop,wscale 7], length 0____
11:52:19.405962 IP 192.168.199.13.54429 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 573528156, win 29200, options [mss 1460,sackOK,TS val 2230739473 ecr 0,nop,wscale 7], length 0____
__ __
tcpdump -i ens160 'tcp port 179 and host 192.168.199.12'____
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode____
listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes____
11:52:03.595665 IP 192.168.199.12.53662 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 708312977, win 29200, options [mss 1460,sackOK,TS val 2230487710 ecr 0,nop,wscale 7], length 0____
11:52:03.884791 IP bird2.cuhk.edu.hk.39590 > 192.168.199.12.bgp: Flags [S], seq 2978908357, win 29200, options [mss 1460,sackOK,TS val 2230724456 ecr 0,nop,wscale 7], length 0____
11:52:07.600739 IP 192.168.199.12.54354 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 562475138, win 29200, options [mss 1460,sackOK,TS val 2230491715 ecr 0,nop,wscale 7], length 0____
11:52:07.889979 IP bird2.cuhk.edu.hk.59598 > 192.168.199.12.bgp: Flags [S], seq 2985453764, win 29200, options [mss 1460,sackOK,TS val 2230728462 ecr 0,nop,wscale 7], length 0____
__ __
Seems the problem is domain name?____
__ __
-----Original Message----- From: Bird-users <bird-users-bounces@network.cz <mailto:bird-users-bounces@network.cz>> On Behalf Of Rae Ho (ITSC) Sent: Wednesday, June 6, 2018 11:13 AM To: Ondrej Zajicek <santiago@crfreenet.org <mailto:santiago@crfreenet.org>> Cc: bird-users@network.cz <mailto:bird-users@network.cz> Subject: RE: BIRD router/route server functions____
__ __
Last error: Socket: No route to host <-- ____
__ __
-----Original Message-----____
From: Ondrej Zajicek <santiago@crfreenet.org <mailto:santiago@crfreenet.org>> ____
Sent: Tuesday, June 5, 2018 8:57 PM____
To: Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk
____
Cc: Quan Zhou <quanzhou822@gmail.com <mailto:quanzhou822@gmail.com>>; bird-users@network.cz <mailto:bird-users@network.cz>____
Subject: Re: BIRD router/route server functions____
__ __
On Tue, Jun 05, 2018 at 09:29:08AM +0000, Rae Ho (ITSC) wrote:____
> Dear Quan Zhou, Thanks. Rae____
__ __
Hi____
__ __
Your setup looks OK. You could use tcpdump on ens160 to see if there are BGP connection attempts in both directions. Also, is there anything interesting in BIRD logs?____
__ __
You should also upgrade BIRD, version 1.4.5 is too old.____
__ __
--____
Elen sila lumenn' omentielvo____
__ __
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org <mailto:santiago@crfreenet.org>) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net <http://wwwkeys.pgp.net>) "To err is human -- to blame it on a computer is even more so."____
__ __
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
the Error: Last error: Socket: No route to host To added this rule on both routers' iptables: ACCEPT tcp -- 192.168.199.0/24 anywhere tcp dpt:bgp upgrade the version birdc show protocols BIRD 1.6.4 ready. name proto table state since info kernel1 Kernel master up 16:50:53 device1 Device master up 16:50:53 static_bgp Static master up 16:50:53 bgp1 BGP master start 16:50:53 Active Socket: No route to host Would you please all advise? 2018-06-12 8:51 GMT+08:00 Isaac HO <isaacho.jc@gmail.com>:
Seems i am using CentOS .... seems there is latest version for it. Thanks
On Mon, 11 Jun 2018 at 23:27, Maria Jan Matějka <jan.matejka@nic.cz> wrote:
The last. If you don't care about new features, stay at 1.x, current is 1.6.4, otherwise upgrade to 2.x where you have to update also your configs quite a lot. Maria
On June 11, 2018 4:41:56 PM GMT+02:00, Isaac HO <isaacho.jc@gmail.com> wrote:
Which version is recommended? Thanks,
On Mon, 11 Jun 2018 at 16:11, Jan Maria Matejka <jan.matejka@nic.cz> wrote:
Remove the old one, install the new one, shutdown the old one, run the new one. BIRD is simple. No docker images, no upgrade procedures.
Maria
On 06/11/2018 05:35 AM, Isaac HO wrote:
Could provide me the upgrade procedure? Thanks.____
Rae
__
2018-06-06 14:10 GMT+08:00 Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk>>:
You should also upgrade BIRD, version 1.4.5 is too old.____
Could provide me the upgrade procedure?____
__ __
Rae____
__ __
*From:*Rae Ho (ITSC) *Sent:* Wednesday, June 6, 2018 12:04 PM *To:* Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk
; Ondrej Zajicek <santiago@crfreenet.org <mailto: santiago@crfreenet.org>> *Cc:* bird-users@network.cz <mailto:bird-users@network.cz> *Subject:* RE: BIRD router/route server functions____
__ __
tcpdump -i ens160 'tcp port 179 and host 192.168.199.13'____
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode____
listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes____
11:52:14.026373 IP bird1.cuhk.edu.hk.54372 > 192.168.199.13.bgp: Flags [S], seq 256428900, win 29200, options [mss 1460,sackOK,TS val 2230497637 ecr 0,nop,wscale 7], length 0____
11:52:14.401556 IP 192.168.199.13.51631 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 3989668659, win 29200, options [mss 1460,sackOK,TS val 2230734469 ecr 0,nop,wscale 7], length 0____
11:52:18.031631 IP bird1.cuhk.edu.hk.58460 > 192.168.199.13.bgp: Flags [S], seq 3350460062, win 29200, options [mss 1460,sackOK,TS val 2230501642 ecr 0,nop,wscale 7], length 0____
11:52:19.405962 IP 192.168.199.13.54429 > bird1.cuhk.edu.hk.bgp: Flags [S], seq 573528156, win 29200, options [mss 1460,sackOK,TS val 2230739473 ecr 0,nop,wscale 7], length 0____
__ __
tcpdump -i ens160 'tcp port 179 and host 192.168.199.12'____
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode____
listening on ens160, link-type EN10MB (Ethernet), capture size 65535 bytes____
11:52:03.595665 IP 192.168.199.12.53662 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 708312977, win 29200, options [mss 1460,sackOK,TS val 2230487710 ecr 0,nop,wscale 7], length 0____
11:52:03.884791 IP bird2.cuhk.edu.hk.39590 > 192.168.199.12.bgp: Flags [S], seq 2978908357, win 29200, options [mss 1460,sackOK,TS val 2230724456 ecr 0,nop,wscale 7], length 0____
11:52:07.600739 IP 192.168.199.12.54354 > bird2.cuhk.edu.hk.bgp: Flags [S], seq 562475138, win 29200, options [mss 1460,sackOK,TS val 2230491715 ecr 0,nop,wscale 7], length 0____
11:52:07.889979 IP bird2.cuhk.edu.hk.59598 > 192.168.199.12.bgp: Flags [S], seq 2985453764, win 29200, options [mss 1460,sackOK,TS val 2230728462 ecr 0,nop,wscale 7], length 0____
__ __
Seems the problem is domain name?____
__ __
-----Original Message----- From: Bird-users <bird-users-bounces@network.cz <mailto:bird-users-bounces@network.cz>> On Behalf Of Rae Ho (ITSC) Sent: Wednesday, June 6, 2018 11:13 AM To: Ondrej Zajicek <santiago@crfreenet.org <mailto:santiago@crfreenet.org>> Cc: bird-users@network.cz <mailto:bird-users@network.cz> Subject: RE: BIRD router/route server functions____
__ __
Last error: Socket: No route to host <-- ____
__ __
-----Original Message-----____
From: Ondrej Zajicek <santiago@crfreenet.org <mailto:santiago@crfreenet.org>> ____
Sent: Tuesday, June 5, 2018 8:57 PM____
To: Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk
____
Cc: Quan Zhou <quanzhou822@gmail.com <mailto:quanzhou822@gmail.com>>; bird-users@network.cz <mailto:bird-users@network.cz>____
Subject: Re: BIRD router/route server functions____
__ __
On Tue, Jun 05, 2018 at 09:29:08AM +0000, Rae Ho (ITSC) wrote:____
> Dear Quan Zhou, Thanks. Rae____
__ __
Hi____
__ __
Your setup looks OK. You could use tcpdump on ens160 to see if there are BGP connection attempts in both directions. Also, is there anything interesting in BIRD logs?____
__ __
You should also upgrade BIRD, version 1.4.5 is too old.____
__ __
--____
Elen sila lumenn' omentielvo____
__ __
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org <mailto:santiago@crfreenet.org>) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net <http://wwwkeys.pgp.net>) "To err is human -- to blame it on a computer is even more so."____
__ __
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
On host A, run: nc <ip of host B> 179 <<<"any data you make out from thin air" It should make at least a (failed) log entry on the other side. If not, there is still something rotten in the iptables. Are you really able to ping the other side? Don't you have more than one interface in the same network segment? This doesn't seem to be BIRD's problem at all, you just have somehow garbled network configuration. If you run HTTP server on host B, are you able to connect to it directly from A? Or any other service? M. On 06/14/2018 11:42 AM, Isaac HO wrote:
the Error: Last error: Socket: No route to host
To added this rule on both routers' iptables: ACCEPT tcp -- 192.168.199.0/24 <http://192.168.199.0/24> anywhere tcp dpt:bgp
upgrade the version birdc show protocols BIRD 1.6.4 ready. name proto table state since info kernel1 Kernel master up 16:50:53 device1 Device master up 16:50:53 static_bgp Static master up 16:50:53 bgp1 BGP master start 16:50:53 Active Socket: No route to host
Would you please all advise?
2018-06-12 8:51 GMT+08:00 Isaac HO <isaacho.jc@gmail.com <mailto:isaacho.jc@gmail.com>>:
Seems i am using CentOS .... seems there is latest version for it. Thanks
On Mon, 11 Jun 2018 at 23:27, Maria Jan Matějka <jan.matejka@nic.cz <mailto:jan.matejka@nic.cz>> wrote:
The last. If you don't care about new features, stay at 1.x, current is 1.6.4, otherwise upgrade to 2.x where you have to update also your configs quite a lot. Maria
On June 11, 2018 4:41:56 PM GMT+02:00, Isaac HO <isaacho.jc@gmail.com <mailto:isaacho.jc@gmail.com>> wrote:
Which version is recommended? Thanks,
On Mon, 11 Jun 2018 at 16:11, Jan Maria Matejka <jan.matejka@nic.cz <mailto:jan.matejka@nic.cz>> wrote:
Remove the old one, install the new one, shutdown the old one, run the new one. BIRD is simple. No docker images, no upgrade procedures.
Maria
On 06/11/2018 05:35 AM, Isaac HO wrote: > Could provide me the upgrade procedure? Thanks.____ > > Rae > > __ > > > 2018-06-06 14:10 GMT+08:00 Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk> > <mailto:raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk>>>: > > You should also upgrade BIRD, version 1.4.5 is too old.____ > > Could provide me the upgrade procedure?____ > > __ __ > > Rae____ > > __ __ > > *From:*Rae Ho (ITSC) > *Sent:* Wednesday, June 6, 2018 12:04 PM > *To:* Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk> <mailto:raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk>>>; > Ondrej Zajicek <santiago@crfreenet.org <mailto:santiago@crfreenet.org> <mailto:santiago@crfreenet.org <mailto:santiago@crfreenet.org>>> > *Cc:* bird-users@network.cz <mailto:bird-users@network.cz> <mailto:bird-users@network.cz <mailto:bird-users@network.cz>> > *Subject:* RE: BIRD router/route server functions____ > > __ __ > > tcpdump -i ens160 'tcp port 179 and host 192.168.199.13'____ > > tcpdump: verbose output suppressed, use -v or -vv for full protocol > decode____ > > listening on ens160, link-type EN10MB (Ethernet), capture size 65535 > bytes____ > > 11:52:14.026373 IP bird1.cuhk.edu.hk.54372 > 192.168.199.13.bgp: > Flags [S], seq 256428900, win 29200, options [mss 1460,sackOK,TS val > 2230497637 ecr 0,nop,wscale 7], length 0____ > > 11:52:14.401556 IP 192.168.199.13.51631 > bird1.cuhk.edu.hk.bgp: > Flags [S], seq 3989668659, win 29200, options [mss 1460,sackOK,TS > val 2230734469 ecr 0,nop,wscale 7], length 0____ > > 11:52:18.031631 IP bird1.cuhk.edu.hk.58460 > 192.168.199.13.bgp: > Flags [S], seq 3350460062, win 29200, options [mss 1460,sackOK,TS > val 2230501642 ecr 0,nop,wscale 7], length 0____ > > 11:52:19.405962 IP 192.168.199.13.54429 > bird1.cuhk.edu.hk.bgp: > Flags [S], seq 573528156, win 29200, options [mss 1460,sackOK,TS val > 2230739473 ecr 0,nop,wscale 7], length 0____ > > __ __ > > tcpdump -i ens160 'tcp port 179 and host 192.168.199.12'____ > > tcpdump: verbose output suppressed, use -v or -vv for full protocol > decode____ > > listening on ens160, link-type EN10MB (Ethernet), capture size 65535 > bytes____ > > 11:52:03.595665 IP 192.168.199.12.53662 > bird2.cuhk.edu.hk.bgp: > Flags [S], seq 708312977, win 29200, options [mss 1460,sackOK,TS val > 2230487710 ecr 0,nop,wscale 7], length 0____ > > 11:52:03.884791 IP bird2.cuhk.edu.hk.39590 > 192.168.199.12.bgp: > Flags [S], seq 2978908357, win 29200, options [mss 1460,sackOK,TS > val 2230724456 ecr 0,nop,wscale 7], length 0____ > > 11:52:07.600739 IP 192.168.199.12.54354 > bird2.cuhk.edu.hk.bgp: > Flags [S], seq 562475138, win 29200, options [mss 1460,sackOK,TS val > 2230491715 ecr 0,nop,wscale 7], length 0____ > > 11:52:07.889979 IP bird2.cuhk.edu.hk.59598 > 192.168.199.12.bgp: > Flags [S], seq 2985453764, win 29200, options [mss 1460,sackOK,TS > val 2230728462 ecr 0,nop,wscale 7], length 0____ > > __ __ > > Seems the problem is domain name?____ > > __ __ > > -----Original Message----- > From: Bird-users <bird-users-bounces@network.cz <mailto:bird-users-bounces@network.cz> > <mailto:bird-users-bounces@network.cz <mailto:bird-users-bounces@network.cz>>> On Behalf Of Rae Ho (ITSC) > Sent: Wednesday, June 6, 2018 11:13 AM > To: Ondrej Zajicek <santiago@crfreenet.org <mailto:santiago@crfreenet.org> > <mailto:santiago@crfreenet.org <mailto:santiago@crfreenet.org>>> > Cc: bird-users@network.cz <mailto:bird-users@network.cz> <mailto:bird-users@network.cz <mailto:bird-users@network.cz>> > Subject: RE: BIRD router/route server functions____ > > __ __ > > Last error: Socket: No route to host <-- ____ > > __ __ > > -----Original Message-----____ > > From: Ondrej Zajicek <santiago@crfreenet.org <mailto:santiago@crfreenet.org> > <mailto:santiago@crfreenet.org <mailto:santiago@crfreenet.org>>> ____ > > Sent: Tuesday, June 5, 2018 8:57 PM____ > > To: Rae Ho (ITSC) <raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk> <mailto:raeho@cuhk.edu.hk <mailto:raeho@cuhk.edu.hk>>>____ > > Cc: Quan Zhou <quanzhou822@gmail.com <mailto:quanzhou822@gmail.com> > <mailto:quanzhou822@gmail.com <mailto:quanzhou822@gmail.com>>>; bird-users@network.cz <mailto:bird-users@network.cz> > <mailto:bird-users@network.cz <mailto:bird-users@network.cz>>____ > > Subject: Re: BIRD router/route server functions____ > > __ __ > > On Tue, Jun 05, 2018 at 09:29:08AM +0000, Rae Ho (ITSC) wrote:____ > > > Dear Quan Zhou, Thanks. Rae____ > > __ __ > > Hi____ > > __ __ > > Your setup looks OK. You could use tcpdump on ens160 to see if there > are BGP connection attempts in both directions. Also, is there > anything interesting in BIRD logs?____ > > __ __ > > You should also upgrade BIRD, version 1.4.5 is too old.____ > > __ __ > > --____ > > Elen sila lumenn' omentielvo____ > > __ __ > > Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org <mailto:santiago@crfreenet.org> > <mailto:santiago@crfreenet.org <mailto:santiago@crfreenet.org>>) OpenPGP encrypted e-mails preferred > (KeyID 0x11DEADC3, wwwkeys.pgp.net <http://wwwkeys.pgp.net> <http://wwwkeys.pgp.net>) "To err > is human -- to blame it on a computer is even more so."____ > > __ __ > >
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
On Tue, 5 Jun 2018 at 21:04, Rae Ho (ITSC) <raeho@cuhk.edu.hk> wrote:
Seems the problem is domain name?
No, I think either you've got a firewall (iptables etc) running and blocking tcp/179, or you haven't put "listen bgp" into your configuration, so bird is not listening on tcp/179. What is the output of "netstat -lnt"? M
Dear Matthew, Thanks a lot. Rae Router1 netstat -lnt Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State 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:631 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:902 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 0 0 ::1:631 :::* LISTEN tcp6 0 0 ::1:25 :::* LISTEN tcp6 0 0 :::902 :::* LISTEN Router2 netstat -lnt Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:111 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:631 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:902 0.0.0.0:* LISTEN tcp6 0 0 :::111 :::* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 0 0 ::1:631 :::* LISTEN tcp6 0 0 ::1:25 :::* LISTEN tcp6 0 0 :::902 :::* LISTEN From: Matthew Walster <matthew@walster.org> Sent: Wednesday, June 6, 2018 2:26 PM To: Rae Ho (ITSC) <raeho@cuhk.edu.hk> Cc: Ondrej Zajicek <santiago@crfreenet.org>; Bird Users <bird-users@network.cz> Subject: Re: BIRD router/route server functions On Tue, 5 Jun 2018 at 21:04, Rae Ho (ITSC) <raeho@cuhk.edu.hk<mailto:raeho@cuhk.edu.hk>> wrote: Seems the problem is domain name? No, I think either you've got a firewall (iptables etc) running and blocking tcp/179, or you haven't put "listen bgp" into your configuration, so bird is not listening on tcp/179. What is the output of "netstat -lnt"? M
participants (7)
-
Isaac HO -
Jan Maria Matejka -
Maria Jan Matějka -
Matthew Walster -
Ondrej Zajicek -
Quan Zhou -
Rae Ho (ITSC)