Monday, July 13, 2009

Describing Interface Configuration

Describing Interface Configuration

To know MAC Address of NIC Card

ok banner
# ifconfig –a
8:0:20:93:c9…. -- Sun manufacturing NIC card
Hme0 qfe0 eri0 leo0 Sun NIC card types

# ifconfig hme0 down -- To down the NIC
# ifconfig hme0 up -- To up the NIC

# ping –s 140.40.0.123 -- Continuous pinging

# snoop -- To display incoming & outgoing packets. Press Ctrl+c to stop the snoop utility
# snoop IP1 IP2 -- To capture communication between two systems
# snoop –a dhcp -- To turn on audible clicks for all network traffic related to a dhcp boot
# snoop –V -- Summary verbose output
# snoop –v -- Detailed verbose output
# snoop –o filename -- Redirects the snoop utility output to filename in summary mode
# snoop –i filename -- Displays packets that were previously captured in filename

/etc/hosts -- Link file to /etc/inet/hosts
/etc/inet/hosts -- Should contain IP & hostname
32 virtual interdace is possible
Hme0:1 hmeo:2 ….. hme0:32

Configuring IPv4 Interfaces at Boot Time

/etc/rcS.d/S30network.sh - file

# cat /etc/hostname.hme0
Sys41 (or) 192.168.30.41

# cat /etc/inet/hosts
192.168.30.41 sys41

plumb -- To sync the IP and the config files

Changing the System Hostname

/etc/nodename -- File to change hostname
/etc/hostname.xxn
/etc/inet/hosts
/etc/net/tictls/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts

The /etc/net/tic* directories contains a host file. These files contain config info for transport independent network services. If these files become corrupted, unpredictable results can occur.

# sys-unconfig -- For total reconfiguration

No comments:

Custom Search

Feeds from my other blog

Samsung S2 Brand new for 25900 White piece sealed box

For Sale, Mobile Phones - Accessories in India, Andhra Pradesh, Hyderabad. Date September 17

For Sale in Hyderabad