Oracle Tutorials

In this Blog you can learn database, networking and cloud skills that will help you to understand Oracle Database and Non Oracle Database with extra key skill

Linux

2 comments :
LINUX NETWORKING Basics

·         Protocols are visible in the protocol field of the ip header, and are listed in the /etc/protocols file :: vi /etc/protocls
·         There is a list of port numbers are defined in /etc/services.
·         Change hostname : vi /etc/sysconfig/network
·         Each network card can be configured individually using the /etc/sysconfig/network-scripts/ifcfg-* files
·         ifdown eth0 && ifup eth0 (enable disable interface)

·         ifconfig : to show list of active interface card. "lo" interface is a loopback interface.
·         Can get the individual detail of the interface :  ifconfig eth0
·         ifconfig eth0 up will re-activate the nic keeping its existing (current) configuration, whereas ifup will read the correct file that contains a (possibly new) configuration and use this config file to bring the interface up.
·         The ifconfig tool is deprecated on some systems. Use the ip tool instead. $ ip activate
·         grep HOSTNAME /etc/sysconfig/network   --  hostname  ---   cat /etc/hostname
·         The ip to mac resolution is handled by the layer two broadcast protocol arp. The arp table can be displayed with the arp tool.
·         The ip to mac resolution is handled by the layer two broadcast protocol arp. The arp table can be displayed with the arp tool.
        use arp -a to display the arp table.
        use arp -d to remove an entry from the arp table.
·         The computer's local routing table with the command (and also with netstat -r)
              /sbin/route   or   netstat -re-activate
·         If you can ping to another host, then tcp/ip is configured. ]# ping 192.168.1.5
·         To display or change network card settings, use ethtool             ]# ethtool eth1

·         Sometimes a server needs more than one ip address on the same network card, we call this "binding" ip addresses.

·         Linux can also activate multiple network cards behind the same ip address, this is called "bonding".

2 comments :