We present here some example network configurations. The numbers will only make sense for very specific locations and you will need to obtain your specific addresses from your System Administrator. We illustrate these through the contents of /etc/network/interfaces but it is advisable to use Applications-->System Tools-->Networking as discussed above to change the contents of this configuration file.
The simplest configuration uses DHCP to automatically obtain network information from a server that allocates addresses:
auto eth0 iface eth0 inet dhcp
Velox (4.10.26) was initially set up to allow DHCP allocation of the IP address. The DHCP server delivered the appropriate information as demonstrated in /var/log/installer.log:
got dhcp offer HOSTNAME: requesting velox ip: 184.108.40.206 next server: 0.0.0.0 netmask: 255.255.255.0 gateway: 220.127.116.11 dnsServers: 18.104.22.168 numDns: 1 domain: ktware.com broadcast: 22.214.171.124 network: 126.96.36.199 configured interface eth0 The network has been successfully configured using DHCP/BOOTP.
A manual configuration requires the information to be specified:
auto eth0 iface eth0 inet static address 188.8.131.52 netmask 255.255.255.192 broadcast 184.108.40.206 gateway 220.127.116.11
A computer with a 3Com 3c905 ethernet card:
eth0: 3Com 3c905 Boomerang 100baseTx at 0xfc80, 00:c0:4f:f7:02:bf, IRQ 10 8K word-wide RAM 3:5 Rx:Tx split, autoselect/MII interface. MII transceiver found at address 24, status 7849. Enabling bus-master transmits and whole-frame receives.
You can check that the eth0 interface is functioning:
# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:C0:4F:F7:02:BF inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:21 errors:0 dropped:0 overruns:0 carrier:21 collisions:0 txqueuelen:100 Interrupt:10 Base address:0xfc80
A computer with a SMC91C92 Ethernet network card. I had to configure the appropriate kernel module to have this card recognised. I used the modconf command to do this, select the Net modules and select the smc9194 module. Configuring this succeeded, returning the following message:
SMC9194: SMC91C90/91C92(r:3) at 0x300 IRQ:10 INTF:TP MEM:4608b ADDR: 00:c0:4f:df:25:55