>> Would you mind to post your entire /etc/network/interfaces file, also
>> the contents of
>
> Sure, but tonight (I am at work now, the box is at home.
>
>> /etc/network/if-up.d
>> /etc/network/if-pre-up.d
>>
>> cheers
>>
>> ET
OK Erich
Interfaces eth1 & eth2 work fine
output of 'ip a' is:
ip a
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0d:b9:00:d9:64 brd ff:ff:ff:ff:ff:ff
4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0d:b9:00:d9:65 brd ff:ff:ff:ff:ff:ff
inet 192.168.42.254/24 brd 192.168.42.255 scope global eth1
5: eth2: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0d:b9:00:d9:66 brd ff:ff:ff:ff:ff:ff
inet 172.21.42.254/24 brd 172.21.42.255 scope global eth2
=============================/etc/network/interfaces====================
cat interfaces
# /etc/network/interfaces -- configuration file for LEAF network
#
# Loopback interface.
auto lo
iface lo inet loopback
# Step 1: configure external interface
# uncomment/adjust one of the following 4 options
# Option 1.1 (default): eth0 / dynamic IP from pump/dhclient
#auto eth0
#iface eth0 inet dhcp
#
# Option 1.2: eth0 / Fixed IP (assumed to be 1.2.3.4).
# (broadcast/gateway optional)
auto eth0
iface eth0 inet static
address 192.168.142.1
netmask 255.255.255.0
broadcast 192.168.142.255
gateway 192.168.142.200
# Option 1.3: PPP/PPPOE (modem connected to eth0)
#auto ppp0
#iface ppp0 inet ppp
# pre-up ip link set eth0 up
# provider dsl-provider eth0
# Option 1.4: PPP modem
#auto ppp0
#iface ppp0 inet ppp
# provider provider
# Step 2: configure internal interface
# Default: eth1 / fixed IP = 192.168.1.254
auto eth1
iface eth1 inet static
address 192.168.42.254
netmask 255.255.255.0
broadcast 192.168.42.255
# Step 3 (optional): configure DMZ
# Default: eth2 / fixed IP = 192.168.1.100
auto eth2
iface eth2 inet static
address 172.21.42.254
netmask 255.255.255.0
broadcast 172.21.42.255
# Subnet zone mila (172.21.50.0/24), routed through mila (172.21.42.20).
up ip route add 172.21.50.0/24 via 172.21.42.20 dev eth2 || true
# Step 4 (optional): configure a bridge
#auto br0
#iface br0 inet static
# address 192.168.1.254
# netmask 255.255.255.0
# broadcast 192.168.1.255
# bridge_ports all
# Step 5 (optional): configure ipv6
#iface eth1 inet6 static
# address fec0:2::1
# netmask 64
# Step 6 (optional): configure v4tunnel
#auto tun6to4
#iface tun6to4 inet6 v4tunnel
# address 3ffe:8280:0:2001::2
# netmask 64
# gateway 3ffe:8280:0:2001::1
# endpoint 202.143.23.6
# ttl 254
=============================END====================
/etc/network/if-up.d has only openvpn init the contents are:
===================/etc/network/interfaces/openvpn====================
cat openvpn
#!/bin/sh
OPENVPN=/etc/init.d/openvpn
if [ ! -x $OPENVPN ]; then
exit 0
fi
if [ -n "$IF_OPENVPN" ]; then
$OPENVPN start $IF_OPENVPN
fi
============================END====================
and /etc/init.d/openvpn does not exist (removed)
/etc/network/if-pre-up.d is empty
Cheers,
Bob
--
The Sun is out, the sky is blue, it's time to drive the MR2.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/