can't make ipv4 dhcp and ipv6 static both exist

Neil Watson tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q at public.gmane.org
Thu Oct 31 01:56:14 UTC 2013


Greetings,

On a debian laptop I have the following interfaces file. For some reason the
IPV6 address will not set. Why?

auto lo br0
iface lo inet loopback
iface lo inet6 loopback

allow-hotplug br0 wlan0

iface br0 inet dhcp
         bridge_ports eth0
         bridge_stop off
         bridge_fd 0
         bridge_maxwait 0

iface br0 inet6 static
         address 2001:470:1d:a2f::4
         netmask 64
         gateway 2001:470:1d:a2f::1


root at neptune:/etc/network# ifconfig
br0       Link encap:Ethernet  HWaddr f0:de:f1:d8:0d:87 
           inet addr:172.16.100.19  Bcast:172.16.100.255  Mask:255.255.255.0
           inet6 addr: fe80::f2de:f1ff:fed8:d87/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:1965 errors:0 dropped:0 overruns:0 frame:0
           TX packets:1647 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:1511472 (1.4 MiB)  TX bytes:217730 (212.6 KiB)

eth0      Link encap:Ethernet  HWaddr f0:de:f1:d8:0d:87 
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:7437 errors:0 dropped:0 overruns:0 frame:0
           TX packets:4924 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:7126724 (6.7 MiB)  TX bytes:650467 (635.2 KiB)
           Interrupt:20 Memory:f2500000-f2520000

lo        Link encap:Local Loopback 
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:65536  Metric:1
           RX packets:10 errors:0 dropped:0 overruns:0 frame:0
           TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:1380 (1.3 KiB)  TX bytes:1380 (1.3 KiB)

-- 
Neil Watson
Linux/UNIX Consultant
http://watson-wilson.ca
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list