60.30 Network Example Configurations

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\(\rightarrow\){System Tools\(\rightarrow\){}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 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
  next server:
  numDns: 1
  domain: togaware.com
  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

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:  Bcast:  Mask:
          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

Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0