<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>This pic is before I start pinging the ipxe VM.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><img width=1613 height=613 id="Picture_x0020_1" src="cid:image001.png@01CC7915.C432F610"><o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>This pic is after I start pinging the ipxe host.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><img width=1612 height=612 id="Picture_x0020_2" src="cid:image002.png@01CC7915.C432F610"><o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-----Original Message-----<br>From: Michael Brown [mailto:mbrown@fensystems.co.uk] <br>Sent: Monday, September 19, 2011 9:47 AM<br>To: ipxe-devel@lists.ipxe.org<br>Cc: Edward Villalovoz<br>Subject: Re: [ipxe-devel] ipxe and vmware workstation 8 or virtualbox 4.1.2<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>On Saturday 17 Sep 2011 03:45:35 Edward Villalovoz wrote:<o:p></o:p></p><p class=MsoPlainText>>               I'm using the latest ipxe and I compiled it in Centos 6.  I'm<o:p></o:p></p><p class=MsoPlainText>> basically using ipxe to provide me with a static IP to pxe boot my ESXi 5<o:p></o:p></p><p class=MsoPlainText>> hosts across a layer 3 network since I do not have DHCP available on the<o:p></o:p></p><p class=MsoPlainText>> other VLANs where my ESXi hosts are located on.  My test environment in my<o:p></o:p></p><p class=MsoPlainText>> office is an ESXi server with multiple subnets trunked into it so that I<o:p></o:p></p><p class=MsoPlainText>>  can have my iPXE host on one VLAN (say 10) and my Centos 6 host on a<o:p></o:p></p><p class=MsoPlainText>>  different VLAN (say 20).  I have this setup this way so I can test layer 3<o:p></o:p></p><p class=MsoPlainText>>  routing with ipxe.  And for the most part, it's working fine except for I<o:p></o:p></p><p class=MsoPlainText>>  have 2 issues.<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> 1.       ipxe passes the command line boot arguments in the format of<o:p></o:p></p><p class=MsoPlainText>> ip=<IP>:x:x:x:x etc.  Is there a way to have it pass the arguments like<o:p></o:p></p><p class=MsoPlainText>> ip=xxx netmask=xxx gateway=xxx etc?  It's my understanding that this new<o:p></o:p></p><p class=MsoPlainText>> format was changed some time ago, but I need the older format for the<o:p></o:p></p><p class=MsoPlainText>> project I'm working on.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>iPXE doesn't automatically generate either of those formats.  Are you sure <o:p></o:p></p><p class=MsoPlainText>that information isn't being added by another intermediate bootloader, such as <o:p></o:p></p><p class=MsoPlainText>pxelinux?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Using iPXE, then you can generate the argument format you want using something <o:p></o:p></p><p class=MsoPlainText>like:<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>  kernel vmlinuz ip=${net0/ip} netmask=${net0/netmask} gateway=${net0/gateway}<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>> 2.       If I use ipxe in a VM on ESXi 4.1 and put a static IP in it<o:p></o:p></p><p class=MsoPlainText>> "ifopen; set net0/ip xxx.xxx.xxx.xx; set net0/netmask xxx.xxx.xxx.xxx; set<o:p></o:p></p><p class=MsoPlainText>> net0/gateway xxx.xxx.xxx.xxx" everything works fine and I can ping the IP<o:p></o:p></p><p class=MsoPlainText>> from another subnet on my network.  But on my home network all I have is<o:p></o:p></p><p class=MsoPlainText>> vmware workstation or virtual box so I'm not testing layer 3, but only<o:p></o:p></p><p class=MsoPlainText>> layer2.  So I'm using the same ipxe.iso file that worked fine in my ESXi<o:p></o:p></p><p class=MsoPlainText>>  4.1 environment at home in my vmware/virtualbox environment.  My issue is<o:p></o:p></p><p class=MsoPlainText>>  after I start pinging the ipxe host's IP from my Centos 6 host, it<o:p></o:p></p><p class=MsoPlainText>>  response for about 5-8 replies, then it just stops responding to a ping<o:p></o:p></p><p class=MsoPlainText>>  from my Centos 6 host.  I don't understand why it works fine on type 1<o:p></o:p></p><p class=MsoPlainText>>  hypervisors, but not on type 2.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Does the "ifstat" command (http://ipxe.org/cmd/ifstat) show anything of <o:p></o:p></p><p class=MsoPlainText>interest?  (In particular, does the "RX" counter continue to increase even <o:p></o:p></p><p class=MsoPlainText>after iPXE stops responding to pings, and do you see any RX errors?)<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Michael<o:p></o:p></p></div></body></html>