network troubles

Kernels & Hardware, configuring network, installing services

network troubles

Postby Guest » 2004-09-26 07:51

Hi all

I have a broadband router. And I use dhcp to connect/let my machine connect to the Internet.

So now i know that /etc/network/interfaces makes it possible to set up my primary network interface. this is what I have for the primary network interface.

# The primary network interface
auto eth0
iface eth0 inet dhcp

So when I boot my box it get's a Network IP right? Yes. So usually it's a random one. I have to set a ip for eth0 manually with ifconfig and restart the network before it works. I need to do this because I specified special NAT rules for that IP.

I hope I made my problem clear. I would like to thank you all in advance.


Postby Fuffi » 2004-09-26 09:52

no, your problem isn't clear to me :))

but if you want to set a static ip in den interface file you have to change it to

auto eth0
iface eth0 inet static

hope this is your problem, otherwise please describe it again :)
Posts: 4
Joined: 2004-09-19 08:08
Location: Austria

Postby Guest » 2004-09-27 15:51

If I do this then dhcp is not run.

Postby Guest » 2004-09-27 15:52

I mean, when I modify my settings like that dhcp(client)isn't started at bootup. If I use auto eth0 then dhcp(client) is started.

Return to System configuration

Who is online

Users browsing this forum: No registered users and 14 guests