Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vmhost:
- [root@oplex ~]# ip a show vnet0 #this is virtual nic on vm
- 11: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brMgmt state UNKNOWN group default qlen 1000
- link/ether fe:54:00:89:9a:76 brd ff:ff:ff:ff:ff:ff
- inet6 fe80::fc54:ff:fe89:9a76/64 scope link
- valid_lft forever preferred_lft forever
- vmhost:
- [root@oplex ~]# ip a show brMgmt #this is bridge, master of vnet0
- 7: brMgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
- link/ether 52:54:00:51:03:b4 brd ff:ff:ff:ff:ff:ff
- inet 192.168.122.1/24 brd 192.168.122.255 scope global brMgmt
- valid_lft forever preferred_lft forever
- vmhost:
- [root@oplex ~]# ip a show em1 #this is physical connection to machine
- 2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
- link/ether 90:b1:1c:92:da:c7 brd ff:ff:ff:ff:ff:ff
- inet 192.168.1.105/24 brd 192.168.1.255 scope global noprefixroute em1
- valid_lft forever preferred_lft forever
- inet6 fe80::c293:f800:a48a:a2f4/64 scope link noprefixroute
- valid_lft forever preferred_lft forever
- vmhost:
- [root@oplex ~]# virsh domdisplay --domain centotest #opex is host, centostest is vm guest
- vnc://127.0.0.1:2
- client:
- ssh -L 5902:127.0.0.1:5902 root@opex
- vnc (on client)
- vnc://127.0.0.1:2 #error "cannot connect to server"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement