lunes, 11 de mayo de 2015

Configuring the IP on RedHat 7 in a virtualbox VM

Ok, this is only a note of few steps.

1.- Shutdown the VM
2.- Go to you VM Settings -> Network and set Bridge Adapter / wlan0
3.- Start the VM
4.- once logged in execute 'dhclient' without parameters
5.- Verify that the ip address was assigned:


[root@localhost ~]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 08:00:27:fa:da:f9 brd ff:ff:ff:ff:ff:ff
    inet 172.19.8.222/22 brd 172.19.8.255 scope global dynamic enp0s3
       valid_lft 86177sec preferred_lft 86177sec
    inet6 fe80::a00:27ff:fefa:daf9/64 scope link
       valid_lft forever preferred_lft forever
[root@localhost ~]#


Enjoy!
P.D. No flags this time.

No hay comentarios:

Publicar un comentario