From Fedora Project Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 75: Line 75:
==== Create a new interface ====
==== Create a new interface ====


Create or redefine an interface by issuing <code>iface-define</code> in <code>virsh</code>. Verify that all the ifcfg-* files for it are written and contain what's expected. For examples of interface XML files, you can either use the ones created by <code>iface-dumpxml</code> above, or look at [http://git.fedorahosted.org/git/netcf.git?p=netcf.git;a=tree;f=tests/interface;hb=HEAD these files] for inspiration.
Create or redefine an interface by issuing <code>iface-define</code> in <code>virsh</code>. Verify that all the ifcfg-* files for it are written and contain what's expected. For examples of interface XML files, you can either use the ones created by <code>iface-dumpxml</iface> above, or look at [http://git.fedorahosted.org/git/netcf.git?p=netcf.git;a=tree;f=tests/interface;hb=HEAD these files] for inspiration.


Bring the interface up with <code>iface-start</code> in <code>virsh</code>, and check that you have the expected network connectivity.
Bring the interface up with <code>iface-start</code> in <code>virsh</code>, and check that you have the expected network connectivity.
Please note that all contributions to Fedora Project Wiki are considered to be released under the Attribution-Share Alike 4.0 International (see Fedora Project Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please solve the following task below and enter the answer in the box (more info):

Cancel Editing help (opens in new window)