Link to home
Start Free TrialLog in
Avatar of Mr-sark
Mr-sark

asked on

Debian ETH0 problems

i've  just got a new router and i installed it, it's workin fine on my windows machine, so i went on i configure my DEBIAN server.
I went to /etc/network
and VI interfaces like this

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.1.2
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1
        # dns-* options are implemented by the resolvconf package, if installed
#       dns-nameservers 192.168.1.1

now i can ping my router wich is 192.161.1.1 but when i try to ping www.google.nl i'll get the error "ping: unknown host www.google.nl"

What is wrong. I'm running debian. Ohw yeah how do i stop / restart /start my network device ? I know its if-down.d under red hat but how is it done under DEBIAN

thnx in advance
SOLUTION
Avatar of AlexeyZilber
AlexeyZilber

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mr-sark
Mr-sark

ASKER

if i changed the setting, do i need to restart my networcard? if so how
Avatar of Mr-sark

ASKER

if i try to ping for example

Lexiun:/etc/network# ping 213.239.154.35
connect: Network is unreachable

i'll get this error

my router is a VIGOR 2600
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mr-sark

ASKER

you said the magic words RESOLV.CONF

i think you guys helped me both out so i will split the points