Hi folks!
I have a little problem with "route show" command.
after I type this command and press Enter on first machine - all is done:
# route show
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Prio
Iface
default NS UGS 0 0 - 8 rl0
loopback localhost UGRS 0 0 33200 8 lo0
localhost localhost UH 1 0 33200 4 lo0
192.168.10/24 link#2 UC 1 0 - 4 rl1
192.168.10.2 00:d0:b7:d3:a7:99 UHLc 1 552 - 4 rl1
192.168.15/24 192.168.10.2 UGS 0 0 - 8 rl1
192.168.16/24 link#1 UC 3 0 - 4 rl0
khaer-1 00:11:2f:8d:00:9b UHLc 2 714 - 4 rl0
NS 00:d0:b7:60:5f:2e UHLc 1 84 - 4 rl0
192.168.16.222 00:11:d8:dd:a0:ee UHLc 0 4 - 4 rl0
BASE-ADDRESS.MCAST localhost URS 0 0 33200 8 lo0
Internet6:
Destination Gateway Flags Refs Use Mtu Prio
Iface
::/104 localhost UGRS 0 0 - 8 lo0
::/96 localhost UGRS 0 0 - 8 lo0
localhost localhost UH 14 0 33200 4 lo0
::127.0.0.0/104 localhost UGRS 0 0 - 8 lo0
::224.0.0.0/100 localhost UGRS 0 0 - 8 lo0
::255.0.0.0/104 localhost UGRS 0 0 - 8 lo0
::ffff:0.0.0.0/96 localhost UGRS 0 0 - 8 lo0
2002::/24 localhost UGRS 0 0 - 8 lo0
2002:7f00::/24 localhost UGRS 0 0 - 8 lo0
2002:e000::/20 localhost UGRS 0 0 - 8 lo0
2002:ff00::/24 localhost UGRS 0 0 - 8 lo0
fe80::/10 localhost UGRS 0 0 - 8 lo0
fe80::%lo0/64 fe80::1%lo0 U 0 0 - 4 lo0
fe80::1%lo0 link#4 UHL 0 0 - 4 lo0
fec0::/10 localhost UGRS 0 0 - 8 lo0
ff01::/16 localhost UGRS 0 0 - 8 lo0
ff01::%lo0/32 localhost UC 0 0 - 4 lo0
ff02::/16 localhost UGRS 2 0 - 8 lo0
ff02::%lo0/32 localhost UC 0 0 - 4 lo0
Encap:
Source Port Destination Port Proto
SA(Address/Proto/Type/Direction)
192.168.15/24 0 192.168.16/24 0 0
192.168.10.2/esp/require/in
192.168.16/24 0 192.168.15/24 0 0
192.168.10.2/esp/require/out
But if I do it on second machine, output in console and terminal is
very-very slow,
and while I write this letter it still end and show per line every 10-20
seconds:
#route show
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Prio
Iface
loopback localhost UGRS 0 0 33200 8 lo0
localhost localhost UH 1 2 33200 4 lo0
192.168.10/24 link#2 UC 1 0 - 4 fxp1
192.168.10.1 00:50:fc:6f:47:6f UHLc 1 181 - 4 fxp1
192.168.15/24 link#1 UC 1 0 - 4 fxp0
192.168.15.1 e0:cb:4e:95:c3:19 UHLc 0 13 - 4 fxp0
192.168.16/24 192.168.10.1 UGS 0 0 - 8 fxp1
BASE-ADDRESS.MCAST localhost URS 0 0 33200 8 lo0
Internet6:
Destination Gateway Flags Refs Use Mtu Prio
Iface
::/104 localhost UGRS 0 0 - 8 lo0
::/96 localhost UGRS 0 0 - 8 lo0
localhost localhost UH 14 0 33200 4 lo0
::127.0.0.0/104 localhost UGRS 0 0 - 8 lo0
::224.0.0.0/100 localhost UGRS 0 0 - 8 lo0
::255.0.0.0/104 localhost UGRS 0 0 - 8 lo0
::ffff:0.0.0.0/96 localhost UGRS 0 0 - 8 lo0
2002::/24 localhost UGRS 0 0 - 8 lo0
2002:7f00::/24 localhost UGRS 0 0 - 8 lo0
2002:e000::/20 localhost UGRS 0 0 - 8 lo0
.....
.....
this happen after add route for ipsec connection:
#route add 192.168.16.0/24 192.168.10.1
if I delete this route:
# route delete 192.168.16/24
delete net 192.168.16/24
"route show" output is fast, but ipsec between network isn't work.
System - OpenBSD 4.8
Thanks a lot.