LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   IPv6 stateless autoconfiguration client (https://www.linuxquestions.org/questions/debian-26/ipv6-stateless-autoconfiguration-client-365604/)

Fonk 09-21-2005 10:08 AM

IPv6 stateless autoconfiguration client
 
Hi!

I'd like to have a debian box configuring its interfaces with the router advertisements from an OpenBSD box running rtadvd. How's the /etc/network/interfaces going to look? I tried

Code:

auto eth0
iface eth0 inet 6

and also

Code:

auto eth0
iface eth0 inet6 static

but debian complains alway about missing option...
man interfaces didn't help either... i just got it managed with
Code:

auto eth0
iface eth0 inet6 static
  address 2001::1
    netmask 64

but I don't need this IPv6 address...

Any hints?

wildcat22 09-21-2005 01:46 PM

I don't know specificially about Debian. But, if you are using the 2.6 kernel, then everything should work automatically. By default, linux uses Stateless Address Autoconfiguration.

I guess I'm not sure why you want to do anything with /etc/network/interfaces ?

You shouldn't have to configure anything is my point, that's the beauty of IPv6 - it *should* just work.
And with the 2.6 kernel, it definetly just works, it is being used in conformance testing for companies just getting their v6 stacks off the ground.

Like I said, I don't know about debian, those results may differ.

-wc

Fonk 09-22-2005 01:33 AM

If I set the interface up with "ifconfig eth0 up" it _is_ autoconfigured.... debian just don't want to set it "up" automatically on boot without giving it an ip address... that's the point!


All times are GMT -5. The time now is 07:48 PM.