<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi,<br>
<br>
First I created a bonding interface:<br>
<br>
# add nic --parent-host-name server01 --name bond0 --network-name VLAN602 --bonding-slaves-host_nic host_nic.name=eno1 --bonding-slaves-host_nic host_nic.name=eno2<br>
<br>
This works great but no IP is set on VLAN602.<br>
<br>
Then I'm trying to add an ip address to a network with the following command:<br>
<br>
# update hostnic --parent-host-name server01 --network-name VLAN602 --boot_protocol static --ip-address 10.10.10.10 --ip-netmask 255.255.255.0<br>
<br>
============================================================================================================== ERROR ============================================================================================================<br>
wrong number of arguments, try 'help update' for help.<br>
================================================================================================================================================================================================================================<br>
<br>
Looking at this document <a class="moz-txt-link-freetext" href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6-Beta/html/RHEVM_Shell_Guide/nic.html">
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6-Beta/html/RHEVM_Shell_Guide/nic.html</a> I need to use "nic" instead of "hostnic" but then I don't have the options to say this is a --parent-host-name. Only VM related command
options.<br>
<br>
So I think the documentation is behind. <br>
<br>
Can somebody help me with what the command is to add a IP to a VLAN/Network for a host?<br>
<br>
<br>
</tt>
<div class="moz-signature">-- <br>
<title></title>
<div style="color: rgb(0, 0, 0);">
<p class="MsoNormal" style="font-size: 14px; font-family:
Calibri, sans-serif; margin: 0cm 0cm 0.0001pt;">
<b><font face="Arial,sans-serif" color="#2c8cb6"><span style="font-size: 10pt;">K</span><span style="font-size:
13px;">i</span><span style="font-size: 10pt;">nd regards,</span></font></b></p>
<p class="MsoNormal" style="font-size: 11pt; font-family:
Calibri, sans-serif; margin: 0cm 0cm 0.0001pt;">
<b><span style="font-size: 10pt; font-family: Arial, sans-serif;
color: rgb(44, 140, 182);"> </span></b></p>
<p class="MsoNormal" style="font-size: 14px; font-family:
Calibri, sans-serif; margin: 0cm 0cm 0.0001pt;">
<b style="font-size: 11pt;"><span style="font-size: 10pt;
font-family: Arial, sans-serif; color: rgb(44, 140, 182);">Jurriƫn Bloemen</span></b><b style="font-size: 11pt;"><span style="font-size: 10pt; font-family: Arial, sans-serif;
color: gray;"><br>
</span></b><font face="Arial,sans-serif" color="#808080"><span style="font-size: 10pt;"></span></font></p>
<br>
</div>
</div>
This message (including any attachments) may contain information that is privileged or confidential. If you are not the intended recipient, please notify the sender and delete this email immediately from your systems and destroy all copies of it. You may not,
directly or indirectly, use, disclose, distribute, print or copy this email or any part of it if you are not the intended recipient
</body>
</html>