|
LRP using Static IP address
Sometimes you need to use a "static IP address" to connect to the outside
world (e.g., some business ADSL services provide
several static IP addresses to your premises).
Telus.net "static IP": although you have subscribed to a
Telus "static
IP" service, you still need to use DHCP (hence you are really a "dynamic
IP" user as far as LRP is concerned). It means that the IP address
assigned to you by Telus's DHCP server does not change after reboots. Clear
as mud ? You subscribed to static IP, but you should use dynamic IP (DHCP).
Click here to go back.
"Static IP" requires a bit more configuration data
and geeky stuff,
proceed with patient.
Preparation Step
You need to know seven (7) geeky items:

(1) IP address, (2) net mask, (3) broadcast
address, (4) gateway,
(5) primary DNS, (6) secondary DNS, (7) domain-suffix.
Ask your DSL company or cable modem company for the above information,
or check your DSL/cable sign-up documentation, or, using a working computer
that is connected to the DSL or cable modem.
Win 95/98: click Start...Run....winipcfg
(see this diagram)
WinNT/2000/XP: click Start...Run...cmd.....ipconfig
/all
Windows ME:
click Start...Run...command.....ipconfig
/all | more (press space-bar to scroll down)
At this point, you have found your "IP Address" [1], "Subnet Mask"[2] and "Gateway"[4]
Use my broadcast address calculator to determine
the broadcast address in your situation.
| Your IP Address (1) |
Subnet Mask (2) |
Gateway (4) |
broadcast address (3) |
| |
|
|
|
Find out your DNS servers and domain suffix
(click here on how to)
| Primary DNS server (5) |
Secondary DNS server (6) |
domain suffix (7) |
| |
|
|
Now you have collected all (7) seven geeky items needed to configure
a "static IP" LRP
Hook up the firewall as shown. Insert the static
IP boot-floppy
in the LRP firewall box.
Power up LRP, (the first boot will take 5 minutes or longer since there
is no valid IP address yet, don't panic), when the login screen appears,
login as root, choose
1-network settings,
1-network configurations,
edit four (4) items:

Ctrl-S and Enter
to save your changes, Ctrl-C,
q, and B
for backup, choose 2-etc
Type q several times to get to the #prompt.
Type ae /etc/resolv.conf
It should look like this, edit 3 items.

| search |
change home.com to your domain suffix
(Item 7) |
| nameserver |
change 198.80.55.1 to your primary DNS
server (Item 5) |
| nameserver |
change 198.161.156.1 to your secondary
DNS server, if any (Item 6) |
Ctrl-S and Enter
to save your changes, Ctrl-C,
lrcfg, and B
for backup, choose 2-etc
reboot
After boot up, login as root,
q to drop to # prompt:
# ip address you should see eth0
and eth1 like this (that means network drivers loaded!)
# ip route you should see eth0,
eth1 and default:

Your IP addresses will be different from above.
# ping www.attglobal.net
(many www hosts will not respond to pings, in that case, ping others)
you should see replies to your pings like this:

Ctrl-C to stop the pings from running
for ever.
Next, jump to Step (11) of the previous page (index.html)
to configure the DHCP server on the LRP, for your internal network.
|