{"id":3132,"date":"2011-10-20T16:23:22","date_gmt":"2011-10-20T14:23:22","guid":{"rendered":"https:\/\/ingmarverheij.com\/2011\/10\/no-network-on-wanem-citrix-xenserver\/"},"modified":"2011-10-20T16:25:15","modified_gmt":"2011-10-20T14:25:15","slug":"no-network-on-wanem-citrix-xenserver","status":"publish","type":"post","link":"https:\/\/ingmarverheij.com\/en\/no-network-on-wanem-citrix-xenserver\/","title":{"rendered":"No network on WANem (Citrix XenServer)"},"content":{"rendered":"<p>Author : <a href=\"https:\/\/ingmarverheij.com\/en\/\">Ingmar Verheij<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top: 0px; border-right: 0px; padding-top: 0px\" title=\"TCS-PERC-logo\" border=\"0\" alt=\"TCS-PERC-logo\" align=\"right\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/10\/TCS-PERC-logo1.png\" width=\"129\" height=\"57\" \/><\/p>\n<p>WANem is (as the name implies) a WAN emulator that\u2019s available for free and therefor ideal to use in a lab environment. WANem is built on the Knoppix distribution and supplied as a bootable ISO or a virtual appliance. Unfortunately the virtual appliance is only provided for the VMware hypervisor.<\/p>\n<p align=\"left\">I\u2019ve got a lab built on the Citrix XenServer hypervisor and should therefore use the ISO. Installing (or actually booting) WANem is no rocket science, using it is a bit more complex. A guy named <a href=\"https:\/\/blog.e2h.net\/\">Jos\u00e9 Luis G\u00f3mez Ferrer de Couto<\/a> has written an easy to understand&#160; <a href=\"https:\/\/blog.e2h.net\/2010\/06\/01\/emulacion-wan-en-citrix-xenserver-con-wanem\/\">tutorial<\/a>&#160; (in Spanish) how to use WANem in Citrix XenServer.<\/p>\n<p>Unfortunately there is a small pitfall on my Citrix XenServer 5.6 machine, the network is unreachable.<\/p>\n<p><!--more--><\/p>\n<p>Although the NIC of the WANem virtual machine does request (and get) an DHCP lease, there is no network activity.<\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/10\/DHCP-lease.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"DHCP lease\" border=\"0\" alt=\"DHCP lease\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/10\/DHCP-lease_thumb.png\" width=\"596\" height=\"136\" \/><\/a><\/p>\n<p>The reason there is no network activity is that the NIC is inactive. After enabling the network interface in the console of the virtual machine, everything works just fine.<\/p>\n<p>After booting WANem, and configuring the basics, the folowing commands are issued.<\/p>\n<pre lang=\"bash\">exit2shell\n\nifconfig eth0 up\nifconfig eth1 up<\/pre>\n<p>This result would look like this:<\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/10\/WANem001-Before.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"WANem001 - Before\" border=\"0\" alt=\"WANem001 - Before\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/10\/WANem001-Before_thumb.png\" width=\"254\" height=\"222\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/10\/WANem001-After.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"WANem001 - After\" border=\"0\" alt=\"WANem001 - After\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/10\/WANem001-After_thumb.png\" width=\"254\" height=\"222\" \/><\/a><\/p>\n<p>You can download WANem <a href=\"https:\/\/wanem.sourceforge.net\/\">here<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Author : Ingmar Verheij WANem is (as the name implies) a WAN emulator that\u2019s available for free and therefor ideal to use in a lab environment. WANem is built on the Knoppix distribution and supplied as a bootable ISO or a virtual appliance. Unfortunately the virtual appliance is only provided for the VMware hypervisor. I\u2019ve [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[77],"tags":[667,386,669],"class_list":["post-3132","post","type-post","status-publish","format-standard","hentry","category-xenserver","tag-citrix","tag-wanem","tag-xenserver"],"_links":{"self":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/3132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/comments?post=3132"}],"version-history":[{"count":2,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/3132\/revisions"}],"predecessor-version":[{"id":3135,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/3132\/revisions\/3135"}],"wp:attachment":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/media?parent=3132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/categories?post=3132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/tags?post=3132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}