[ LUGOS ] debian & mreza

Borut Mrak borut.mrak na ijs.si
Čet Mar 22 03:08:05 CET 2001


On Wed, Mar 21, 2001 at 09:32:19PM -0000, Robert Feri wrote:
> pod debianom 2.2 sem uspesno poinstaliral mrezno in postimal vse nastavitve 
> s:
> ifconfig eth0 192.168.244.141 netmask xxx broadcast xxx gateway xxx dns xxx
> 
> Sedaj lahko pingam vse racunalnike v lokalni mrezi, se zmeri pa ne morem na 
> internet. Sem se kaj pozabil nastavit ?

Amm, razsvetli me ce je drugace, ampak od kdaj tocno ifconfig pozna parametre
gateway in dns?

Postopek za nastavit mrezo na Linux-u 2.2 je kolikor vem takle:

ifconfig eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255
route add default 192.168.0.1

nameserverje pa napises v /etc/resolv.conf

Jaz imam tole v /etc/network/interfaces:


# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
iface eth0 inet static
	address 212.93.228.xx
	netmask 255.255.255.xx
	network 212.93.228.xx
	broadcast 212.93.228.xx
	gateway 212.93.228.xx

in interfaces se mi lepo dvigne z ifup eth0 iz obratno z ifdown eth0.

lp,

-- 
Borut
borut.mrak na ijs.si
-----------------
If at first you don't succeed, call it version 1.0




Dodatne informacije o seznamu Starilist