[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

link local gateway and ifup/interfaces



I wonder wether there is not an issue with gateway on link local addresses.

In my /etc/network/interfaces I have for example:
auto eth7
iface eth7 inet6 static
	address 2001:688:1f9c:9771::1
	netmask 64
	gateway fe80::290:6900:02c3:145d

when I do for exemple an ifup eth7 I get:
SIOCADDRT: Invalid argument

in the same way if I add the gateway with my hands:
route -A inet6 add default gw fe80::290:6900:02c3:145d
results in 
SIOCADDRT: Invalid argument
but
route -A inet6 add default gw fe80::290:6900:02c3:145d dev eth7
works.

So, it looks to me that ifup just forgets to give the interface name to
the route command...
-- 
  Ronan KERYELL               |\/  Tel:    (+33|0) 2.29.00.14.15
  Labo Informatique & Télécom |/)  Fax:    (+33|0) 2.29.00.12.82
  ENST Bretagne, CS 83818     K    GSM:    (+33|0) 6.13.14.37.66
  F-29238 PLOUZANÉ CEDEX      |\   E-mail: rk@enstb.org
  FRANCE                      | \  http://www.lit.enstb.org/~keryell



Reply to: