init-ifupdown: Force manual IP configuration for Openport

Interfaces file from roh, not tested by me.

Fixes: IDU#1491
This commit is contained in:
Holger Hans Peter Freyther 2015-04-15 18:33:17 -04:00
parent 9bd8feb83c
commit e2042ff291
1 changed files with 7 additions and 3 deletions

View File

@ -6,9 +6,13 @@ iface lo inet loopback
# eth0 is attached to the IDU-internal managed switch
# in the future we will use VLANs to use individual switch ports as
# break-out interfaces. For now we simply do DHCP.
iface eth0 inet dhcp
post-up ip r add 10.6.1.0/24 via 192.168.0.1
# break-out interfaces. For now we simply do static config for use with
# the iridium openport satmodem
iface eth0 inet static
address 192.168.0.254
netmask 255.255.255.0
network 192.168.0.0
post-up ip r add 10.6.1.0/24 via 192.168.0.1
#eth1 is our admin interface and will provide dhcp to clients
auto eth1