Final network configuration


For all of the options we will discuss in this course, you will use the second ethernet card and some external equipment to provide a network connection to your router. In each case, there are some slight differences in the default configuration of the equipment, but overall, the process is a matter of assembling the right information in the right places. So, to begin, you will need to configure that second ethernet card.

Configuring the second Ethernet card

  1. As root, run linuxconf. Go to the section Config, Networking, Client tasks, Basic host information and press enter.
  2. Go down to the section labeled "Adaptor 2" and configure it as follows, UNLESS you use a Cable Modem or DHCP:
    			________Adaptor 2________
    			[X] Enabled
    Config mode		(o) Manual ( ) Dhcp ( ) Bootp		
    Primary name + domain	--Insert your full computer name (ie. teach.txis.com) 	
    Aliases (opt)		--Insert your computer name only (ie. teach)
    IP address		--This is generally the router IP address plus 1
    Netmask	(opt)		--This depends on the number of IP addresses you have purchased, and will usually be provided by the ISP
    Net device		eth1
    Kernel module		ne2k-pci
    I/O port (opt)
    Irq (opt)
    Accept the changes.

  3. For the Cable Modem or DHCP based network:
    			________Adaptor 2________
    			[X] Enabled
    Config mode		( ) Manual (o) Dhcp ( ) Bootp		
    Primary name + domain	--Insert your full computer name (ie. teach.txis.com) 	
    Aliases (opt)		--Insert your computer name only (ie. teach)
    IP address		
    Netmask	(opt)		
    Net device		eth1
    Kernel module		ne2k-pci
    I/O port (opt)
    Irq (opt)
    Accept the changes.

  4. Go to Config, Networking, Client tasks, Name server specification (DNS) and press enter.

    Set the options as follows:

    DNS usage			[X] DNS is required for normal operation
    default domain			--your chosen domain (ie. txis.com)
    nameserver 1			192.168.1.1
    nameserver 2 (opt)
    nameserver 3 (opt)
    search domain 1 (opt)		--your chosen domain again (ie. txis.com)
    search domain 2 (opt)
    search domain 3 (opt)
    
    Accept the changes

  5. Go to Config, Networking, Client tasks, Routing and Gateways, Defaults. Set the options as follows:

    For ISDN, DSL, and non-DHCP Ethernet networks:

    Default gateway			--IP address of router as set by your ISP
    				[X] enable routing
    

    For DHCP networks and Cable Modem:

    Default gateway
    				[X] enable routing
    
    Accept the changes.
  6. Last but not least, if your host is going to act as a DNS server for an internal network, you have to tell it what the external DNS server you want to us is. Go to Config, Networking, Server Tasks, Domain Name Server (DNS), Config, forwarders and press enter. Set the option as follows:
    IP address	--DNS Server address as provided by your ISP
    
The rest of the configuration options for setting up your router are secondary. The options for the range of equipment used to connect to ISPs varies so wildly that one should contact their ISP for the external equipment's appropriate configuration.