Hi,

Why loop0 interface is required???

On Wednesday 05 April 2017 05:30 PM, vpp-dev-requ...@lists.fd.io wrote:
Send vpp-dev mailing list submissions to
        vpp-dev@lists.fd.io

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.fd.io/mailman/listinfo/vpp-dev
or, via email, send a message with subject or body 'help' to
        vpp-dev-requ...@lists.fd.io

You can reach the person managing the list at
        vpp-dev-ow...@lists.fd.io

When replying, please edit your Subject line so it is more specific
than "Re: Contents of vpp-dev digest..."


Today's Topics:

    1. Re: Ping to loopback interface in vppctl (Andrew ? Yourtchenko)
    2. Re: Ping to loopback interface in vppctl (Choonho Son)


----------------------------------------------------------------------

Message: 1
Date: Wed, 5 Apr 2017 12:02:19 +0200
From: Andrew ? Yourtchenko <ayour...@gmail.com>
To: Choonho Son <choonho....@gmail.com>
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Ping to loopback interface in vppctl
Message-ID: <ca29ae61-c164-4450-a506-6f294c5a7...@gmail.com>
Content-Type: text/plain; charset="us-ascii"

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 <choonho....@gmail.com> 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
    Count                    Node                  Reason
          5                ip4-input               ip4 spoofed local-address 
packet drops
DBGvpp# show hardware
               Name                Idx   Link  Hardware
TenGigabitEthernet0/5/0            1    down  TenGigabitEthernet0/5/0
   Ethernet address 52:54:00:37:9e:88
   Intel 82599 VF
     carrier up full duplex speed 10000 mtu 9216
     rx queues 1, rx desc 1024, tx queues 1, tx desc 1024

local0                             0    down  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.fd.io/pipermail/vpp-dev/attachments/20170405/0ca8c122/attachment-0001.html>

------------------------------

Message: 2
Date: Wed, 5 Apr 2017 19:32:53 +0900
From: Choonho Son <choonho....@gmail.com>
To: Andrew ? Yourtchenko <ayour...@gmail.com>
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Ping to loopback interface in vppctl
Message-ID:
        <cajbxtnnh8wvegbuzmtg-j0xnybbf7+f87mhjbn0fa-3mbup...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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 <ayour...@gmail.com>
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 <choonho....@gmail.com> 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
    Count                    Node                  Reason
          5                ip4-input               ip4 spoofed
local-address packet drops
DBGvpp# show hardware
               Name                Idx   Link  Hardware
TenGigabitEthernet0/5/0            1    down  TenGigabitEthernet0/5/0
   Ethernet address 52:54:00:37:9e:88
   Intel 82599 VF
     carrier up full duplex speed 10000 mtu 9216
     rx queues 1, rx desc 1024, tx queues 1, tx desc 1024

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

Thanks,
Choonho Son
<vpp-dev@lists.fd.io>

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.fd.io/pipermail/vpp-dev/attachments/20170405/ebc441e1/attachment-0001.html>

------------------------------

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

End of vpp-dev Digest, Vol 15, Issue 14
***************************************


--
Thanks & Regards,
Mahesh Mathad.

Disclaimer:- The information contained in this electronic message and any 
attachments to this message are intended for the exclusive use of the 
addressee(s) and may contain proprietary, confidential or privileged 
information. If you are not the intended recipient, you should not disseminate, 
distribute or copy this e-mail. Please notify the sender immediately and 
destroy all copies of this message and any attachments. The views expressed in 
this E-mail message (including the enclosure/(s) or attachment/(s) if any) are 
those of the individual sender, except where the sender expressly, and with 
authority, states them to be the views of GlobalEdge. Before opening any mail 
and attachments please check them for viruses .GlobalEdge does not accept any 
liability for virus infected mails.

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

Reply via email to