Hi,
DNS are written in the /etc/resolv.conf file
Interface configuration (your IP address) is done through the ifconfig command :
ifconfig 192.168.0.1 netmask 255.255.255.0
gateway setting is done through the route command :
route add defautlt gw 192.168.0.254
These 2 commands won't last after a reboot. So as to keep your IP config you've to edit the conf files, in redhat that's /etc/sysconfig/networking/devices/if-eth0 or
/etc/sysconfig/networking/profiles/default/if-eth0
NB : all this must be done as root.
NB2 : there are also some graphic tools to do this (very similar to windows) but I don't know what they are
Last edited by fr_laz; 05-12-2005 at 06:38 AM.
|