Actually, I got that in /etc/network/interfaces:

# The primary network interface
auto eth0
iface eth0 inet dhcp

So, it looks like at the start of the system, it run a DHCP request. It's
strange...

For the question 2), I meant that if you do a DHCPREQUEST, the dhcp send
you, in the DHCPACK, a domain, I just wanted to be able to access this
value, if it's stored somewhere.

For the question 3), I wanted to know why the command "hostanme --fqdn"
returns me: localhost.localdomain.
I found out that it was the value stored in /etc/hosts.
But the problem is still there, I don't know why there is this value in
/etc/hosts and not something like debian.mydomain with mydomain equal to the
value that the DHCP gave me at the beginning (cf 2)).

Thanks for the answers.
Johan

2007/8/21, Samuel Bächler <[EMAIL PROTECTED]>:
>
> > 1) When I start the system, my IP address is 192.168.0.72. If I make
> > a renew of ip address with dhclient, my IP address change
> > 192.168.0.20. If I change again, my IP address stay at 192.168.0.20.
> > Is that possible that at the startup of the computer, the network
> > component just assign a choosen IP without asking the DNS ?
>
> Assume "less /etc/network/interfaces" shows you something where you
> can see...
>
> iface eth0 inet static
>          address 192.168.0.72
>          netmask 255.255.255.0
>          gateway 192.168.0.1
>
> ...which means that whenever your system boots up your computer will
> have 192.168.0.72 as its IP. If you do a "dhclient" as mentioned above
> you probably get a new IP from some DHPC-Server somewhere in your
> network.
> Maybe this is what is going on on your system.
>
> I did not understand what you meant in (2) and (3).
>
> Cheers
>
> Sam
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>

Reply via email to