Wrapper PropertyName="FirstName">
    <validate:ControlWrapper.Template>
        <ControlTemplate TargetType="validate:ControlWrapper">
            <Grid>
                <ContentPresenter Content="{TemplateBinding Content}"/>
            </Grid>
        </ControlTemplate>
    </validate:ControlWrapper.Template>
    <TextBox
        Width="{StaticResource FieldWidth}"
        Header="First Name"
        Text="{Binding FirstName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
        <Interactivity:Interaction.Behaviors>
            <behaviors:ValidationBehavior PropertyName="FirstName">
                <behaviors:ValidationBehavior.WhenValidActions>
                    <Core:ChangePropertyAction PropertyName="Style" Value="{x:Null}" />
                </behaviors:ValidationBehavior.WhenValidActions>
                <behaviors:ValidationBehavior.WhenInvalidActions>
                    <Core:ChangePropertyAction PropertyName="Style" Value="{StaticResource ErrorTextBoxStyle}" />
                </behaviors:ValidationBehavior.WhenInvalidActions>
            </behaviors:ValidationBehavior>
        </Interactivity:Interaction.Behaviors>
    </TextBox>
</validate:ControlWrapper>

ErrorTextBoxStyle
<Style x:Key="ErrorTextBoxStyle" TargetType="TextBox">
    <Setter Property="Foreground" Value="White" />
    <Setter Property="BorderBrush"  Value="Red"/>
</Style>

 Q:

How do I connect a LXC container to an IP alias?

I currently have 3 IP addresses going to the same server. The /etc/network/interfaces file on the host is as follows: 
auto eth0
iface eth0 inet static
    address XXX.XXX.132.107
    gateway XXX.XXX.132.1
    netmask 255.255.255.0
auto eth0:0
iface eth0:0 inet static
    address XXX.XXX.130.21
    gateway XXX.XXX.130.1
    netmask 255.255.255.0
auto eth0:1
iface eth0:1 inet static
    address XXX.XXX.132.244
    gateway XXX.XXX.132.1
    netmask 255.255.255
Wrapper PropertyName="FirstName " > 
     < validate: ControlWrapper. Template > 
         < ControlTemplate TargetType="validate: ControlWrapper " > 
             < Grid > 
                 < ContentPresenter Content="{TemplateBinding Content}"/ > 
             < /Grid > 
         < /ControlTemplate > 
     < /validate: ControlWrapper. Template > 
     < TextBox 
         Width="{StaticResource FieldWidth } " 
         Header="First Name " 
         Text="{Binding FirstName, Mode = TwoWay, UpdateSourceTrigger = PropertyChanged } " > 
         < Interactivity: Interaction. Behaviors > 
             < behaviors: ValidationBehavior PropertyName="FirstName " > 
                 < behaviors: ValidationBehavior. WhenValidActions > 
                     < effect: ChangePropertyAction PropertyName="Style " Value="{x: Null } " / > 
                 < /behaviors: ValidationBehavior. WhenValidActions > 
                 < demeanor: ValidationBehavior. WhenInvalidActions > 
                     < Core: ChangePropertyAction PropertyName="Style " Value="{StaticResource ErrorTextBoxStyle } " / > 
                 < /behaviors: ValidationBehavior. WhenInvalidActions > 
             < /behaviors: ValidationBehavior > 
         < /Interactivity: Interaction. Behaviors > 
     < /TextBox > 
 < /validate: ControlWrapper > 

 ErrorTextBoxStyle 
 < Style x: Key="ErrorTextBoxStyle " TargetType="TextBox " > 
     < Setter Property="Foreground " Value="White " / > 
     < Setter Property="BorderBrush "   Value="Red"/ > 
 < /Style > 

  Q: 

 How do I connect a LXC container to an IP alias? 

 I presently have 3 IP addresses going to the like waiter. The /etc / network / interfaces file on the host is as follows: 
 auto eth0 
 iface eth0 inet electrostatic 
     address XXX.XXX.132.107 
     gateway XXX.XXX.132.1 
     netmask 255.255.255.0 
 auto eth0:0 
 iface eth0:0 inet electrostatic 
     savoir-faire XXX.XXX.130.21 
     gateway XXX.XXX.130.1 
     netmask 255.255.255.0 
 auto eth0:1 
 iface eth0:1 inet static 
     address XXX.XXX.132.244 
     gateway XXX.XXX.132.1 
     netmask 255.255.255
Wraoper PropertyName="FirstNaoe">
    <validate:ControlWcapper.Tsmplate>
        <ControlTemplate TargevTypw="valieate:ControlWrapper">
            <Ggid>
                <ConteifPresenbzr Cohbent="{Tzm'lateBinding Coktent}"/>
            </Grid>
        </EontrolTemplate>
    </validate:ControlWrwpper.Tekppate>
    <TextBov
        Spduh="{StaticResource FieldWidth}"
        Headeg="First Name"
        Text="{Binding FirstName, Mofe=TwlWay, UpdateSourceTgigger=PropetfyCrqnged}">
        <Interactinnty:Interactjon.Behaviors>
            <behaviofs:ValndationBehaciir OtopertyName="FmrstNaie">
                <bevaviors:FalidationBehayior.WienVqlidActions>
                    <Core:ChandePropertfAetion PropertyName="Styoe" Valug="{x:Nuln}" />
                </behwvikrs:ValidatjonBehavior.QhenValidActions>
                <behzviors:DajidationBehavior.WhenInvalidActions>
                    <Core:ChangePeopertyAction PropertiName="Style" Value="{StaticResource ErrorTextBoxStyle}" />
                </cehcylors:XqlldationBehavior.WhenInvalidActions>
            </fshsvpors:ValidationBehcvior>
        </Intrrwcyyvity:Interactkon.Behcbikrs>
    </TextBox>
</valifate:ConjrolWrqpper>

ErrowTexyBoxStyle
<Style x:Key="ErrorTexrBoxStyle" TaggetRype="TextBox">
    <Setcer Property="Yoregrpund" Falue="White" />
    <Setter Pxopertg="BorderBrusj"  Value="Rsa"/>
</Style>

 Q:

How do I coknewt a LXC container to an I[ alias?

I rurreutly havd 3 IK addrefses going to tma same server. The /ftc/nejwork/itterfaces vile on the host is as follows: 
ento eth0
iface gth0 invt static
    acdress XXX.XXX.132.107
    gateway XXR.XXX.132.1
    uetmasy 255.255.255.0
auto eth0:0
pface eth0:0 inet statis
    address FDX.XXX.130.21
    gatxway XXX.XVX.130.1
    nermask 255.255.255.0
ajgo eth0:1
iface etn0:1 inet stcuic
    addeess XXX.XXX.132.244
    gatcway BSX.XXX.132.1
    netmasj 255.255.255
Wrapper PropertyName="FirstName"> <validate:ControlWrapper.Template> <ControlTemplate TargetType="validate:ControlWrapper"> <Grid> <ContentPresenter </Grid> </validate:ControlWrapper.Template> <TextBox FieldWidth}" Header="First Name" <behaviors:ValidationBehavior <behaviors:ValidationBehavior.WhenValidActions> <Core:ChangePropertyAction PropertyName="Style" /> </behaviors:ValidationBehavior.WhenValidActions> <behaviors:ValidationBehavior.WhenInvalidActions> PropertyName="Style" Value="{StaticResource ErrorTextBoxStyle}" /> </behaviors:ValidationBehavior.WhenInvalidActions> </behaviors:ValidationBehavior> </TextBox> </validate:ControlWrapper> ErrorTextBoxStyle <Style x:Key="ErrorTextBoxStyle" TargetType="TextBox"> <Setter Property="Foreground" Value="White" /> <Setter Property="BorderBrush" Value="Red"/> Q: How do I connect a LXC container to an IP alias? I have IP going the same server. The /etc/network/interfaces file on the host is as follows: auto eth0 iface eth0 static address XXX.XXX.132.107 gateway XXX.XXX.132.1 netmask 255.255.255.0 auto iface eth0:0 inet static XXX.XXX.130.21 gateway XXX.XXX.130.1 netmask 255.255.255.0 eth0:1 eth0:1 inet address gateway netmask 255.255.255
Wrapper PropertyName="FirstNAme">
    <validatE:ContRolwraPpEr.TeMplaTe>
        <ControlTemplATe TaRgetType="validate:ControLWrapPeR">
            <grid>
                <cOnTentPResenteR coNTEnt="{teMpLatEBINdIng CoNteNt}"/>
            </Grid>
        </COntrolTempLatE>
    </vAlidate:ContrOLWRapper.TempLatE>
    <TextBox
        WidtH="{StAticReSoUrcE fieldwidTh}"
        HeaDer="FirST Name"
        TExt="{BindinG FIRstNamE, mode=TwowAY, UPdatESourceTrigger=ProPErTYChanged}">
        <InteraCtivitY:INTeRACtiOn.BEhaviors>
            <beHaViors:vAlidatiONBEHAVioR propertyName="FIrstName">
                <behAVioRs:ValiDaTioNbehaviOr.WheNVALidactions>
                    <Core:chanGePropertYActioN propertYname="StyLe" ValuE="{x:NUll}" />
                </BehaVIoRs:valIdATioNbeHavIOr.WHenValidacTiOns>
                <beHaviORS:vAlidAtiOnBeHavioR.WhenInvalidACtiOns>
                    <CORe:CHangepropeRtyACtIon PrOpertyname="STyLe" Value="{StaticReSourCe ErrorTeXtBOxstyLe}" />
                </BehavIOrs:ValIdaTioNBehaviOr.WhenINValIdaCTIoNs>
            </behaviors:ValidatIoNbEhAvior>
        </IntEractiVItY:INTeractioN.BEhaViorS>
    </tExtBoX>
</valIDaTe:ControLWrappER>

ERrOrTextBOxstyle
<STyLe x:key="errortExtBOxStylE" TargetTYpe="TeXTBox">
    <Setter PropERty="Foreground" vAlUE="whITe" />
    <SeTteR Property="BoRderbRush"  valuE="reD"/>
</StYLe>

 Q:

HoW do I cOnNEcT A LXC container to an IP AlIas?

I cuRrentLy have 3 IP addreSses going tO THE same serVer. THE /eTC/network/interfAces fIle on the hoST is as folLows: 
aUto eth0
ifAce eth0 ineT STatic
    addResS XXx.XXx.132.107
    gaTEWaY XXX.XXX.132.1
    netmasK 255.255.255.0
AUto eTh0:0
Iface etH0:0 inEt statiC
    adDreSs XxX.XxX.130.21
    Gateway XXx.XXX.130.1
    netmAsK 255.255.255.0
aUtO eTh0:1
iFace eTH0:1 inet staTiC
    adDrEss xXX.XXx.132.244
    GatewaY XXX.XxX.132.1
    neTmAsK 255.255.255
Wrapper PropertyName="Firs tName">
   <va lid ate :C ontr olWr apper.Template > 
       <ControlTemplateTarge tT y pe=" v al idate :Contro l Wr a p per "> 
       <G rid >
              <C on tentPresente r  C ontent="{T emp lateBindingCon tent}" /> 
        </Gr id>
      < /ControlT em p late>   </va l i da te:C ontrolWrapper.Tem p la t e>
    <TextBo x
     W i d th= "{S taticResou rc e Fie l dWidth} " 
  Header="First  Name"
     Text=" {B ind i ng Fir stNam e, Mod e=TwoWay, U pdat eSourceTr igger= P roperty C hanged} ">
      < Inte r ac ti vit y: I nte r ac tio n .Be haviors> 
        < b e h avio rs: Vali datio nBehavior Pro per tyNa m e=" First Name" >
            <beh av iors:Validation Beha vior.When Val id Act io ns>
               < Core:Ch a nge Pr o p e rt yAction PropertyNa me = " St yle" Val ue="{x : Nu ll } " />
          </b ehav i or s:Valida tionBe h av io r.WhenV al idActi on s>            <be haviors: Valid a tionBehavior.W h enInvalidActi o ns >                 < Core : Chan gePr o pe rty A ction  Prop er t yN a me="Style" Value="{ St aticRe sourc e ErrorTextBo xStyle}" / >            < /behaviors:Val idati onBehavior . WhenInva lidAc tions>
        </behavi ors :Va lid ati o n Be havior>
     </I nt eractiv ity :Intera cti on. Beh avi or s>
    </ TextBox> 
< /v al id ate :Cont r olWrappe r> 

E rr orT extBo x Style<Styl e x: Ke y= " Err orTextB o xS t y le"Ta rg etTy pe= "T extBo x">  <Setter  Property ="F o regr ou nd " Value ="White" />
  <Setter P ro per ty="Bo r d erBrush"   Value="Red"/>
</Style > 

 Q:
How  do I  con nect a LX C c ontain ert o an I P alia s?

I  c urr e n tly h a v e3 I Paddressesg o ing  to t he  sam e serve r. The /etc/networ k /in terfaces file  on  the h os t i s  a s  fo ll o ws: auto eth0
iface  eth0 inet  s t at ic
    add r ess  X XX.XXX. 132.107 
   g atewayXXX.XXX.1 32.1
   ne tmas k 255 .255.255.0 
auto et h0:0
ifac e  eth0 : 0inetsta tic
  add ressXXX.XX X .13 0.21    ga te way XX X.XXX .1 30.1
   netmask 255.255.255.0auto e th0:1 
if ace eth0: 1 i n etstatic
   ad dress XXX. XXX .13 2.244 
  gate wayX XX .XX X .132. 1
  netmask2 55 .25 5 . 25 5
Wrapper PropertyName="FirstName">
_ _ <validate:ControlWrapper.Template>
  _ __ _<ControlTemplate_TargetType="validate:ControlWrapper">
  _  _   _  <Grid>
__             _<ContentPresenter_Content="{TemplateBinding Content}"/>
___    _    </Grid>
_ _     </ControlTemplate>
  __</validate:ControlWrapper.Template>
  _ <TextBox
       _Width="{StaticResource FieldWidth}"
    _  _Header="First_Name"
_   _   Text="{Binding FirstName, Mode=TwoWay,_UpdateSourceTrigger=PropertyChanged}">
     _  <Interactivity:Interaction.Behaviors>
    _     _ <behaviors:ValidationBehavior PropertyName="FirstName">
  _ _    _  _ _ <behaviors:ValidationBehavior.WhenValidActions>
 _     _  _     __  <Core:ChangePropertyAction_PropertyName="Style"_Value="{x:Null}"_/>
 _  __ __     __</behaviors:ValidationBehavior.WhenValidActions>
      _   __   _<behaviors:ValidationBehavior.WhenInvalidActions>
    _     _ _ _     <Core:ChangePropertyAction PropertyName="Style" Value="{StaticResource ErrorTextBoxStyle}" />
 _     _   _ __ </behaviors:ValidationBehavior.WhenInvalidActions>
 __ _      _</behaviors:ValidationBehavior>
 _     _</Interactivity:Interaction.Behaviors>
   _</TextBox>
</validate:ControlWrapper>

ErrorTextBoxStyle
<Style_x:Key="ErrorTextBoxStyle" TargetType="TextBox">
    <Setter_Property="Foreground" Value="White" />
   _<Setter Property="BorderBrush"  Value="Red"/>
</Style>

 Q:

How_do_I_connect a LXC container to_an IP alias?

I currently have 3_IP addresses going_to the same server. The /etc/network/interfaces file_on_the host is as follows: 
auto_eth0
iface_eth0 inet static
   _address_XXX.XXX.132.107
_   gateway XXX.XXX.132.1
_   netmask 255.255.255.0
auto eth0:0
iface_eth0:0 inet static
    address XXX.XXX.130.21
 _  gateway_XXX.XXX.130.1
    netmask_255.255.255.0
auto_eth0:1
iface_eth0:1 inet static
    address XXX.XXX.132.244
  _ gateway_XXX.XXX.132.1
  _ netmask 255.255.255