The network card is configured by a file in the /etc directory. The file is named hostname.NNN. The NNN will be specific to your type of network card. Whatever letters you use to specify the card, you will also append a number such as 0 to designate it as the first card on the system, or a 1 to designate it as the second card. The file will have a syntax to the following: # /etc/hostname.ep0 #address_family address netmask broadcast [other options] inet 192.168.1.1 255.255.255.0 NONE hostname.if(5): hostname.ne Adapters that are Novell ne2000 compatible. hostname.sis Adapters based on the National Semiconductor DP83815 (MacPhyter) PCI Ethernet controller chip, including the Netgear FA311 and FA312. hostname.dc Lite-On PNIC/PNIC-II-based adapters. DEC/Intel 21140, 21143 and clone 10/100 Ethernet driver: LinkSys LNE100TX (PNIC 82c168, 82c169) | including: Linksys LNE100TX v4.x hostname.de DEC DC21x4x (Tulip) Ethernet driver, older LinkSys 10, 10/100 To view a list of media types and options supported by your card try "ifconfig -m". For example, ``ifconfig -m ep0''. If more than one of the supported cards is installed, they are probed for in the following order: 1. PCI cards based on PCI function number order. 2. EISA cards based on EISA slot number order. 3. ISA cards based on increasing Ethernet address order. 4. Any ISA cards in Plug-and-Play mode, in Plug-and-Play order. # ifconfig ep0 192.168.0.1 up netmask 255.255.255.0 A breakdown of this syntax: ifconfig - Interface Config utility ep0 - The network interface in question 192.168.0.1 - The interface's IP address up - Whether to raise the interface (up) or drop it (down) netmask 255.255.255.0 - The interface's netmask To display the results of this, issue the command: # ifconfig -a This will display all network interface configuration/status information. Once interface parameters have been set, the system stores them automatically. Some other parameters such as static default routes and interface IP addresses can be stored in /etc/mygate and /etc/hostname.interface respictively in a simple format: # /etc/mygate 203.25.128.33 # /etc/hostname.ep0 #address_family address netmask broadcast [other options] inet 210.8.218.252 255.255.255.248 NONE # route -n show # netstat -rn Dual homed: This is done by editing /etc/ifaliases to contain the line: ep0 192.168.1.1 255.255.255.0 Secondly, add the route for the 192.168.1.1 range by issuing the command: # route add 192.168.1.0 192.168.1.1 A simple breakdown of this command: route - route utility add - add a route to the table 192.168.1.0 - target address range 192.168.1.1 - IP to use as a gateway (in this case, a local one) #/etc/hostname.ne0 inet 192.168.1.200 255.255.255.0 NONE media 10baseT #/etc/resolv.conf search domain.name.com nameserver 206.124.64.253 nameserver 206.124.65.253 lookup file bind # route add 0.0.0.0 192.168.1.1 #default gateway Notes: NE2000 clones - only two combinations of IRQ and memory work: ne0: isa0 port 0x240/32 irq 9 ne1: isa0 port 0x300/32 irq 10 ne0: IRQ 9, io 240 Also requires the "iomem" or "boot PROM" location set to d8000 (may appear as "d800" on your card or in the config software) ne1: IRQ 10, io 300 ne2: IRQ 9, io 280 (can't have ne0 and ne2)