Differences between revisions 1 and 2
Revision 1 as of 2004-04-13 11:55:42
Size: 579
Editor: c-24-20-128-145
Comment:
Revision 2 as of 2004-04-13 12:06:37
Size: 1281
Editor: c-24-20-128-145
Comment:
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:

=== /etc/dhcpd.conf ===
Depending on the ISP, domain-name-servers needs to be set appropriately.

For PGE node the following setup is specified to run DHCP server on eth1:

{{{
option domain-name "personaltelco.net";
option domain-name-servers 204.127.199.8;

option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 8600;

subnet 10.31.0 netmask 255.255.255.0 {
  range 10.11.31.2 10.11.31.253;
  option domain-name servers 204.127.199.8, 63.240.76.198;
  option domain-name "personaltelco.net";
  option routers 10.11.31.1;
  option subnet-mask 255.255.255.0;
  option broadcast-address 10.11.31.255;
  default-lease-time 600;
  max-lease-time 8600;
}

}}}

This page gives some hints on node setup:

/etc/network/interfaces

  • eth0 will receive its IP address from the DSL/cable modem. It should thus be configured as a DHCP client.
  • eth1 will assign its IP address to the AP following NetworkAddressAllocations. Its address is static.

The file reads as follows (in case of PGE node):

# The first network card - this entry was created during the Debian installation
autho eth0
iface eth0 inet dhcp

# PTP added this:
auto eth1
iface eth1 inet static
  address 10.11.31.1
  netmask 255.255.255.0

/etc/dhcpd.conf

Depending on the ISP, domain-name-servers needs to be set appropriately.

For PGE node the following setup is specified to run DHCP server on eth1:

option domain-name "personaltelco.net";
option domain-name-servers 204.127.199.8;

option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 8600;

subnet 10.31.0 netmask 255.255.255.0 {
  range 10.11.31.2 10.11.31.253;
  option domain-name servers 204.127.199.8, 63.240.76.198;
  option domain-name "personaltelco.net";
  option routers 10.11.31.1;
  option subnet-mask 255.255.255.0;
  option broadcast-address 10.11.31.255;
  default-lease-time 600;
  max-lease-time 8600;
}

StefNodeSetup (last edited 2007-11-23 18:00:54 by localhost)