Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image RemovedImage Added


Various tool:

ifconfig ( and a file # if configuration )

brctl ( bridge-utils package) create bridge,  it will be attach to a "host interface" and will have an IP@, tipical usage: mgt bridge or second interface/back up link

>>> New command:    ip link add name br0 type bridge

virsh ( libvirt ) create virtual network, internal vbridge, only between VM.

...

ip addr ... ( replacing ifconfig ) configure l2 and l3 parameters



CLI NetworkManager:

[root@hp8300 me]# nmcli devicedevice  

[root@hp8300 me]# nmcli connection

...

Create a virtual network with virsh

main directory: /etc/libvirt/qemu/networks/

Image Added

virsh net-define virbr1.xml
virsh net-start virbr1
virsh net-autostart virbr1


Basic Configuration:

set host-name vsrxremote
set  interfaces fxp0 unit 0 family inet address 192.168.0.61/24
set set system name-server 8.8.8.8
set routing-options static route default next-hop 192.168.0.1
set system root-authentication
set system services ssh root-login allow