you have to decide if you want to use one of your static IP addresses or dynamic configuration (DHCP). if you use DHCP your address will most likely always be the same, but it's not guarenteed. it doesn't really matter either way unless you intend to run some kind of server.

DHCP

Redhat

# linuxconf
- Config
-     Networking
-         Client tasks
-             Basic host information
[toggle to dhcp, save and exit]
# pump

Slackware

# [read the manpage for dhclient and run it]
# [add whatever got dhclient to work to one of your /etc/rc.d/* scripts]

Static

information you might need is:

your ip addresses [eg- 10.3.58.16, 17, 18, 19, 20]
gateway: *.251 [eg- 10.3.58.251]
broadcast: *.255 [eg- 10.3.58.255]
netmask: 255.255.255.0
dns1: 143.183.24.1
dns2: 143.182.250.171
dns3: 143.183.68.7
dns4: 143.182.250.172

Generic

# ifconfig eth0 down
# ifconfig eth0 inet [your inet addr] broadcast [your broadcast addr] netmask [your netmask addr]
# ifconfig eth0 up
# route add -net 0.0.0.0 netmask 0.0.0.0 gw [your gateway address]
# [edit /etc/resolv.conf and add your nameservers]

Redhat

# linuxconf
[a little menu pops up]
Config
    Networking
        Client tasks
            Basic host information
[enter your ip information here]
Config
    Networking
        Client tasks
            DNS
[enter your dns information here]
[follow generic instructions]

Debian

# [edit /etc/init.d/network, if you can't figure it out you're fired]
[follow generic instructions]

Slackware

# [edit /etc/rc.d/rc.inet1]
[follow generic instructions]

-- TWikiGuest - 07 Dec 2001

Topic revision: r1 - 08 Dec 2001 - TWikiGuest
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback