LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Help whith network manual configuration (http://www.linuxquestions.org/questions/slackware-14/help-whith-network-manual-configuration-112315/)

zokter 11-04-2003 12:31 PM

Help whith network manual configuration
 
My computer is a part of a local ethernet in which, the
computers access to the internet via a proxy server.
My problem is that the network is unrechable.
The network administrators give to each computer the adresses of :
ip,subnetmask,gateway,DNS.

I try to do:
1. Whith ifconfig to configure the eth0 and lo interfaces
(the Broadcast adress is confusing me,because i dont know its adress )
2. Edit the /etc/rc.d/rc.inet1 and put the right adresses.
(When i run this file the result is : network is unrechable)
3. Whith route to configure the kernel ip tables whith no success.
(under the gateway is a * and i believe this means that there is
no adress to gateway, but i can't change it.)
4. Run netconfig whith no results.

The only result is that i can see some shares in the local ethernet
(from my workgroup ?)but there is no ping response from gateway and
always the network is unrechable. (whith windows all works fine)
I thing that the problem is simple, but i cant find it. Maybe the
route command gives the solution.

Help me whith route command and tell me other (files, commands, tools)
that you now about network configuration ,or what is my mistake.

Hangdog42 11-04-2003 01:59 PM

You can edit your /etc/rc.d/rc.inet1 and insert the IP, netmask and gateway information in the section for your card (eth0 for example).

The DNS information belongs in /etc/resolv.conf in the format:

nameserver 1.2.3.4

Where 1.2.3.4 is replaced by the DNS IP address your network admin got you.


That should get you up and running.

davidsrsb 11-05-2003 03:22 AM

I find that netconfig (su root first) works fine, but you need to reboot the PC to make the settings active.
Otherwise your broadcast is derived from your IP address and netmask
eg
192.168.1.10 - IP
255.255.255.0 - mask, ie network is 192.168.1.0/24
-> 192.168.1.255 - broadcast


All times are GMT -5. The time now is 10:31 AM.