Re: [vpp-dev] Ping to loopback behind Vxlan tunnel is failing #vpp-dev

2022-03-07 Thread Benoit Ganne (bganne) via lists.fd.io
You need to set loop5007 as the bvi for it to behave as a l3 interface instead 
of l2:
set int l2 bridge loop5007 5007 bvi

Best
ben

> -Original Message-
> From: vpp-dev@lists.fd.io  On Behalf Of suresh
> vuppala
> Sent: vendredi 4 mars 2022 22:41
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] Ping to loopback behind Vxlan tunnel is failing #vpp-
> dev
> 
> HI VPP-DEV team,
> 
> ubuntu 20.04
> vpp v22.06-rc0~79-g48bdf24ad
> 
> I have my ubuntu 20.04 running the latest VPP code. The ubuntu machine is
> connected to a router. I have a static vxlan tunnel configured between
> bare metal and VPP. The tunnel is up.
> Now I have created a loop5007 and added the vxlan tunnel in the same BD.
> Ping is failing from external router to the loopback behind vxlan in VPP.
> I see that l2 mac learning is happening on VPP but ping is failing. Can
> you please suggest what went wrong here
> 
> 
> 
> 
> VPP trace:
> 
> 
> create loopback interface instance 0
> 
> lcp create loop0 host-if loop0
> 
> set interface state loop0 up
> 
> set interface ip address loop0 2001:db8::1/64
> 
> set interface ip address loop0 192.0.2.1/24 <http://192.0.2.1/24>
> 
> 
> 
> create bond mode lacp load-balance l34 id 0
> 
> set interface state TenGigabitEthernetd8/0/0 up
> 
> set interface state TenGigabitEthernet5e/0/0 up
> 
> bond add BondEthernet0 TenGigabitEthernetd8/0/0 long-timeout
> 
> bond add BondEthernet0 TenGigabitEthernet5e/0/0 long-timeout
> 
> lcp create BondEthernet0 host-if bond0
> 
> 
> 
> create sub-interfaces BondEthernet0 80
> 
> lcp create BondEthernet0.80 host-if bond0.80
> 
> 
> 
> create sub-interfaces BondEthernet0 70
> 
> lcp create BondEthernet0.70 host-if bond0.70
> 
> 
> 
> set interface state BondEthernet0 up
> 
> set interface ip address BondEthernet0.70 172.16.101.229/24
> <http://172.16.101.229/24>
> 
> set interface state BondEthernet0.70 up
> 
> 
> 
> create vxlan tunnel src 172.16.101.229 dst 172.12.168.9 vni 5007 decap-
> next l2
> 
> create bridge-domain 5007 learn 1 forward 1 flood 1 arp-term 1 bd-tag 5007
> 
> create loopback interface mac cc:cc:cc:dd:dd:01 instance 5007
> 
> 
> 
> set interface mtu packet 9000 vxlan_tunnel0
> 
> set interface state vxlan_tunnel0 up
> 
> set interface l2 bridge vxlan_tunnel0 5007
> 
> set interface l2 bridge loop5007 5007
> 
> set interface ip address loop5007 192.168.7.9/24 <http://192.168.7.9/24>
> 
> set interface state loop5007 up
> 
> 
> 
> Packet 12
> 
> 
> 
> 00:43:02:602880: dpdk-input
> 
>   TenGigabitEthernet5e/0/0 rx queue 0
> 
>   buffer 0x4c3fd8: current data 0, length 152, buffer-pool 0, ref-count 1,
> trace handle 0xb
> 
>ext-hdr-valid
> 
>   PKT MBUF: port 0, nb_segs 1, pkt_len 152
> 
> buf_len 2176, data_len 152, ol_flags 0x180, data_off 128, phys_addr
> 0x130ff680
> 
> packet_type 0x291 l2_len 0 l3_len 0 outer_l2_len 0 outer_l3_len 0
> 
> rss 0x0 fdir.hi 0x0 fdir.lo 0x0
> 
> Packet Offload Flags
> 
>   PKT_RX_IP_CKSUM_GOOD (0x0080) IP cksum of RX pkt. is valid
> 
>   PKT_RX_IP_CKSUM_NONE (0x0090) no IP cksum of RX pkt.
> 
>   PKT_RX_L4_CKSUM_GOOD (0x0100) L4 cksum of RX pkt. is valid
> 
>   PKT_RX_L4_CKSUM_NONE (0x0108) no L4 cksum of RX pkt.
> 
> Packet Types
> 
>   RTE_PTYPE_L2_ETHER (0x0001) Ethernet packet
> 
>   RTE_PTYPE_L3_IPV4_EXT_UNKNOWN (0x0090) IPv4 packet with or without
> extension headers
> 
>   RTE_PTYPE_L4_UDP (0x0200) UDP packet
> 
>   IP4: 2c:f8:9b:57:a5:df -> 3c:fd:fe:e1:61:08 802.1q vlan 70
> 
>   UDP: 172.12.168.9 -> 172.16.101.229
> 
> tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN
> 
> fragment id 0x7ee3, flags DONT_FRAGMENT
> 
>   UDP: 58360 -> 4789
> 
> length 114, checksum 0x
> 
> 00:43:02:602892: bond-input
> 
>   src 2c:f8:9b:57:a5:df, dst 3c:fd:fe:e1:61:08, TenGigabitEthernet5e/0/0 -
> > BondEthernet0
> 
> 00:43:02:602980: ethernet-input
> 
>   IP4: 2c:f8:9b:57:a5:df -> 3c:fd:fe:e1:61:08 802.1q vlan 70
> 
> 00:43:02:603046: ip4-input
> 
>   UDP: 172.12.168.9 -> 172.16.101.229
> 
> tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN
> 
> fragment id 0x7ee3, flags DONT_FRAGMENT
> 
>   UDP: 58360 -> 4789
> 
> length 114, checksum 0x
> 
> 00:43:02:603110: ip4-lookup
> 
>   fib 0 dpo-idx 14 flow hash: 0x
> 
>   UDP: 172.12.168.9 -> 172.16.101.229
> 
> tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS

Re: [vpp-dev] Ping to loopback behind Vxlan tunnel is failing #vpp-dev

2022-03-07 Thread Neale Ranns


From: vpp-dev@lists.fd.io  on behalf of suresh vuppala via 
lists.fd.io 
Date: Friday, 4 March 2022 at 22:40
To: vpp-dev@lists.fd.io 
Subject: [vpp-dev] Ping to loopback behind Vxlan tunnel is failing #vpp-dev
HI VPP-DEV team,

ubuntu 20.04
vpp v22.06-rc0~79-g48bdf24ad

I have my ubuntu 20.04 running the latest VPP code. The ubuntu machine is 
connected to a router. I have a static vxlan tunnel configured between bare 
metal and VPP. The tunnel is up.
Now I have created a loop5007 and added the vxlan tunnel in the same BD. Ping 
is failing from external router to the loopback behind vxlan in VPP. I see that 
l2 mac learning is happening on VPP but ping is failing. Can you please suggest 
what went wrong here




VPP trace:


create loopback interface instance 0

lcp create loop0 host-if loop0

set interface state loop0 up

set interface ip address loop0 2001:db8::1/64

set interface ip address loop0 192.0.2.1/24<http://192.0.2.1/24>



create bond mode lacp load-balance l34 id 0

set interface state TenGigabitEthernetd8/0/0 up

set interface state TenGigabitEthernet5e/0/0 up

bond add BondEthernet0 TenGigabitEthernetd8/0/0 long-timeout

bond add BondEthernet0 TenGigabitEthernet5e/0/0 long-timeout

lcp create BondEthernet0 host-if bond0



create sub-interfaces BondEthernet0 80

lcp create BondEthernet0.80 host-if bond0.80



create sub-interfaces BondEthernet0 70

lcp create BondEthernet0.70 host-if bond0.70



set interface state BondEthernet0 up

set interface ip address BondEthernet0.70 
172.16.101.229/24<http://172.16.101.229/24>

set interface state BondEthernet0.70 up



create vxlan tunnel src 172.16.101.229 dst 172.12.168.9 vni 5007 decap-next l2

create bridge-domain 5007 learn 1 forward 1 flood 1 arp-term 1 bd-tag 5007

create loopback interface mac cc:cc:cc:dd:dd:01 instance 5007



set interface mtu packet 9000 vxlan_tunnel0

set interface state vxlan_tunnel0 up

set interface l2 bridge vxlan_tunnel0 5007

set interface l2 bridge loop5007 5007



you need the ‘bvi’ flag to indicate this loopback interface is the BVI.



/neale



set interface ip address loop5007 192.168.7.9/24<http://192.168.7.9/24>

set interface state loop5007 up



Packet 12



00:43:02:602880: dpdk-input

  TenGigabitEthernet5e/0/0 rx queue 0

  buffer 0x4c3fd8: current data 0, length 152, buffer-pool 0, ref-count 1, 
trace handle 0xb

   ext-hdr-valid

  PKT MBUF: port 0, nb_segs 1, pkt_len 152

buf_len 2176, data_len 152, ol_flags 0x180, data_off 128, phys_addr 
0x130ff680

packet_type 0x291 l2_len 0 l3_len 0 outer_l2_len 0 outer_l3_len 0

rss 0x0 fdir.hi 0x0 fdir.lo 0x0

Packet Offload Flags

  PKT_RX_IP_CKSUM_GOOD (0x0080) IP cksum of RX pkt. is valid

  PKT_RX_IP_CKSUM_NONE (0x0090) no IP cksum of RX pkt.

  PKT_RX_L4_CKSUM_GOOD (0x0100) L4 cksum of RX pkt. is valid

  PKT_RX_L4_CKSUM_NONE (0x0108) no L4 cksum of RX pkt.

Packet Types

  RTE_PTYPE_L2_ETHER (0x0001) Ethernet packet

  RTE_PTYPE_L3_IPV4_EXT_UNKNOWN (0x0090) IPv4 packet with or without 
extension headers

  RTE_PTYPE_L4_UDP (0x0200) UDP packet

  IP4: 2c:f8:9b:57:a5:df -> 3c:fd:fe:e1:61:08 802.1q vlan 70

  UDP: 172.12.168.9 -> 172.16.101.229

tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN

fragment id 0x7ee3, flags DONT_FRAGMENT

  UDP: 58360 -> 4789

length 114, checksum 0x

00:43:02:602892: bond-input

  src 2c:f8:9b:57:a5:df, dst 3c:fd:fe:e1:61:08, TenGigabitEthernet5e/0/0 -> 
BondEthernet0

00:43:02:602980: ethernet-input

  IP4: 2c:f8:9b:57:a5:df -> 3c:fd:fe:e1:61:08 802.1q vlan 70

00:43:02:603046: ip4-input

  UDP: 172.12.168.9 -> 172.16.101.229

tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN

fragment id 0x7ee3, flags DONT_FRAGMENT

  UDP: 58360 -> 4789

length 114, checksum 0x

00:43:02:603110: ip4-lookup

  fib 0 dpo-idx 14 flow hash: 0x

  UDP: 172.12.168.9 -> 172.16.101.229

tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN

fragment id 0x7ee3, flags DONT_FRAGMENT

  UDP: 58360 -> 4789

length 114, checksum 0x

00:43:02:603184: ip4-receive

UDP: 172.12.168.9 -> 172.16.101.229

  tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN

  fragment id 0x7ee3, flags DONT_FRAGMENT

UDP: 58360 -> 4789

  length 114, checksum 0x

00:43:02:603261: ip4-udp-lookup

  UDP: src-port 58360 dst-port 4789

00:43:02:603342: vxlan4-input

  VXLAN decap from vxlan_tunnel0 vni 5007 next 1 error 0

00:43:02:603421: l2-input

  l2-input: sw_if_index 12 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 
[l2-learn l2-fwd l2-flood arp-term-l2bd l2-flood ]

00:43:02:603502: l2-learn

  l2-learn: sw_if_index 12 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 bd_index 
1

00:43:02:603591: l2-fwd

  l2-fwd:   sw_if_index 12 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 bd_index 
1 result [0x1130d

[vpp-dev] Ping to loopback behind Vxlan tunnel is failing #vpp-dev

2022-03-04 Thread suresh vuppala
HI VPP-DEV team,

ubuntu 20.04
vpp v22.06-rc0~79-g48bdf24ad

I have my ubuntu 20.04 running the latest VPP code. The ubuntu machine is 
connected to a router. I have a static vxlan tunnel configured between bare 
metal and VPP. The tunnel is up.
Now I have created a loop5007 and added the vxlan tunnel in the same BD. Ping 
is failing from external router to the loopback behind vxlan in VPP. I see that 
l2 mac learning is happening on VPP but ping is failing. Can you please suggest 
what went wrong here

VPP trace:

create loopback interface instance 0

lcp create loop0 host-if loop0

set interface state loop0 up

set interface ip address loop0 2001:db8::1/64

set interface ip address loop0 192.0.2.1/24 ( http://192.0.2.1/24 )

create bond mode lacp load-balance l34 id 0

set interface state TenGigabitEthernetd8/0/0 up

set interface state TenGigabitEthernet5e/0/0 up

bond add BondEthernet0 TenGigabitEthernetd8/0/0 long-timeout

bond add BondEthernet0 TenGigabitEthernet5e/0/0 long-timeout

lcp create BondEthernet0 host-if bond0

create sub-interfaces BondEthernet0 80

lcp create BondEthernet0.80 host-if bond0.80

create sub-interfaces BondEthernet0 70

lcp create BondEthernet0.70 host-if bond0.70

set interface state BondEthernet0 up

set interface ip address BondEthernet0.70 172.16.101. 229/24 ( 
http://172.16.101.229/24 )

set interface state BondEthernet0.70 up

create vxlan tunnel src 172.16.101.229 dst 172.12.168.9 vni 5007 decap-next l2

create bridge-domain 5007 learn 1 forward 1 flood 1 arp-term 1 bd-tag 5007

create loopback interface mac cc:cc:cc:dd:dd:01 instance 5007

set interface mtu packet 9000 vxlan_tunnel0

set interface state vxlan_tunnel0 up

set interface l2 bridge vxlan_tunnel0 5007

set interface l2 bridge loop5007 5007

set interface ip address loop5007 192.168.7.9/24 ( http://192.168.7.9/24 )

set interface state loop5007 up

Packet 12

00:43:02:602880: dpdk-input

TenGigabitEthernet5e/0/0 rx queue 0

buffer 0x4c3fd8: current data 0, length 152, buffer-pool 0, ref-count 1, trace 
handle 0xb

ext-hdr- valid

PKT MBUF: port 0, nb_segs 1, pkt_len 152

buf_len 2176, data_len 152, ol_flags 0x180, data_off 128, phys_addr 0x130ff680

packet_type 0x291 l2_len 0 l3_len 0 outer_l2_len 0 outer_l3_len 0

rss 0x0 fdir.hi 0x0 fdir.lo 0x0

Packet Offload Flags

PKT_RX_IP_CKSUM_GOOD (0x0080) IP cksum of RX pkt. is valid

PKT_RX_IP_CKSUM_NONE (0x0090) no IP cksum of RX pkt.

PKT_RX_L4_CKSUM_GOOD (0x0100) L4 cksum of RX pkt. is valid

PKT_RX_L4_CKSUM_NONE (0x0108) no L4 cksum of RX pkt.

Packet Types

RTE_PTYPE_L2_ETHER (0x0001) Ethernet packet

RTE_PTYPE_L3_IPV4_EXT_ UNKNOWN (0x0090) IPv4 packet with or without extension 
headers

RTE_PTYPE_L4_UDP (0x0200) UDP packet

IP4: 2c:f8:9b:57:a5:df -> 3c:fd:fe:e1:61:08 802.1q vlan 70

UDP: 172.12.168.9 -> 172.16.101.229

tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN

fragment id 0x7ee3, flags DONT_FRAGMENT

UDP: 58360 -> 4789

length 114, checksum 0x

00:43:02:602892: bond-input

src 2c:f8:9b:57:a5:df, dst 3c:fd:fe:e1:61:08, TenGigabitEthernet5e/0/0 -> 
BondEthernet0

00:43:02:602980: ethernet-input

IP4: 2c:f8:9b:57:a5:df -> 3c:fd:fe:e1:61:08 802.1q vlan 70

00:43:02:603046: ip4-input

UDP: 172.12.168.9 -> 172.16.101.229

tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN

fragment id 0x7ee3, flags DONT_FRAGMENT

UDP: 58360 -> 4789

length 114, checksum 0x

00:43:02:603110: ip4-lookup

fib 0 dpo-idx 14 flow hash: 0x

UDP: 172.12.168.9 -> 172.16.101.229

tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN

fragment id 0x7ee3, flags DONT_FRAGMENT

UDP: 58360 -> 4789

length 114, checksum 0x

00:43:02:603184: ip4-receive

UDP: 172.12.168.9 -> 172.16.101.229

tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN

fragment id 0x7ee3, flags DONT_FRAGMENT

UDP: 58360 -> 4789

length 114, checksum 0x

00:43:02:603261: ip4-udp-lookup

UDP: src-port 58360 dst-port 4789

00:43:02:603342: vxlan4-input

VXLAN decap from vxlan_tunnel0 vni 5007 next 1 error 0

00:43:02:603421: l2-input

l2-input: sw_if_index 12 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 [l2-learn 
l2-fwd l2-flood arp-term-l2bd l2-flood ]

00:43:02:603502: l2-learn

l2-learn: sw_if_index 12 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 bd_index 1

00:43:02:603591: l2-fwd

l2-fwd:   sw_if_index 12 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 bd_index 1 
result [0x1130d, 13] none

00:43:02:603683: l2-output

l2-output: sw_if_index 13 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 data 08 
00 45 00 00 54 e0 ac 00 00 40 01

00:43:02:603778: loop5007-output

loop5007

IP4: 88:d9:8f:25:f9:25 -> cc:cc:cc:dd:dd:01

ICMP: 192.168.7.10 -> 192.168.7.9

tos 0x00, ttl 64, length 84, checksum 0x0a99 dscp CS0 ecn NON_ECN

fragment id 0xe0ac

ICMP echo_request checksum 0x7ef8 id 18117

00:43:02:603992: l2-input

l2-input: sw_if_index 13 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 [l2-learn 
l2-fwd l2-flood arp-term-l2bd 

Re: [vpp-dev] ping to loopback

2021-08-10 Thread Neale Ranns

The same way you ping the normal interface. Just make sure the forward and 
reverse routes are present.
Send a packet trace if it doesn’t work.

/neale


From: vpp-dev@lists.fd.io  on behalf of mark antony via 
lists.fd.io 
Date: Monday, 9 August 2021 at 22:24
To: vpp-dev@lists.fd.io 
Subject: [vpp-dev] ping to loopback
Hi friends,
how can I ping a loopback in vpp? I can ping the normal interface from cisco 
but for loopback no.

thanks

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19939): https://lists.fd.io/g/vpp-dev/message/19939
Mute This Topic: https://lists.fd.io/mt/84778476/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] ping to loopback

2021-08-09 Thread mark antony
Hi friends,
how can I ping a loopback in vpp? I can ping the normal interface from
cisco but for loopback no.

thanks

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19935): https://lists.fd.io/g/vpp-dev/message/19935
Mute This Topic: https://lists.fd.io/mt/84778476/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] Ping to loopback interface in vppctl

2017-04-05 Thread Choonho Son
Hello,

1) After setting IP address of interface, it is just conventional check.
2) After creating bridge-domain, set loop interface as BVI(Bridge Virtual
Interface). Then ping to BVI

Choonho Son

On Wed, Apr 5, 2017 at 7:02 PM, Andrew  Yourtchenko 
wrote:

> Hello,
>
> I wrote ping for creating the traffic on the externally facing interfaces,
> so I didn't do anything special to make the loopback work.
>
> Why do you need to ping the loopback ?
>
> --a
>
> On 5 Apr 2017, at 11:04, Choonho Son  wrote:
>
> Hello,
>
> In a vppctl, ping to loop0 does not reply. Is it correct behavior?
>
> DBGvpp# loopback create
> loop0
> DBGvpp# set interface state loop0 up
> DBGvpp# set interface ip address loop0 192.168.1.1/24
> DBGvpp# sh int addr
> TenGigabitEthernet0/5/0 (dn):
> local0 (dn):
> loop0 (up):
>   192.168.1.1/24
> DBGvpp# ping 192.168.1.1
>
> Statistics: 5 sent, 0 received, 100% packet loss
> DBGvpp# show err
>CountNode  Reason
>  5ip4-input   ip4 spoofed
> local-address packet drops
> DBGvpp# show hardware
>   NameIdx   Link  Hardware
> TenGigabitEthernet0/5/01down  TenGigabitEthernet0/5/0
>   Ethernet address 52:54:00:37:9e:88
>   Intel 82599 VF
> carrier up full duplex speed 1 mtu 9216
> rx queues 1, rx desc 1024, tx queues 1, tx desc 1024
>
> local0 0down  local0
>   local
> loop0  2 up   loop0
>   Ethernet address de:ad:00:00:00:00
> DBGvpp#
>
> Thanks,
> Choonho Son
> 
>
> ___
> vpp-dev mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev
>
>
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Ping to loopback interface in vppctl

2017-04-05 Thread Andrew  Yourtchenko
Hello,

I wrote ping for creating the traffic on the externally facing interfaces, so I 
didn't do anything special to make the loopback work.

Why do you need to ping the loopback ?

--a

> On 5 Apr 2017, at 11:04, Choonho Son  wrote:
> 
> Hello,
> 
> In a vppctl, ping to loop0 does not reply. Is it correct behavior?
> 
> DBGvpp# loopback create
> loop0
> DBGvpp# set interface state loop0 up
> DBGvpp# set interface ip address loop0 192.168.1.1/24
> DBGvpp# sh int addr
> TenGigabitEthernet0/5/0 (dn):
> local0 (dn):
> loop0 (up):
>   192.168.1.1/24
> DBGvpp# ping 192.168.1.1
> 
> Statistics: 5 sent, 0 received, 100% packet loss
> DBGvpp# show err
>CountNode  Reason
>  5ip4-input   ip4 spoofed local-address 
> packet drops
> DBGvpp# show hardware
>   NameIdx   Link  Hardware
> TenGigabitEthernet0/5/01down  TenGigabitEthernet0/5/0
>   Ethernet address 52:54:00:37:9e:88
>   Intel 82599 VF
> carrier up full duplex speed 1 mtu 9216 
> rx queues 1, rx desc 1024, tx queues 1, tx desc 1024
> 
> local0 0down  local0
>   local
> loop0  2 up   loop0
>   Ethernet address de:ad:00:00:00:00
> DBGvpp# 
> 
> Thanks,
> Choonho Son
> ___
> vpp-dev mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] Ping to loopback interface in vppctl

2017-04-05 Thread Choonho Son
Hello,

In a vppctl, ping to loop0 does not reply. Is it correct behavior?

DBGvpp# loopback create
loop0
DBGvpp# set interface state loop0 up
DBGvpp# set interface ip address loop0 192.168.1.1/24
DBGvpp# sh int addr
TenGigabitEthernet0/5/0 (dn):
local0 (dn):
loop0 (up):
  192.168.1.1/24
DBGvpp# ping 192.168.1.1

Statistics: 5 sent, 0 received, 100% packet loss
DBGvpp# show err
   CountNode  Reason
 5ip4-input   ip4 spoofed local-address
packet drops
DBGvpp# show hardware
  NameIdx   Link  Hardware
TenGigabitEthernet0/5/01down  TenGigabitEthernet0/5/0
  Ethernet address 52:54:00:37:9e:88
  Intel 82599 VF
carrier up full duplex speed 1 mtu 9216
rx queues 1, rx desc 1024, tx queues 1, tx desc 1024

local0 0down  local0
  local
loop0  2 up   loop0
  Ethernet address de:ad:00:00:00:00
DBGvpp#

Thanks,
Choonho Son

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev