Howto: change andLinux network configuration

From andLinux

(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
<p>In order to change the network ip addresses you need to modify the following configuration items:</p>
<p>In order to change the network ip addresses you need to modify the following configuration items:</p>
<ul>
<ul>
-
<li>TAP-Colinux ip address and subnet</li>
 
<li>andLinux eth1 ip address and subnet</li>
<li>andLinux eth1 ip address and subnet</li>
-
<li>andLinux launcher registry configuration</li>
 
<li>andLinux /etc/profile configuration file</li>
<li>andLinux /etc/profile configuration file</li>
 +
<li>TAP-Colinux ip address and subnet</li>
 +
<li>andLinux launcher registry configuration</li>
</ul>
</ul>
 +
<h1>Step-by-step</h1>
 +
<p>In this example we will change the network to be 169.254.28.0/24. The Windows host will keep the host address 1, andLinux eth1 will retain the host id 150.</p>
<h2>andLinux eth1 ip address configuration</h2>
<h2>andLinux eth1 ip address configuration</h2>
-
<p>lorem ipsum</p>
+
<p>The eth1 static ip configuration is stored in the '/etc/network/interfaces' config file. So we are going to edit this file to reflect the following information:</p>
 +
<code>
 +
iface eth1 inet static<br/>
 +
address 169.254.28.150<br/>
 +
netmask 255.255.255.0<br/>
 +
gateway 169.254.28.1
 +
</code>
<h2>andLinux /etc/profile configuration</h2>
<h2>andLinux /etc/profile configuration</h2>
<p>lorem ipsum</p>
<p>lorem ipsum</p>

Revision as of 21:10, 21 April 2008

Contents

Abstract

andLinux is configured with two network interfaces by default, eth0 and eth1. The eth1 is used to communicate to the Windows host via the TAP-Colinux network interface.

The Windows interface is configured with ip address 192.168.11.1, and the Linux eth1 adapter is configured with 192.168.11.150. The TAP-Colinux interface operates as a router, so from the Windows host you can ping the eth1 interface and access the various network services you have configured.

What needs to be changed?

In order to change the network ip addresses you need to modify the following configuration items:

  • andLinux eth1 ip address and subnet
  • andLinux /etc/profile configuration file
  • TAP-Colinux ip address and subnet
  • andLinux launcher registry configuration

Step-by-step

In this example we will change the network to be 169.254.28.0/24. The Windows host will keep the host address 1, andLinux eth1 will retain the host id 150.

andLinux eth1 ip address configuration

The eth1 static ip configuration is stored in the '/etc/network/interfaces' config file. So we are going to edit this file to reflect the following information:

    iface eth1 inet static
address 169.254.28.150
netmask 255.255.255.0
gateway 169.254.28.1

andLinux /etc/profile configuration

lorem ipsum

TAP-Colinux ip address configuration

lorem ipsum

andLinux launcher configuration

lorem ipsum

Seen a page that contains spam or objectionable material? Please report the link and/or login of the author to david @ andLinux . org (remove spaces)