Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OL6 - network question

EdStevensDec 5 2015 — edited Dec 7 2015

OL 6.7 64-bit on VBox

Starting to play around with building my first ever RAC on a Vbox setup, and seeing a networking issue I don't understand.

My baseline server, that I have built scores of times, uses two NICs.  The first I leave at the default of NAT and configure accordingly as eth0 with DHCP.  The second is host-only and configured at eth1 with a fixed IP address of 192.168.56.1nn, with 'nn' being the unique address for each server.  Like I said, I've built scores of these with no issues at all.

Now, building the first of two servers for RAC, I use the above base config, but add a third NIC, configured for internal network, configured as eth2 with a fixed IP adress of 192.168.1.111.

The very first thing I do after installing OL 6 is connect with putty and start installing the VBox guest additions so that I can share out a directory on the host OS.  First step is 'yum install gcc'.  On the first, 2 NIC server, no problem.

But on the new, 3 NIC server I notice two issues.  First, when I first connect with putty and enter my username (root, at this point) it takes several seconds to respond.  Second, and worse, when I issue the 'yum install' command, it says it cannot "resolve host 'public-yum.oracle.com'"

Here are the session logs from two freshly created servers, the only difference between the two being the addition of the internal network NIC on server 2 (vblnxsrv02).  In both cases, this is the very first logon and very first commands after the initial installation reboot.

First the good server, vblnxsrv01

------------------ vblnxsrv01 -----------------

login as: root

root@vblnxsrv01's password:

Last login: Sat Dec  5 11:56:42 2015 from 192.168.56.1

[root@vblnxsrv01 ~]# ifconfig

eth0      Link encap:Ethernet  HWaddr 08:00:27:FD:1A:8F

          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0

          inet6 addr: fe80::a00:27ff:fefd:1a8f/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:79775 errors:0 dropped:0 overruns:0 frame:0

          TX packets:26657 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:97258238 (92.7 MiB)  TX bytes:1601947 (1.5 MiB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:F7:C3:D8

          inet addr:192.168.56.201  Bcast:192.168.56.255  Mask:255.255.255.0

          inet6 addr: fe80::a00:27ff:fef7:c3d8/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:17767 errors:0 dropped:0 overruns:0 frame:0

          TX packets:34222 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:1114856 (1.0 MiB)  TX bytes:6300234 (6.0 MiB)

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:65536  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[root@vblnxsrv01 ~]# yum -y install gcc

Loaded plugins: security, ulninfo

Setting up Install Process

public_ol6_UEKR3_latest                                  | 1.2 kB     00:00

public_ol6_UEKR3_latest/primary                          |  20 MB     00:07

public_ol6_UEKR3_latest                                                 514/514

public_ol6_latest                                        | 1.4 kB     00:00

public_ol6_latest/primary                                |  53 MB     00:19

public_ol6_latest                                                   32665/32665

Resolving Dependencies

--> Running transaction check

---> Package gcc.x86_64 0:4.4.7-16.el6 will be installed

--> Processing Dependency: cpp = 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.x86_64

<snip most of successful installation>

Installed:

  gcc.x86_64 0:4.4.7-16.el6

Dependency Installed:

  cloog-ppl.x86_64 0:0.15.7-1.2.el6          cpp.x86_64 0:4.4.7-16.el6

  mpfr.x86_64 0:2.4.1-6.el6                  ppl.x86_64 0:0.10.2-11.el6

Complete!

[root@vblnxsrv01 ~]#

And then the problem server, vblnxsrv02

------------------ vblnxsrv02 -----------------

login as: root

root@vblnxsrv02's password:

[root@vblnxsrv02 ~]# ifconfig

eth0      Link encap:Ethernet  HWaddr 08:00:27:7F:9D:74

          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0

          inet6 addr: fe80::a00:27ff:fe7f:9d74/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:2 errors:0 dropped:0 overruns:0 frame:0

          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:1180 (1.1 KiB)  TX bytes:1452 (1.4 KiB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:77:32:D5

          inet addr:192.168.56.202  Bcast:192.168.56.255  Mask:255.255.255.0

          inet6 addr: fe80::a00:27ff:fe77:32d5/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:109 errors:0 dropped:0 overruns:0 frame:0

          TX packets:112 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:10642 (10.3 KiB)  TX bytes:13813 (13.4 KiB)

eth2      Link encap:Ethernet  HWaddr 08:00:27:BB:BE:EA

          inet addr:192.168.1.111  Bcast:192.168.1.255  Mask:255.255.255.0

          inet6 addr: fe80::a00:27ff:febb:beea/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:43 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 b)  TX bytes:2738 (2.6 KiB)

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:65536  Metric:1

          RX packets:18 errors:0 dropped:0 overruns:0 frame:0

          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:1822 (1.7 KiB)  TX bytes:1822 (1.7 KiB)

[root@vblnxsrv02 ~]# yum -y install gcc

Loaded plugins: security, ulninfo

Setting up Install Process

http://public-yum.oracle.com/repo/OracleLinux/OL6/UEKR3/latest/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'public-yum.oracle.com'"

Trying other mirror.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: public_ol6_UEKR3_latest. Please verify its path and try again

[root@vblnxsrv02 ~]#

This post has been answered by Avi Miller-Oracle on Dec 6 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 4 2016
Added on Dec 5 2015
22 comments
4,791 views