Networking: IP , bridge and virtual network
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.
nmcli ( CLI version of networkmanager )
ip addr ... ( replacing ifconfig ) configure l2 and l3 parameters
CLI NetworkManager:
[root@hp8300 me]# nmcli device Â
[root@hp8300 me]# nmcli connection
br0 is connected thru eno1 to the LANÂ ( used for management )
Create a virtual network with virsh
main directory:Â /etc/libvirt/qemu/networks/
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