HOME > > Section: E (Add EtherNet Adapter for Private Network in Both Machine)

Section: E (Add EtherNet Adapter for Private Network in Both Machine)

Anup - Tuesday, October 4, 2022

1. Put the following entry in /etc/hosts file on Both Node.


192.168.157.111 racnode1 racnode1

192.168.157.222 racnode2 racnode2

192.168.157.11 racnode1-priv racnode11-priv

192.168.157.22 racnode2-priv racnode2-priv

192.168.157..50 racnode1-vip racnode1-vip

192.168.157.60 racnode2-vip racnode2-vip


2. Power off both machines

(Note: Complete step 3 to 8 on both node one by one)

3. Click on Edit virtual machine setting 

4. Click Add button and select Ethernet Adapter 

5. Select Host-Only Network type

6. Start the Both Machine and check network settings on both machines.

7. Go to RAC1 node: (Plumb Ethernet)

$ifconfig pcn1 plumb 192.168.0.11 netmask 255.255.255.0

$ifconfig pcn1 up

$ go to /etc/hostname.pcn1 and change host name (eg: rac1-priv) 

$ifconfig –a (This will show all Ethernet Adapter)

8. Go to RAC2 node: (Plumb Ethernet)

$ifconfig pcn1 plumb 192.168.0.22 netmask 255.255.255.0

$ifconfig pcn1 up

$ go to /etc/hostname.pcn1 and change host name (eg: rac2-priv) 

$ifconfig –a (This will show all Ethernet Adapter)

9. Power on both machine and verify your network setting


Contact me

Get in Touch

Need to get touch with me? Please fill out the form with your enquiry.

Name
Anup Srivastav
Address
Lucknow - Utter Pradesh
Email
myindiandba@gmail.com
Message me