Network Configuration

From Notes

Jump to: navigation, search

Basic services are enabled, disabled, and configured through /etc/inetd.conf.


Basic Network Commands

ifconfig - displays or configure interfaces

netstat - displays information on connections, listening sockets, or routing data

lanscan - displays detailed information on each attached, supported interface

Hardware Station        Crd Hardware Net-Interface   NM  MAC        HP DLPI Mjr
Path     Address        In# State    NameUnit State  ID  Type       Support Num
8/12/2/0 0x0060B0F9ACAC 1   UP       lan1     DOWN   4   ETHER      Yes     119
10/12/6  0x0060B0C4A2DB 2   UP       lan2     DOWN   5   ETHER      Yes     52
8/12/1/0 0x0060B0F9ACAB 0   UP       lan0     UP     6   ETHER      Yes     119

ioscan - used to display interface information

ioscan -fn -C lan

Network Interface Configuration Files

The configuration files for NICs are in /etc/rc.config.d/

  • netconf
  • hp<driver>conf
    • hpgelanconf
    • hpbt100conf

Each card is configured through the respective /etc/rc.config.d/hp<driver>conf file, then activated through the /etc/rc.config.d/netconf file. At this point the network or server can be restarted to have the new settings take effect.

/sbin/init.d/net.init start
/sbin/init.d/net start
/sbin/init.d/hpgelan start
Personal tools