From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) by dpdk.org (Postfix) with ESMTP id 74BAC156 for ; Fri, 18 Oct 2013 12:39:16 +0200 (CEST) Received: by mail-ie0-f178.google.com with SMTP id to1so7781334ieb.23 for ; Fri, 18 Oct 2013 03:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=m3Cu9FuAVaiBy8VuTNYCFguPhvhCAiWf2K8RLOWdkTA=; b=dpSjkLyaXh6R04eNp35O3XjqERJTNRf10Z7zOIuNc4LVlquAv3nv2Z58P3a8XsCvYe Rn1ZUr78DSXpyWgIUa8wCLsYflDd3B7hY2CmzbIpPHpHZZAaaZhZbllIlWgj2PQfYzzY gZNsu2GVKpV25yiY3rBOA7UoEt5PZZ8ANr7JbOlt73Btz4El/9A4Wq3wgkOJMKKfLE7t kJxnC84ATUPuGcQViQZ1zJTast7ASitP/QrLGxc5QTuzQhygg2sUHs2c/C70+pmd5bnf tN7Tjk1pxitlmkCbxBU+ADZLFUU0tRQjZynrNrucupO+4ofuPgsi3Qnpk/5WAA3osVXK VL8A== MIME-Version: 1.0 X-Received: by 10.50.30.42 with SMTP id p10mr1548741igh.5.1382092803770; Fri, 18 Oct 2013 03:40:03 -0700 (PDT) Received: by 10.43.134.65 with HTTP; Fri, 18 Oct 2013 03:40:03 -0700 (PDT) In-Reply-To: References: Date: Fri, 18 Oct 2013 12:40:03 +0200 Message-ID: From: Gal Sagie To: Gopi Krishna B Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] sending and receiving packets X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Oct 2013 10:39:16 -0000 You need to make sure you don't bind the ssh interface to DPDK (If you are using version prior to DPDK1.4 you need to blacklist your ssh interface before running the example you can see how here => https://github.com/anttikantee/dpdk-rumptcpip/wiki/DPDK-important-points) Gal. On Fri, Oct 18, 2013 at 1:11 PM, Gopi Krishna B wrote: > > > > On Thu, Oct 17, 2013 at 6:27 PM, Gal Sagie wrote: > >> Assigning an IP is a function of the network stack, DPDK and the NIC does >> not need to be aware of that. >> DPDK is just used to poll packets from the NIC and insert them into the >> network stack start point inside rump kernels >> >> In the tcp_http_get example it is assumed you are connected to a DHCP >> server , this call is used to obtain an IP for the interface >> using DHCP : >> if ((e = rump_pub_netconfig_dhcp_ipv4_oneshot("dpdk0")) != 0) >> >> If you look at the udp echo server example, you can see how to set the IP >> address statically using this call: >> >> if (rump_pub_netconfig_ipv4_ifaddr(IFNAME, >> IF_ADDR, "255.255.255.0") != 0) >> >> >> >> >> >> Hi > Thank you for the explanation. > I am observing some problems now. Whenever I execute the ./webbrowser , I > am loosing the SSH connection to the HP server. Why is this happening ? , > what could be the possible reasons ? I am clueless on this problem. > > The setup I have is as below: > > HP Server (one nic is for SSH connection (10.127.x.x) , another nic is > controlled by DPDK (192.168.x.x)) > > Linuxmachine (one nic is for SSH connection(10.127.x.x) , another > nic(192.168.x.x) is directly connected with a LAN cable to the NIC on HP > server controlled by DPDK) > > -- > Regards > Gopi Krishna > > > -- Best Regards , The G.