Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DNS Servers: 8.8.8.8

Then click on Apply

 

67. View the network interface

No Format
# ifconfig
eth0eth1      Link encap:Ethernet  HWaddr 08:00:27:185B:B582:AF6E  
          inet addr:10.0.2.4  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe18fe5b:b5af826e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24112 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33024 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:217819201 (218.29 KiB)  TX bytes:473251775 (461.27 KiB)
          Interrupt:10 Base address:0xd020 
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:1643665536  Metric:1
          RX packets:3670282 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3670282 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:430655217588 (417.1 MiBKiB)  TX bytes:430655217588 (417.1 MiBKiB)

There is only one network interfacesinterface:

  • eth1 which is a fixed IP address. This is used to connect between the source and target servers and also to the Internet. This IP is 10.0.2.4.

78. Test if the network connection is working. Use Control-C to stop the ping.

No Format
# ping www.dbvisit.com
PING dbvisit.com (67.222.54.241) 56(84) bytes of data.
64 bytes from 67-222-54-241.unifiedlayer.com (67.222.54.241): icmp_seq=1 ttl=47 time=190 ms
64 bytes from 67-222-54-241.unifiedlayer.com (67.222.54.241): icmp_seq=2 ttl=47 time=189 ms
64 bytes from 67-222-54-241.unifiedlayer.com (67.222.54.241): icmp_seq=3 ttl=47 time=192 ms
64 bytes from 67-222-54-241.unifiedlayer.com (67.222.54.241): icmp_seq=4 ttl=47 time=193 ms
^C
 

9. scp (secure copy) does not work because there is display output in ~oracle/.bashrc and ~oracle/.bash_profile. To fix this:

...