David Baron wrote: > Somehow, the scripts in the if-up.d, if-down.d directories are net being > executed. Very unexpected. > I have a farely standard interfaces for a router. What am I missing? > > # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) > > # The loopback interface > # automatically added when upgrading > iface lo inet loopback In addition to the above there should be a line for the loopback driver like this one: auto lo They usually appear like this: auto lo iface lo inet loopback > iface eth2 inet static > address 10.100.101.101 > netmask 255.255.255.0 > network 10.100.101.0 > broadcast 10.100.101.255 > gateway 10.100.101.1 You have a very common but undesired inclusion of both netmask and broadcast and network. This is due to the documentation including all as an example and then many people followed the example. This has gotten cleaned up most places but the cleanup is continuing. The program can calculate the broadcast and network from the netmask. The netmask is the most desirable source for all of the rest and it would be very unusual to need to include all three. It is much more desired to list only netmask in the file and let the program calculate the rest because it eliminates a source of human data entry error. Then at the minimum you want 'allow-hotplug eth2' on the interface too. Additionally 'auto eth2' is also useful for old timers such as myself that want to have the network cycle when running 'service networking restart'. auto eth2 allow-hotplug eth2 iface eth2 inet static address 10.100.101.101 netmask 255.255.255.0 gateway 10.100.101.1 I think that the missing 'allow-hotplug eth2' line might be your problem with scripts. Because it was probably more than simply scripts that was not being configured. The above is documented here: http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_basic_syntax_of_etc_network_interfaces And here: http://wiki.debian.org/NetworkConfiguration Bob
Attachment:
signature.asc
Description: Digital signature