Re: [OOR-Users] lispTun0 going nowhere...

2017-02-13 Thread Albert López

Hola José Miguel,

I am glad you managed to make it work :-). I just wanted to remember you 
that with an IID different to 0, you can not interact with non lisp 
sites using PxTR. It is only used in private scenarios. You can 
considere iid some how as a vlan but at level 3.


Best regards

Albert

On 11/02/17 07:47, José Miguel Guzmán wrote:

Hi Albert

I found the problem

It seems I misunderstood everything, when configured different IIDs 
for each site :(

Now, with the same IIDs, it is working for VXLAN and LISP.

Thanks, anyway
JM


El vie., 10 feb. 2017 a las 11:31, José Miguel Guzmán 
(>) escribió:


Thanks Albert for your quick reply


So, basically I have 4 xTRs
LANs   WANs
172.31.64.250/24  (eth1) <---> R1 <>
(eth0) 172.31.72.250/24 
172.31.65.250/24  (eth1) <---> R2 <>
(eth0) 172.31.73.250/24 
172.31.66.250/24  (eth1) <---> R3 <>
(eth0) 172.31.74.250/24 
172.31.67.250/24  (eth1) <---> R4 <>
(eth0) 172.31.75.250/24 

This is info for R1

*root@ip-172-31-72-250:~# cat /etc/oor.conf | egrep -v "^#|^$"*
debug  = 1
map-request-retries= 2
log-file   = /var/log/oor-R1.log
operating-mode = xTR
encapsulation  = LISP
rloc-probing {
rloc-probe-interval = 30
rloc-probe-retries  = 2
rloc-probe-retries-interval = 5
}
map-resolver= {
172.31.55.142
}
static-map-cache {
eid-prefix  = 172.31.65.0/24 
iid = 13002
rloc-address {
address = 172.31.73.250
priority= 0
weight  = 0
}
}
static-map-cache {
eid-prefix  = 172.31.66.0/24 
iid = 13003
rloc-address {
address = 172.31.74.250
priority= 0
weight  = 0
}
}
static-map-cache {
eid-prefix  = 172.31.67.0/24 
iid = 13004
rloc-address {
address = 172.31.75.250
priority= 0
weight  = 0
}
}
map-server {
address= 172.31.55.142
key-type   = 1
key= yunque
proxy-reply= on
}
database-mapping {
eid-prefix  = 172.31.64.0/24 
iid = 13001
rloc-address {
address = 172.31.72.250
priority= 0
weight  = 0
}
}

*root@ip-172-31-72-250:~# ifconfig*
eth0  Link encap:Ethernet  HWaddr 12:02:48:d3:aa:92
  inet addr:172.31.72.250  Bcast:172.31.72.255
 Mask:255.255.255.0
  inet6 addr: fe80::1002:48ff:fed3:aa92/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:9001  Metric:1
  RX packets:49374 errors:0 dropped:0 overruns:0 frame:0
  TX packets:36030 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:242451674 (242.4 MB)  TX bytes:5473559 (5.4 MB)

eth1  Link encap:Ethernet  HWaddr 12:68:08:c1:52:94
  inet addr:172.31.64.250  Bcast:172.31.64.255
 Mask:255.255.255.0
  inet6 addr: fe80::1068:8ff:fec1:5294/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:625 errors:0 dropped:0 overruns:0 frame:0
  TX packets:504 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:28818 (28.8 KB)  TX bytes:21656 (21.6 KB)

lispTun0  Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
  UP POINTOPOINT RUNNING  MTU:1440  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:350 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:500
  RX bytes:0 (0.0 B)  TX bytes:29400 (29.4 KB)

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:65536  Metric:1
  RX packets:180 errors:0 dropped:0 overruns:0 frame:0
  TX packets:180 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1
  RX bytes:13976 (13.9 KB)  TX bytes:13976 (13.9 KB)

*root@ip-172-31-72-250:~# ip rule*
0:from all lookup local
 

[OOR-Users] lispTun0 going nowhere...

2017-02-10 Thread José Miguel Guzmán
Hi

I am very close to make OOR work in Ubuntu... but probably I need some
little help :)

I have 4 xTR nodes R{1..4}, with LAN{1..4} as EIDs and interconnected among
them with WAN{1..4} as RLOCs

If I try to ping LAN4 from LAN1, I see packets being received by lispTun0,
but they don´t go anywhere :(
So, from R1, I am doing

*ping -I 172.31.64.250 172.31.67.250*

after what I see the packets in the tunnel:
*tcpdump -ilispTun0 -n -nn*
07:54:50.104742 ip: 172.31.64.250 > 172.31.67.250: ICMP echo request, id
12847, seq 222, length 64
07:54:51.104745 ip: 172.31.64.250 > 172.31.67.250: ICMP echo request, id
12847, seq 223, length 64
07:54:52.104721 ip: 172.31.64.250 > 172.31.67.250: ICMP echo request, id
12847, seq 224, length 64
07:54:53.104761 ip: 172.31.64.250 > 172.31.67.250: ICMP echo request, id
12847, seq 225, length 64
07:54:54.104746 ip: 172.31.64.250 > 172.31.67.250: ICMP echo request, id
12847, seq 226, length 64
07:54:55.104748 ip: 172.31.64.250 > 172.31.67.250: ICMP echo request, id
12847, seq 227, length 64

This is how lispTun0 looks like

lispTun0  Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
  UP POINTOPOINT RUNNING  MTU:1440  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:350 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:500
  RX bytes:0 (0.0 B)  TX bytes:29400 (29.4 KB)

I wonder how lispTun0 connects to the other routers?
In some tunneling examples, I see the PtP information in ifconfig..
  inet addr:10.0.0.1  P-t-P:10.0.0.2  Mask:255.255.255.252

but here, I don´t see those parameters
ip tunnel show doesnt return anything

What am I missing?

Thanks! I love the project!!

JM

-- 

*José Miguel Guzmán*Senior Network Consultant
Latin America & Caribbean
  +1 (650) 248-2490 <+16502482490>
  +56 (9) 9064-2780 <+56990642780>
  jmguz...@whitestack.com
  jmguzmanc
___
Users mailing list
Users@openoverlayrouter.org
http://mail.openoverlayrouter.org/cgi-bin/mailman/listinfo/users